Skip to main content

simple-skill-manager

Keep your opencode Agent Skills in a private folder, then link or copy the ones a project needs — without hand-managing symlinks.

The problem it solves: opencode discovers skills from ~/.config/opencode/skills/, ~/.claude/skills/, and ~/.agents/skills/. Loading every skill you own into every session is noise. But copying or linking skills into each project by hand is tedious.

simple-skill-manager keeps your skills in a folder of your choosing (by default ~/skills, which opencode does not discover), lets you browse them, and adds the ones you want to a specific project — as a symlink or a copy.

  • Linux, macOS, and Windows (Windows uses a directory junction when symlinks are unavailable).
  • Runtime dependencies: rich and questionary for the presentation layer (table rendering and the interactive picker). Everything else is Python 3.10+ standard library.
  • Reproducible — the project's selection is recorded in a committed manifest, so simple-skill-manager sync can restore it anywhere.

Install

From PyPI, with pipx:

pipx install simple-skill-manager

or, with uv:

uv tool install simple-skill-manager

Both install the simple-skill-manager command onto your PATH in an isolated environment, so the tool's dependencies never touch your system Python. The shorter skill-manager name is installed as an alias, so either command works.

From a clone of this repository:

git clone https://github.com/tomjanus/skill-manager.git
pipx install ./skill-manager

Later upgrades:

pipx upgrade simple-skill-manager
uv tool upgrade simple-skill-manager

To run it without installing:

PYTHONPATH=src python -m skill_manager --help

To uninstall:

pipx uninstall simple-skill-manager
uv tool uninstall simple-skill-manager

Getting started

1. Initialise the configuration

simple-skill-manager init

This creates:

Path Purpose
~/.config/skill-manager/.env Configuration file (SKILLS_DIR=~/skills)
~/skills Your private skills folder (created if missing)

init is idempotent — run it again any time; existing files are left alone.

2. Put your skills in the source folder

Each skill is a directory containing a SKILL.md with YAML frontmatter. Skills may live at any depth under the source folder; discovery is recursive.

~/skills/
├── matt_pocock/              ← a bundle (often a linked skills repository)
│   └── skills/
│       ├── ask-matt/
│       │   └── SKILL.md
│       └── matt-methods/
│           └── SKILL.md
├── tdd/
│   └── SKILL.md
└── linked-repo/            ← a cloned skills repo linked into this folder
    └── skills/
        ├── skill-one/
        │   └── SKILL.md
        └── skill-two/
            └── SKILL.md

SKILL.md must be in ALL CAPS. The skill name is taken from the frontmatter name field, falling back to the directory name. The name must be lowercase alphanumeric with single hyphens.

~/skills/scientific-python/SKILL.md:

---
name: scientific-python
description: Reliable and reproducible Python scientific computing.
---

Directory symlinks and Windows junctions under the source folder are followed (so a linked skills repo is discovered), with protection against symlink cycles. A bundle is a folder other than the source root that has no SKILL.md at its root and contains at least two distinct skills beneath it. The outermost qualifying folder is used as the bundle; bundles do not nest. A folder with a SKILL.md is an individual skill, not a bundle.

3. Add skills to a project

cd ~/projects/my-project
simple-skill-manager add                 # interactive picker
simple-skill-manager add tdd scientific-python
simple-skill-manager add matt_pocock     # install every skill in the bundle
simple-skill-manager add tdd --copy      # copy instead of linking

add writes into <project root>/.opencode/skills/<name>/, which is where opencode looks for project skills. The project root is the enclosing git worktree, so the command works from any subdirectory.

Installing a bundle installs all its member skills into the project, each under its own name. In the interactive picker, bundle and individual skill choices are both available, so you can install a whole collection or only selected members.

If a skill name exists at multiple source paths, interactive add asks which source to use and shows each candidate's description and bundle. This prompt requires a terminal; a non-interactive add with an unresolved duplicate exits with an error. list and sync continue to choose the newest SKILL.md by mtime.

4. See what you have

simple-skill-manager list

By default list renders each bundle as a group header, with member skills indented underneath:

NAME                      STATUS        MODE  DESCRIPTION
📦 matt_pocock (bundle)   partial       —     bundle of 2 skills
  ├─ ask-matt             installed     link  …
  └─ matt-methods         not-installed —     …
tdd                       installed     link  Test-first…

list --json emits a flat JSON array (one row per skill) for scripting. --available and --installed also use a flat table. In a terminal, statuses and operation messages are colour-coded; colours are automatically omitted when output is piped or captured.

list --verbose additionally reports any doubled skills (the same name defined at multiple source paths), naming the newest SKILL.md that is used and the paths that were ignored.


Commands

simple-skill-manager init

Creates the configuration file and the source skills directory if they do not exist. Safe to re-run.

simple-skill-manager list

Merges three sources of truth — your source folder, the project's .opencode/skills/ folder, and the project manifest — into one table.

Status Meaning
installed Present and matching the source
outdated A copy whose source changed, or a managed link that points to a different duplicate source than the current newest choice
broken A link whose target has disappeared
missing In the manifest, but not in the project folder
missing-source In the project, but gone from the source folder
not-installed Available in the source folder, not in the project
partial A bundle with some, but not all, member skills installed
external In the project folder but not managed by simple-skill-manager (for example opencode's own installer)

Flags: --available (source only), --installed (project only), --json, --verbose.

simple-skill-manager add [NAME ...]

Adds skills to the project.

  • With no names, opens an interactive picker (questionary checkbox list) showing bundles and individual skills. Selecting a bundle installs all its members; selecting member skills installs only those members. Requires a terminal.
  • Links by default, so edits to the source skill are picked up immediately. Use --copy for a frozen snapshot.
  • If the skill is already installed and unchanged, reports already up to date and does nothing.
  • If the source changed, or the link is broken, you are asked before updating. --yes accepts all updates.
  • If the target exists but is not managed by simple-skill-manager, the command refuses to touch it. --force replaces it.
  • Installing a bundle reports a summary after processing its member skills.
  • If a requested skill name has multiple source paths, interactive add prompts for the source; non-interactive add reports an error.
  • --verbose reports duplicate skills (the same name defined at multiple source paths), naming the newest SKILL.md that is used and the paths that were ignored.

Flags: --copy, --force, --yes, --verbose.

simple-skill-manager remove NAME ...

Removes skills from the project folder and from the manifest. You are asked for confirmation unless --yes is given. Skills not managed by simple-skill-manager are only removed with --force.

Flags: --yes, --force.

simple-skill-manager sync

Reconciles the skills already installed in the project with their source. It never adds new skills.

  • A copy whose source changed is updated after confirmation.
  • A missing or broken link is re-created.
  • A skill whose source disappeared is offered for removal.
  • Anything unchanged is reported as up to date.

Flags: --yes, --force.


Configuration

Settings live in ~/.config/skill-manager/.env:

# Where your skills live.
SKILLS_DIR=~/skills

# Optional: override the project target folder.
SKILLS_TARGET_DIR=~/projects/my-project/.opencode/skills

The file is a minimal KEY=VALUE file: # comments and blank lines are ignored, and values may be quoted.

Precedence

Source directory (SKILLS_DIR):

  1. --skills-dir <path> on the command line
  2. SKILLS_DIR in the environment file
  3. ~/skills

Target directory (SKILLS_TARGET_DIR):

  1. --target-dir <path> on the command line
  2. SKILLS_TARGET_DIR in the environment file
  3. <project root>/.opencode/skills

Project root:

  1. --root <path> on the command line
  2. the enclosing git worktree
  3. the current directory

Environment file: --env-file <path>, default ~/.config/skill-manager/.env.

Global flags (--skills-dir, --target-dir, --root, --env-file) may be given before the subcommand:

simple-skill-manager --skills-dir /opt/skills list

The project manifest

Each project records its selection in .skill-manager.json at the project root:

{
  "skills": {
    "scientific-python": {
      "hash": "3f2a…",
      "mode": "link"
    },
    "tdd": {
      "hash": "9b71…",
      "mode": "copy"
    }
  },
  "version": 1
}
  • mode is link or copy.
  • hash is the SHA-256 of the source skill at the time it was added or last updated. It is how sync detects that a source has changed.

This file is intended to be committed — it is what makes a project's skill selection reproducible on another machine:

git clone <repo> && cd <repo>
simple-skill-manager sync

The target folder .opencode/skills/ is a build artefact; it is usually git-ignored.


Windows notes

Windows requires either Administrator rights or Developer Mode to create symbolic links. When os.symlink fails, simple-skill-manager falls back to a directory junction (mklink /J), which needs neither. If even that fails, use --copy.

Junctions are treated exactly like symbolic links: they are detected as links, reported as broken when their source disappears, and removing one never deletes the skill it points at.

Windows paths containing backslashes or spaces are handled correctly in the .env file, but remember that KEY=VALUE splits on the first =, so a value containing = should be quoted.


Development

Requirements

  • Python 3.10 or newer.
  • Runtime dependencies: rich and questionary (declared in pyproject.toml and installed with the package).
  • The test and tooling dependencies are declared as extras in pyproject.toml and installed on demand.

Set up an environment

git clone https://github.com/tomjanus/skill-manager.git
cd skill-manager
python -m venv .venv
source .venv/bin/activate          # Windows: .venv\Scripts\activate
pip install -e ".[dev]"

The extras are:

Extra Contents Install with
test pytest pip install -e ".[test]"
dev pytest, ruff, mypy, build, twine, coverage pip install -e ".[dev]"

Use test when you only want to run the test suite, and dev for the full tooling set.

Run the tests

python -m pytest                      # the whole suite
python -m pytest tests/test_cli.py    # a single file
python -m pytest -k sync              # everything matching a keyword
python -m pytest -q                   # quiet output

The tests are written with unittest, so they also run without installing any third-party package:

python -m unittest discover -s tests -t .

That form still needs the package itself to be importable — use the virtual environment above, or prefix the command with PYTHONPATH=src.

Coverage

coverage run -m pytest
coverage report

Lint, format and type check

ruff check src tests
ruff format --check src tests
mypy

mypy runs in strict mode over src/skill_manager.

Build the distribution

python -m build            # writes dist/*.whl and dist/*.tar.gz
twine check dist/*

twine check validates the metadata and the rendered long description exactly as PyPI will show them.

Continuous integration

.github/workflows/ci.yml runs on every push and pull request:

  • the test suite on Python 3.10 – 3.14 (Linux),
  • the test suite on macOS and Windows,
  • ruff check, ruff format --check and mypy,
  • a distribution build followed by twine check and an install smoke test of the built wheel.

Releasing

Releases are published to PyPI from a GitHub release using trusted publishing — see RELEASING.md.

Layout

src/skill_manager/
├── cli.py          # argument parsing, table output, command dispatch
├── config.py       # env file parsing, path precedence
├── discovery.py    # scanning the source folder, frontmatter, hashing
├── manifest.py     # reading and writing .skill-manager.json
├── operations.py   # init / list / add / remove / sync
├── platform.py     # symlink, junction, copy, remove
├── project.py      # project root discovery, scanning the target folder
└── ui.py           # console interaction (and a fake for tests)

License

MIT — see LICENSE.

Metadata

Release files for simple-skill-manager 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-skill-manager 0.3.0
File Size Uploaded Provenance Actions
simple_skill_manager-0.3.0.tar.gz 35.6 kB With provenance Details for simple_skill_manager-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simple-skill-manager 0.3.0
File Interpreter ABI Platform Actions
simple_skill_manager-0.3.0-py3-none-any.whl Python 3 none any Details for simple_skill_manager-0.3.0-py3-none-any.whl

Total release size: 63.8 kB

Release files / simple_skill_manager-0.3.0.tar.gz

Download URL simple_skill_manager-0.3.0.tar.gz
Size 35.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6365f8c4f1367c7f35b2cf6587a20b5dd6d4d3135d75cce136597e56ea535ffc
BLAKE2b-256 checksum
How to use checksums
97d959edf9a6afd1cd1d4b29f894ab5556b1f7f7c3d151766a215661cdb46201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Release files / simple_skill_manager-0.3.0-py3-none-any.whl

Download URL simple_skill_manager-0.3.0-py3-none-any.whl
Size 28.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e93918248491e842390253a9add24f98b8eb736845e140baa35a8f109cb34f98
BLAKE2b-256 checksum
How to use checksums
a207e5b8b5a9aca0a9c3962d298c03950b688f01e59af6ef50325570f4b156ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

Security for simple-skill-manager 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for simple_skill_manager-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page