Skip to main content

The premier agentic skills library for professional AI engineering

Project description

skillsmith

PyPI version License: MIT

One command to make your repo agent-ready.

skillsmith gives AI coding assistants the project context they need to work reliably: structure, rules, state files, and reusable skills. It bootstraps a portable .agent/ workspace, wires platform-specific instruction files, and can expose skills over MCP for on-demand use.

Why skillsmith

Without project structure, agents lose context, repeat mistakes, and drift.

With skillsmith, every repo gets:

  • A standard agent workspace (.agent/)
  • Shared project memory (PROJECT.md, ROADMAP.md, STATE.md)
  • Platform-specific instruction files (Claude, Gemini, Cursor, Windsurf, Copilot)
  • A skill layer for repeatable workflows and better execution quality
  • Optional MCP server for dynamic skill retrieval

Install

pip install skillsmith

For MCP support:

pip install skillsmith[mcp]

60-Second Quick Start

skillsmith init

This scaffolds:

  • AGENTS.md
  • CLAUDE.md, GEMINI.md
  • .cursorrules, .cursor/rules/skillsmith.mdc
  • .windsurfrules
  • .github/copilot-instructions.md
  • .agent/ with state files, guides/plans/workflows, and starter skills

Core Capabilities

1) Project Bootstrapping

skillsmith init
skillsmith init --minimal
skillsmith init --agents-md-only
skillsmith init --all
skillsmith init --category <category>
skillsmith init --tag <tag>

2) Skill Discovery and Management

skillsmith list
skillsmith list --list-categories
skillsmith list --category <category>
skillsmith list --tag <tag>

skillsmith add <skill-name>
skillsmith add <github-directory-url>

skillsmith update
skillsmith update --force

skillsmith lint
skillsmith lint --local
skillsmith lint --spec agentskills

3) Workflow and Health Tooling

skillsmith compose "build a saas mvp"
skillsmith doctor
skillsmith doctor --fix
skillsmith budget

5) Context Management

Save a snapshot of your .agent/ before big changes or long breaks:

skillsmith snapshot                          # save current state
skillsmith snapshot -n "before refactor"    # save with a note
skillsmith snapshot --list                   # list all snapshots
skillsmith snapshot --restore 2026-02-19_10-30-00.zip

Watch for context drift in the background:

skillsmith watch                  # poll every 30s
skillsmith watch --interval 60    # poll every 60s
skillsmith watch --stale-hours 8  # warn after 8h instead of 24h

watch detects:

  • Git branch switches → prompts you to update STATE.md
  • STATE.md staleness → warns when context is older than N hours
  • New or removed skills in .agent/skills/

4) MCP Server

Run via stdio (default):

skillsmith serve

Run via HTTP:

skillsmith serve --transport http --host localhost --port 47731

MCP tools exposed:

  • list_skills
  • get_skill(name)
  • search_skills(query)
  • compose_workflow(goal)

Platform Integration

Claude Code

claude mcp add skillsmith -- skillsmith serve

HTTP mode:

claude mcp add --transport http skillsmith http://localhost:47731/mcp

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "skillsmith": {
      "command": "skillsmith",
      "args": ["serve"]
    }
  }
}

6) Troubleshooting & PATH Help

If the skillsmith command is not found after installation, you can always use the universal python module execution:

python -m skillsmith init

Use the doctor command to check for PATH issues and get automatic fix suggestions:

python -m skillsmith doctor

Current Status

  • Package version: 0.5.2
  • CLI scaffolding and management commands are implemented
  • Universal OS compatibility with python -m skillsmith and doctor PATH detection
  • CLI scaffolding and management commands are implemented
  • Starter lifecycle skills are bundled
  • MCP server is available with optional dependency install
  • Context management: snapshot and watch commands

Development

Run from source:

PYTHONPATH=src python -m skillsmith.cli --help

License

MIT. See LICENSE.

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

skillsmith-0.5.3.tar.gz (24.3 MB view details)

Uploaded Source

Built Distribution

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

skillsmith-0.5.3-py3-none-any.whl (24.2 MB view details)

Uploaded Python 3

File details

Details for the file skillsmith-0.5.3.tar.gz.

File metadata

  • Download URL: skillsmith-0.5.3.tar.gz
  • Upload date:
  • Size: 24.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for skillsmith-0.5.3.tar.gz
Algorithm Hash digest
SHA256 770f02964bbd3b4901d8dae14da38a49998ca48f8051b5d86f06f657363c7243
MD5 9f454016fbbdc6f682dc49c9c03853bf
BLAKE2b-256 b43693037924c150702a3e493bf84a1f456723d339a3e5b422490281e6f7f206

See more details on using hashes here.

File details

Details for the file skillsmith-0.5.3-py3-none-any.whl.

File metadata

  • Download URL: skillsmith-0.5.3-py3-none-any.whl
  • Upload date:
  • Size: 24.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for skillsmith-0.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 032f9b0ea3920664bc5630742d1d9bb6717bd7da9d57bb6ca709b75c285b7437
MD5 62a7d80271cfae98f2d4887c0e58d777
BLAKE2b-256 b36f32824c984e43a727fef5b0b53d310a18ed5b3359868d65c0287ca661d188

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