Python
MadAppGang/claude-code
A skill your agent uses when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.
Modern Python coaching covering language foundations through advanced production patterns.
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skill --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mastering-python-skill .claude/skills/mastering-python-skill && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .claude/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skillType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skill --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/mastering-python-skill .agents/skills/mastering-python-skill && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .agents/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skill --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/mastering-python-skill .cursor/skills/mastering-python-skill && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .cursor/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/SpillwaveSolutions/agent-brain.git --path .claude/skills/mastering-python-skill--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skill --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/mastering-python-skill .gemini/skills/mastering-python-skill && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .gemini/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skillInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/mastering-python-skill .github/skills/mastering-python-skill && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .github/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install SpillwaveSolutions/agent-brain mastering-python-skill --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/mastering-python-skill .opencode/skills/mastering-python-skill && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mastering-python-skill" agent skill from https://github.com/SpillwaveSolutions/agent-brain/tree/main/.claude/skills/mastering-python-skill into .opencode/skills/mastering-python-skill/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mastering-python-skill", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mastering-python-skillModern Python coaching covering language foundations through advanced production patterns.
Mastering Python Skill is an agent skill from SpillwaveSolutions/agent-brain. Modern Python coaching covering language foundations through advanced production patterns. Use when asked to "write Python code", "explain Python concepts", "set up a Python project", "configure Poetry or PDM", "write pytest tests", "create a FastAPI endpoint", "run uvicorn server", "configure alembic migrations", "set up logging", "process data with pandas", or "debug Python errors". Triggers on "Python best practices", "type hints", "async Python", "packaging", "virtual environments", "Pydantic validation"…
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 36 other files, including reference files (for example `.skilz-manifest.yaml`, `TOC.md` and `references/foundations/code-quality.md`).
It sits in Development, covering Backend development, Type safety and Unit testing. It works with Python, pytest, FastAPI and pandas. The repository describes itself as: Local-first RAG memory for AI agents: hybrid + GraphRAG search, MCP server with OAuth 2.1, plugin for Claude Code / OpenCode / Codex. The licence is MIT.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 8339623. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadWriteBashEditGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonruffpoetrymypypytestFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
httpbin.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mastering Python Skill loads about 1.4k tokens when it runs, and up to ~111k if it reads all its reference files. Until then it costs about 146 tokens; SKILL.md has 238 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
i/config_loader.py) | Pydantic settings, .env files, validation | [pydantic-validation.md](references/web-apis/pydantic-allowed-tools: Read, Write, Bash, Edit, Glob, GrepAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from SpillwaveSolutions/agent-brain at commit 8339623, republished under its MIT licence (© SpillwaveSolutions). 238 words, ~1,422 tokens.
.claude/skills/mastering-python-skill/SKILL.md (or your agent's skills folder). This skill also uses 31 other files; get the full folder from GitHub.Production-ready Python patterns with runnable code examples.
Verify Python version
python --version # Require 3.10+, prefer 3.12+Create and activate virtual environment
python -m venv .venv && source .venv/bin/activateInstall dependencies
poetry install # or: pip install -r requirements.txtReference appropriate patterns:
Follow project structure from project-structure.md
Run quality checks
ruff check . && ruff format --check .
mypy src/Run tests with coverage
pytest -v --cov=src --cov-report=term-missingBuild and verify package
python -m build && twine check dist/*Deploy per docker-deployment.md or ci-cd-pipelines.md
Pre-Completion Checklist:
- [ ] All tests pass
- [ ] mypy reports no errors
- [ ] ruff check clean
- [ ] Coverage ≥80%
- [ ] No security warnings in dependencies| Category | Files | Key Topics |
|---|---|---|
| Foundations | syntax-essentials, type-systems, project-structure, code-quality | Variables, type hints, generics, src layout, ruff, mypy |
| Patterns | async-programming, error-handling, decorators, context-managers, generators | async/await, exceptions, Result type, with statements, yield |
| Testing | pytest-essentials, mocking-strategies, property-testing | Fixtures, parametrize, unittest.mock, Hypothesis |
| Web APIs | fastapi-patterns, pydantic-validation, database-access | Dependencies, middleware, validators, SQLAlchemy async |
| Packaging | poetry-workflow, pyproject-config, docker-deployment | Lock files, PEP 621, multi-stage builds |
| Production | ci-cd-pipelines, monitoring, security | GitHub Actions, OpenTelemetry, OWASP, JWT |
See TOC.md for detailed topic lookup.
Runnable examples demonstrating production patterns:
| Tool | Demonstrates | Reference |
|---|---|---|
| async_fetcher.py | Async HTTP, rate limiting, error handling | async-programming.md |
| config_loader.py | Pydantic settings, .env files, validation | pydantic-validation.md |
| db_cli.py | SQLAlchemy async CRUD, repository pattern | database-access.md |
| code_validator.py | Run→check→fix with ruff and mypy | code-quality.md |
# Test examples
python sample-cli/async_fetcher.py https://httpbin.org/get
python sample-cli/config_loader.py --show-env
python sample-cli/db_cli.py init --sample-data && python sample-cli/db_cli.py list
python sample-cli/code_validator.py src/© SpillwaveSolutions, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 31 other files (references) in .claude/skills/mastering-python-skill of SpillwaveSolutions/agent-brain.
Open the folder on GitHubat commit 8339623
Mastering Python Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mastering Python Skill this skillSpillwaveSolutions/agent-brain | 120 | — | ~1.4k | Automated safety check: Notes | MIT | |
| PythonMadAppGang/claude-code | 283 | — | ~2.8k | Automated safety check: Notes | MIT | |
| Fastapi Endpointdavila7/claude-code-templates | 32k | — | ~3.9k | Automated safety check: Pass | MIT | |
| Python Rulessoftspark/ai-toolkit | 179 | — | ~2.9k | Automated safety check: Pass | Apache-2.0 | |
| Fastapi Appccplugins/awesome-claude-code-plugins | 967 | — | ~1.1k | Automated safety check: Notes | Apache-2.0 | |
| FastAPI ExpertJeffallan/claude-skills | 12k | — | ~1.8k | Automated safety check: Pass | MIT |
MadAppGang/claude-code
A skill your agent uses when building FastAPI applications, implementing async endpoints, setting up Pydantic schemas, working with SQLAlchemy, or writing pytest tests for Python backend services.
davila7/claude-code-templates
Plan and build production-ready FastAPI endpoints with async SQLAlchemy, Pydantic v2 models, dependency injection for auth, and pytest tests.
softspark/ai-toolkit
Python coding rules: style, patterns, security, testing. An agent skill from softspark/ai-toolkit.
ccplugins/awesome-claude-code-plugins
Bootstrap a new FastAPI backend with async SQLAlchemy 2.0, asyncpg, Alembic, Pydantic v2, and no deprecated APIs.
Jeffallan/claude-skills
Builds async Python APIs with FastAPI and Pydantic V2, covering endpoints, JWT authentication, async SQLAlchemy, WebSockets and pytest checks against the OpenAPI docs.
Edwardvaneechoud/Flowfile
Symptom-to-cause triage playbook for Flowfile (core/worker/kernel/frontend/AI) — covers "no such table" DB cascades (two distinct causes), import-time Alembic migration corruption, silent…
SpillwaveSolutions/agent-brain
Archive completed milestone and prepare for next version. An agent skill from SpillwaveSolutions/agent-brain.
SpillwaveSolutions/agent-brain
Systematic debugging with persistent state across context resets
SpillwaveSolutions/agent-brain
Review and promote backlog items to active milestone. An agent skill from SpillwaveSolutions/agent-brain.
SpillwaveSolutions/agent-brain
Installation and configuration skill for Agent Brain document search system.
SpillwaveSolutions/agent-brain
Manage persistent context threads for cross-session work. An agent skill from SpillwaveSolutions/agent-brain.
SpillwaveSolutions/agent-brain
Capture a forward-looking idea with trigger conditions — surfaces automatically at the right milestone
Categories
Modern Python coaching covering language foundations through advanced production patterns. Mastering Python Skill is an agent skill from SpillwaveSolutions/agent-brain. Modern Python coaching covering language foundations through advanced production patterns.
Mastering Python Skill fits situations like: asked to write Python code; explain Python concepts; set up a Python project; configure Poetry.
Run `npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a claude-code`. Or copy the skill folder (.claude/skills/mastering-python-skill in SpillwaveSolutions/agent-brain) into .claude/skills/mastering-python-skill in your project. Claude Code loads it when a task matches its description.
Run `npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a codex`. Or copy the skill folder (.claude/skills/mastering-python-skill in SpillwaveSolutions/agent-brain) into .agents/skills/mastering-python-skill in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SpillwaveSolutions/agent-brain --skill mastering-python-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mastering-python-skill, .gemini/skills/mastering-python-skill, .github/skills/mastering-python-skill and .opencode/skills/mastering-python-skill in your project.
Going by SKILL.md and its folder, Mastering Python Skill needs the command-line tools its instructions call (python, ruff, poetry, mypy and pytest). Our summary lists: Python 3; Docker. Its frontmatter pre-approves these tools: Read, Write, Bash, Edit, Glob, Grep.
SKILL.md names 1 domain. In commands or code: httpbin.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file; pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Mastering Python Skill is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 109k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Mastering Python Skill: Python (MadAppGang/claude-code, 283 stars), Fastapi Endpoint (davila7/claude-code-templates, 32k stars), Python Rules (softspark/ai-toolkit, 179 stars) and Fastapi App (ccplugins/awesome-claude-code-plugins, 967 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
SpillwaveSolutions (a GitHub organization) maintains it in SpillwaveSolutions/agent-brain, which has 120 GitHub stars. The repository holds 55 skills in this directory. The repository was last updated on September 19, 2026.
Source: SpillwaveSolutions/agent-brain on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.