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).
- No runtime dependencies — Python 3.10+ standard library only.
- Reproducible — the project's selection is recorded in a committed
manifest, so
simple-skill-manager synccan restore it anywhere.
Install
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/
├── scientific-python/
│ ├── SKILL.md
│ └── references/
└── tdd/
└── SKILL.md
~/skills/scientific-python/SKILL.md:
---
name: scientific-python
description: Reliable and reproducible Python scientific computing.
---
# Scientific Python
...
SKILL.md must be in ALL CAPS. The name field must match the directory
name and be lowercase alphanumeric with single hyphens.
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 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.
4. See what you have
simple-skill-manager list
NAME STATUS MODE DESCRIPTION
scientific-python installed link Reliable and reproducible Python scientific...
tdd outdated copy Test-first implementation and regression...
pdf external — (managed by opencode)
water-distribution not-installed — Water-distribution networks, hydraulics...
list --json emits the same information as JSON for scripting.
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 has changed |
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 |
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.
simple-skill-manager add [NAME ...]
Adds skills to the project.
- With no names, opens an interactive picker (numbers, comma-separated,
or
all). Requires a terminal. - Links by default, so edits to the source skill are picked up
immediately. Use
--copyfor a frozen snapshot. - If the skill is already installed and unchanged, reports
already up to dateand does nothing. - If the source changed, or the link is broken, you are asked before
updating.
--yesaccepts all updates. - If the target exists but is not managed by
simple-skill-manager, the command refuses to touch it.--forcereplaces it.
Flags: --copy, --force, --yes.
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):
--skills-dir <path>on the command lineSKILLS_DIRin the environment file~/skills
Target directory (SKILLS_TARGET_DIR):
--target-dir <path>on the command lineSKILLS_TARGET_DIRin the environment file<project root>/.opencode/skills
Project root:
--root <path>on the command line- the enclosing git worktree
- 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
}
modeislinkorcopy.hashis the SHA-256 of the source skill at the time it was added or last updated. It is howsyncdetects 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.
- No runtime dependencies. The test and tooling dependencies are declared
as extras in
pyproject.tomland 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 --checkandmypy,- a distribution build followed by
twine checkand 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simple_skill_manager-0.1.0.tar.gz | 24.5 kB | With provenance | Details for simple_skill_manager-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simple_skill_manager-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for simple_skill_manager-0.1.0-py3-none-any.whl |
Total release size: 46.0 kB
Release files / simple_skill_manager-0.1.0.tar.gz
| Download URL | simple_skill_manager-0.1.0.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d97abaae9ca3eb05b5d862dee72c6caba35f536ac69d48d719892fd068e1b35d
|
|
BLAKE2b-256 checksum How to use checksums |
708e5a99771e8c52f23a753f3caab0cc9c1f6a294f6c2c03b2c5880a08b0cc5e
|
| 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 Oct 21, 2026.
Transparency logRelease files / simple_skill_manager-0.1.0-py3-none-any.whl
| Download URL | simple_skill_manager-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
777a2140e4a7ed2a016b2a87537ba40d3f1f8f5feeb4701a564b35f88bbc258a
|
|
BLAKE2b-256 checksum How to use checksums |
dd365e7d3befe5952cc3c49996e8f7989eac25a7210fb99eab09397c366cf79a
|
| 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 Oct 21, 2026.
Transparency logSecurity for simple-skill-manager 0.1.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.
Attestation for simple_skill_manager-0.1.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 Oct 21, 2026.
Transparency logA 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.