skillmarkdown
v0.16.11
Published
Registry and workspace CLI for authoring, publishing, and installing SKILL.md-based AI skills
Maintainers
Readme
skillmarkdown
npm-like lifecycle for agent skills: create, publish, install, tag, deprecate, and unpublish.
Why skillmd
- Publish and manage versioned agent skills.
- Install directly or from a workspace
skills.json. - Support built-in agent targets plus
custom:<slug>.
Install
npm i -g skillmarkdownOr run one-off commands with:
npx skillmarkdown <command>Quickstart (60 seconds)
# 1) Author a new skill
mkdir my-skill && cd my-skill
skillmd init --template minimal
skillmd validate --strict
# 2) Authenticate and publish
skillmd login
skillmd publish --version 1.0.0 --tag latest --access public
# 3) Discover and inspect
skillmd search
skillmd view @username/my-skill
skillmd history @username/my-skill
# 4) Consume and maintain installs
skillmd use @username/my-skill
skillmd use -g @your-org/internal-skill
skillmd list
skillmd remove @username/my-skill
skillmd update --allWorkspace install (skills.json)
Use skillmd install for declarative, workspace-level installs.
{
"version": 1,
"defaults": {
"agentTarget": "skillmd"
},
"dependencies": {
"@username/research-skill": {
"spec": "latest",
"agentTarget": "claude"
},
"@username/ops-skill": {
"spec": "^1.2.0"
}
}
}# Install all declared dependencies
skillmd install
# Remove undeclared lock/install entries
skillmd install --pruneNotes:
skills.jsonis the declared intent.skills-lock.jsonis CLI-owned resolved state, rewritten after successful installs/updates.skillmd useremains available for one-off installs outside manifest flow.- Use
skillmd use -g <skill-id>for global installs, which is useful for internal/shared skills outside a single workspace. - For the default
skillmdtarget, global installs go under~/.agent/skills/<skill>. - The CLI still keeps auth/session/config and the global lockfile under
~/.skillmd/...; that is metadata, not the installed skill location.
Authentication
skillmd login uses interactive email + password sign-in against Firebase and then validates the registry-backed account profile.
For API-calling commands, auth precedence is:
| Priority | Source | Example |
| -------- | ------------------- | ------------------------------------------------------ |
| 1 | CLI flag | skillmd --auth-token <token> publish --version 1.2.3 |
| 2 | Environment | export SKILLMD_AUTH_TOKEN=<token> |
| 3 | Interactive session | skillmd login |
Token scope model:
read: read endpointspublish: read + publish/tag writesadmin: publish + lifecycle + token management
Organization automation:
- organization access tokens are created from the web organization management page
- use them for org-owned automation with an explicit owner target, for example:
SKILLMD_AUTH_TOKEN=skmd_dev_tok_... skillmd publish --owner facebook --version 1.2.3Commands
- Authoring:
init,validate,publish - Discovery:
search,view,history - Consumption:
use,install,list,remove,update - Release:
tag,deprecate,unpublish - Auth and org:
login,logout,whoami,token,org
Support
- Security policy: SECURITY.md
- Issues: GitHub Issues
License
MIT
