Skip to main content

Scan a directory for AI-assistant skills, rules and subagents and copy selected ones into a chosen assistant's folder layout.

Project description

skill-scan-cli

A Typer CLI that scans a directory for AI-assistant artifacts (skills, rules, subagents), caches them, and lets you interactively copy selected ones into a chosen coding assistant's folder layout.

Install / run

This is a uv project.

uv sync
uv run skill-scan --help

Commands

init <target_dir>

Scans target_dir for the config roots .agents/, .cursor/, .claude/, .github/, .codex/ and indexes:

  • Skills: any folder containing SKILL.md (the whole package, including assets/, references/, examples/).
  • Subagents: *.md files directly under an agents/ folder.
  • Rules: *.md / *.mdc under rules/ and (recursively) instructions/ (e.g. .github/instructions/**/*.instructions.md), .github/custom-instructions.md, plus any CLAUDE.md / AGENTS.md memory files anywhere under the target (excluding .git, .venv, node_modules, etc.).

Names and descriptions come from YAML frontmatter (name, description); rules fall back to the filename plus the first few lines. Results are written to .skill-scan-cache.json in the current directory.

uv run skill-scan init /path/to/source

pick-skills / pick-agents / pick-rules

Loads the cache, shows an interactive multi-select (Arrows to move, <Space> to toggle, Enter to confirm), asks which coding assistant to target, and copies the selected artifacts into that assistant's folder.

uv run skill-scan pick-skills                 # copy into ./ (cwd)
uv run skill-scan pick-rules --target ./proj  # copy into another project root
uv run skill-scan pick-agents --assistant .claude --overwrite

Options:

  • --target, -t — project root to copy into (default: cwd).
  • --assistant, -a — skip the assistant prompt (.agents, .claude, .cursor, .codex, .github).
  • --overwrite — overwrite existing destinations (otherwise they are skipped).

Destination mapping

Per-assistant destinations are defined in skill_scan_cli/destinations.py:

Kind Default subfolder
skill <assistant>/skills/<name>/
agent <assistant>/agents/<file>
rule <assistant>/rules/<file> (.github -> instructions/)

These are sensible defaults; edit the tables in destinations.py to match evolving conventions.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skill_scan_cli-0.1.0.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skill_scan_cli-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file skill_scan_cli-0.1.0.tar.gz.

File metadata

  • Download URL: skill_scan_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.13

File hashes

Hashes for skill_scan_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 609ff82ee99bed4de0aa122817c484426c2d0aedac6f464e0291202e3117095e
MD5 843e0cb4289380315e31754958350194
BLAKE2b-256 ee1c2756883b4892a2b75c2185f28e75b0e0f4c2f0c7d3f917eccfe2bd86096b

See more details on using hashes here.

File details

Details for the file skill_scan_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for skill_scan_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c646d577cb02ac1fa72b2b3368b587f4d9492d743e0c9e2eb2861df1bdc634b
MD5 12ab8d2f8e15cb8c39f79e71b2b775a6
BLAKE2b-256 82eef9e3fe4a4a667977ded166a922b8a239ebfc057f7779d2ec52bcca732633

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page