skill
AI Agent Skill Search and Management
Manage Agent Skills (SKILL.md files) across multiple AI coding agents — Claude Code, Cursor, GitHub Copilot, Windsurf, and more.
Install
pip install skill
Quick Start
from skill import search, create, install, validate
# Create a skill locally
skill = create("my-skill", description="My custom coding rules")
# Validate it
issues = validate("/path/to/skill-dir")
# Search for skills
results = search("react best practices", local_only=True)
# Install to an agent target
install("_local/my-skill", agent_targets=["claude-code"], scope="project")
# built-in targets: claude-code, codex, cursor, copilot, gemini, cline, windsurf (all link the SKILL.md folder;
# codex, cursor, copilot, gemini and cline share <project>/.agents/skills, so one install serves them all)
# rules-file translations, if you want them: cursor-rules, copilot-instructions, windsurf-rules, cline-rules, gemini-md
Link skills from a project
If a project ships skills (in .claude/skills/, {pkg}/data/skills/, or a
dedicated folder), you can symlink them all into your agent's skills directory
in one shot:
from skill import link_skills
# Point at a project root — it finds the skills automatically
link_skills("/path/to/my-project")
# Or point at the skills folder directly
link_skills("/path/to/my-project/my_pkg/data/skills")
# Symlink into a specific target instead of ~/.claude/skills
link_skills("/path/to/my-project", target="/other/project/.claude/skills")
Each skill is validated before linking — invalid skills are skipped with a warning. The target directory is also checked to ensure it's a recognized skills directory.
CLI
skill create my-skill --description "My custom coding rules"
skill search "react best practices" --local-only
skill validate ./my-skill/
skill list-skills
skill install _local/my-skill --agent-targets claude-code
skill link-skills /path/to/project
skill link-skills /path/to/project --target ~/.claude/skills --force
Shell completion
Enable tab completion for all skill commands:
skill install-completion
This detects your shell (bash/zsh) and adds the registration line to your
shell config (~/.bashrc or ~/.zshrc). Restart your shell or source the
config file to activate.
If you prefer to set it up manually:
# Add to your shell config:
eval "$(register-python-argcomplete skill)"
The first time you run any skill command without completion set up, you'll
see a one-time hint reminding you to run skill install-completion.
Skills
This package ships agent skills you can install into any agent host with
gh skill (don't have it?
install gh):
gh skill install thorwhalen/skill skill-package-setup --agent claude-code
gh skill install thorwhalen/skill skill-build
gh skill install thorwhalen/skill skill-enable
gh skill install thorwhalen/skill skill-docs
gh skill install thorwhalen/skill skill-manage
gh skill install thorwhalen/skill skill-sync
| Skill | Use it when… |
|---|---|
skill-manage |
searching, listing, inspecting, or installing/uninstalling skills across agents |
skill-enable |
shipping a package's skills via pip install and deciding which to ship |
skill-package-setup |
deciding where a package's skills live and making them gh skill-installable (maintainer) |
skill-build |
authoring skills for a package by analyzing its code, tests, and docs (developer) |
skill-docs |
documenting a project's skills in its README (developer) |
skill-sync |
keeping skills in sync with the source code they document (developer) |
These are dev/maintainer skills, so they're not bundled in the wheel — install
them with gh skill as above. See skill-package-setup for the layout policy
this repo follows (real files in skills/, relative symlinks in .claude/skills/).
Packages can also install their own GitHub-published skills programmatically via
skill.install_from_github(repo, names, agent='claude-code', pin=None),
a thin wrapper over the gh skill CLI (GitHub CLI 2.90 or later). Pass pin='v1.2.0' (a tag or a commit SHA) for a reproducible install that gh skill update leaves alone.
skill does not try to be an installer for every host: gh skill and npx skills cover dozens of hosts, with pinning and lockfiles. What they do not do is check a skill: npx skills add installs a skill whose name is invalid. Run skill validate before either.
Plugin System
skill has a registry-based plugin architecture with four extension points:
| Registry | What it holds | Import |
|---|---|---|
| Agent targets | Where agents expect skills installed | from skill.install import agent_targets |
| Translators | SKILL.md → target format converters | from skill.translate import translators |
| Backends | Remote skill sources for search | from skill.search import backends |
| Validators | Pluggable validation rules | from skill.create import validators |
Register at runtime:
from skill.install import agent_targets, AgentTarget
agent_targets.register(
"my-host",
AgentTarget(
name="my-host",
global_path="{home}/.my-host/skills/{name}",
project_path="{project}/.my-host/skills/{name}",
format="skill.md",
),
)
Or via entry points in your pyproject.toml:
[project.entry-points."skill.agent_targets"]
my-host = "my_package:my_host_target"
See Plugin System Documentation for full details on contracts, interfaces, and built-in registrations.
Metadata
Release files for skill 0.1.23
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 |
|---|---|---|---|---|
| skill-0.1.23.tar.gz | 170.6 kB | Without provenance | Details for skill-0.1.23.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skill-0.1.23-py3-none-any.whl | Python 3 | none | any | Details for skill-0.1.23-py3-none-any.whl |
Total release size: 224.1 kB
Release files / skill-0.1.23.tar.gz
| Download URL | skill-0.1.23.tar.gz |
|---|---|
| Size | 170.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
252e158bbf45036b2057d6c1197ddc45d97c02c09dafe0fe57f44df804f676fa
|
|
BLAKE2b-256 checksum How to use checksums |
17117d0efa274617dcf23d609f112117535ea0ab21331225abf82cc6b22eb41d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / skill-0.1.23-py3-none-any.whl
| Download URL | skill-0.1.23-py3-none-any.whl |
|---|---|
| Size | 53.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
387300011bfdcba30010ac665a4255154ab2d8a3ed03c3295366c5006eb4e0fb
|
|
BLAKE2b-256 checksum How to use checksums |
46c8d90e4424740b62bf3e1c728e9e6c8d4837f9c29111792c628f2db0f0cd45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for skill 0.1.23
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.