A Claude Code marketplace providing specialized skills for working with the CPython repository - the reference implementation of the Python programming language.
This marketplace hosts Claude Code plugins with AI-agent skills for CPython development. Currently includes one comprehensive plugin with multiple skills providing deep knowledge about CPython's codebase structure, build system, testing infrastructure, and coding standards.
If you previously installed cpython-skills, it has been renamed to cpython for cleaner invocation:
/plugin uninstall cpython-skills
/plugin install cpython
Skills are now invoked as cpython:dev, cpython:build, etc. instead of cpython-skills:cpython-*.
To use these skills in Claude Code within a CPython repository checkout:
-
Add the marketplace:
/plugin marketplace add gpshead/cpython-skills -
Install the plugin:
/plugin install cpython -
In your CPython repository, ask Claude:
write a CLAUDE.local.md that instructs you to load and use all of the cpython plugin skills in this repo.
Name: cpython
Description: Skills for working with the CPython repository - helping with building, testing, and contributing to Python's implementation
This plugin provides four specialized skills with a meta-skill that coordinates loading:
When to use: Starting any CPython development task - fixing bugs, adding features, understanding code
Provides:
- Codebase orientation and source code structure
- Workflow coordination - guides you to load other skills as needed
- Recommended tools (
rg,gh,jq) - Engineering notebook management for PRs and branches
- Scratch space usage
When to use: Compiling CPython, running tests, verifying changes work, debugging test failures
Includes:
- Build directory setup with ccache support
- Platform-specific configuration (Linux, macOS, Windows)
- Argument Clinic code generation
- Build verification and troubleshooting
- unittest-based testing (not pytest!)
- Using
--matchfor test filtering (not-k!) - Code coverage collection
- Interactive debugging with tmux
When to use: Preparing commits, running pre-commit hooks, validating changes
Covers:
- PEP 7 (C code) and PEP 8 (Python code) compliance
- Trailing whitespace and file ending rules
- Type annotation policy (no annotations in Lib/!)
- Pre-commit hooks and patchcheck
When to use: Editing documentation in Doc/, adding version markers, creating NEWS entries
Covers:
- Documentation in ReST format in Doc/ tree
- Documentation tooling setup and validation
- Version markers (always use
next) - NEWS file entries for bug fixes and features
These tools improve the agentic development experience: rg, gh, jq
cpython-skills/
├── .claude-plugin/
│ └── marketplace.json # Marketplace manifest
├── plugins/
│ └── cpython-skills/ # CPython skills plugin
│ ├── plugin.json # Plugin manifest
│ └── skills/ # Individual skills
│ ├── dev/ # Entry point + codebase orientation
│ │ └── SKILL.md
│ ├── build/ # Building and testing
│ │ └── SKILL.md
│ ├── style/ # Code style and validation
│ │ └── SKILL.md
│ └── docs/ # Documentation
│ └── SKILL.md
├── LICENSE
└── README.md # This file
To add a new plugin to this marketplace:
- Create a new directory under
plugins/with your plugin name - Add your plugin files (skills, commands, agents, etc.)
- Create a
plugin.jsonmanifest in your plugin directory - Update
.claude-plugin/marketplace.jsonto include your plugin entry
Example marketplace.json plugin entry:
{
"name": "your-plugin-name",
"source": "./plugins/your-plugin-name",
"description": "Brief description of what your plugin does"
}This marketplace follows the Claude Skills specification, making plugins usable by any AI agent that supports this format.
Each skill is a self-contained directory with a SKILL.md file containing:
- YAML frontmatter with
nameanddescription - Markdown content with detailed instructions
When working with CPython, the AI agent will:
- Load
devwhen starting work in the repo - provides orientation and workflow guidance - Load
buildwhen you need to compile or run tests - thedevskill prompts this - Load
stylewhen preparing commits - thedevskill prompts this - Load
docswhen updating documentation - thedevskill prompts this
The dev skill acts as a coordinator, explicitly guiding the agent to load specialized skills as your workflow progresses.
This marketplace was created from the original CPython skills plugin, which was converted from the cpython/CLAUDE.local.md file. The marketplace-based approach provides:
- Modularity: Each skill focuses on a specific domain
- Discoverability: AI agents can find relevant skills based on task descriptions
- Reusability: Skills can be used independently or together
- Extensibility: Easy to add new plugins to the marketplace
- Interoperability: Works with any agent supporting Claude Skills format
CC0 1.0 Universal