Skills
Skills are self-contained packages that extend the CMDOP agent with new capabilities. A skill is a Python or Node package with a system prompt (skill.md), runtime code, and dependencies. Skills are distributed via PyPI/npm and the CMDOP marketplace, installed with one command, and run in isolated environments.
This doc vs marketplace vs authoring
Here (/docs/skills) | How the agent runtime discovers skills, merges skill.md into the prompt, and runs commands. |
| Skills marketplace | Browse and install published skills (catalog, not the runtime internals). |
| cmdop-skill | Build and publish skills (scaffold, tests, PyPI, marketplace release). |
What is a skill?
A skill is a directory containing at minimum a skill.md file β a markdown document with YAML frontmatter that tells the agent what the skill does and how to use it. Package skills add runtime code (Python/Node), dependencies, and CLI commands on top of that.
my-skill/
βββ skill.md # System prompt + metadata
βββ pyproject.toml # Package metadata, dependencies
βββ src/my_skill/
β βββ __init__.py
β βββ _skill.py # CLI commands
βββ tests/
β βββ test_my_skill.py
βββ MakefileHow does the agent use skills?
-
The agent loads all available skills from three sources (in priority order):
- Workspace β
.cmdop/skills/in the current directory (highest priority) - Global β
~/.cmdop/skills/(marketplace-installed) - Builtin β embedded in the binary
- Workspace β
-
Each skillβs
skill.mdbecomes part of the agentβs system prompt -
The agent runs skill commands via CLI (
python -m my_skill check github.com) -
Dependencies are auto-installed in isolated virtual environments
What can skills do?
Scaffold a new skill in 30 seconds with the SDK wizard
YAML frontmatter reference: name, model, requires, runtime
Define CLI commands with @skill.command and Arg()
Test skills with TestClient and pytest
Release to PyPI and the CMDOP marketplace
Install, uninstall, and manage skills
Add visual dashboards to data-oriented skills
Types, models, errors, and function style
Quick start
pip install cmdop-skill
cmdop-skill initThe wizard creates a complete skill project. Then:
cd my-skill
pip install -e '.[dev]'
make test
make install-skill # symlink into ~/.cmdop/skills/
make release # bump + PyPI + CMDOP marketplace