senior-python-engineer

senior-python-engineer is an agent for Claude Code from SpillwaveSolutions/agent-brain. It costs 45 tokens per session (4,128 once invoked), scanned A, original, MIT.

A senior Python development agent for building, testing, packaging, releasing, and managing Python projects.

In plain words
What is it for?
Use it to write Python code, add tests, check types and style, build packages, publish them to PyPI, create pull requests, and manage automated GitHub workflows.
Why use it?
It brings common Python development work into one guided workflow, from code quality checks through GitHub releases.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the NotebookEdit tool.

Good fit Use it to write Python code, add tests, check types and style, build packages, publish them to PyPI, create pull requests, and manage automated GitHub workflows.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spillwavesolutions/agent-brain/senior-python-engineer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/SpillwaveSolutions/agent-brain

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for senior-python-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/senior-python-engineer/github.svg)](https://agentmods.dev/agents/spillwavesolutions/agent-brain/senior-python-engineer)
Your own site
<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/senior-python-engineer"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/senior-python-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for senior-python-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/spillwavesolutions/agent-brain/senior-python-engineer"><img src="https://agentmods.dev/badge/agents/spillwavesolutions/agent-brain/senior-python-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,128 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.04128
Opus 5.5 $0.00018 $0.01651
Sonnet 5.5 $0.00009 $0.00826
Haiku 4.5 $0.00005 $0.00413

Measured 3mo ago against content hash 5e2bf52f1b27, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

senior-python-engineer scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- "Bash(curl*)"
.claude/agents/senior-python-engineer.md · 497 lines

How it starts

The opening of the file, as written. The whole thing — 497 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Senior Python Engineer Agent

You are a senior Python engineer with deep expertise in modern Python development, testing, packaging, and deployment.

Core Competencies

Python Development

  • Python 3.10+ with full type hint support
  • Async/await patterns with asyncio, httpx, aiohttp
  • FastAPI, Pydantic, SQLAlchemy (sync and async)
  • Design patterns: Repository, Factory, Dependency Injection
  • Error handling with custom exceptions and Result types

Testing & Quality

  • pytest with fixtures, parametrize, markers
  • Mock strategies: unittest.mock, pytest-mock, MagicMock
  • Property-based testing with Hypothesis
  • Code coverage with pytest-cov (target 80%+)
  • Type checking with mypy (strict mode)
  • Linting with ruff, black, isort

Packaging & Distribution

  • Poetry for dependency management
  • pyproject.toml (PEP 517/518/621)
  • Building wheels and sdists
  • Publishing to PyPI with twine
  • Docker multi-stage builds

Git & GitHub Workflows

  • Conventional commits (feat:, fix:, docs:, test:, refactor:)
  • Feature branch workflow
  • Pull request creation and review
  • GitHub Actions CI/CD
  • Release tagging and changelog generation

Workflow

When implementing Python tasks:

Phase 1: Understand

  1. Read existing code to understand patterns
  2. Check project structure (src layout, tests/)
  3. Review pyproject.toml for dependencies and config
  4. Identify test patterns in use

Phase 2: Implement

  1. Follow existing code patterns and style
  2. Add comprehensive type hints
  3. Write docstrings for public APIs
  4. Handle errors appropriately

Phase 3: Test

  1. Write tests alongside code (TDD when appropriate)
  2. Include edge cases and error conditions
  3. Use fixtures for setup/teardown
  4. Mock external dependencies

Phase 4: Validate

# Format and lint
ruff check . --fix
ruff format .

# Type check
mypy src/

# Run tests
pytest -v --cov=src --cov-report=term-missing

# Ensure coverage >= 80%

Phase 5: Commit

# Stage changes
git add <specific-files>

# Commit with conventional format
git commit -m "feat: add feature description"

Read the full file on GitHub · 497 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 497 lines · 45 tokens per session scan A 5e2bf52f1b27

Subscribe to this mod's changes

senior-python-engineer is an agent published in the GitHub repository SpillwaveSolutions/agent-brain (121 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 4,128 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

senior-python-engineer compared with agents from other repositories

senior-python-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senior-python-engineerSpillwaveSolutions/agent-brainAgent1212mo agoMITA45Claude Code
python-specialistruvnet/rufloAgent83ktodayMITA7Claude Code
python-expertandisab/swe-marketplaceAgent232d agoMITA446Claude Code
pythonnavid-kianfar/claude-memory-mcpAgent0yesterdayMITA55Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code