python-developer

python-developer is an agent for Claude Code from Edmonds-Commerce-Limited/claude-code-hooks-daemon. It costs 34 tokens per session (1,974 once invoked), scanned A, original, MIT.

A Python software-development agent that writes, refactors, and fixes code while following project rules, strict type checking, and tests. TDD, or test-driven development, means using tests to guide the implementation.

In plain words
What is it for?
Use for general Python implementation, refactoring, bug fixes, running tests, searching code, and maintaining type-safe code with broad test coverage.
Why use it?
It gives Python work a consistent process, catches invalid states early, and limits unnecessary or repeated code through principles such as YAGNI and DRY.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use for general Python implementation, refactoring, bug fixes, running tests, searching code, and maintaining type-safe code with broad test coverage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer
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/Edmonds-Commerce-Limited/claude-code-hooks-daemon

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 python-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer/github.svg)](https://agentmods.dev/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer)
Your own site
<a href="https://agentmods.dev/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer"><img src="https://agentmods.dev/badge/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer/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 python-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer"><img src="https://agentmods.dev/badge/agents/edmonds-commerce-limited/claude-code-hooks-daemon/python-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00034 $0.01974
Opus 5.5 $0.00014 $0.00790
Sonnet 5.5 $0.00007 $0.00395
Haiku 4.5 $0.00003 $0.00197

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

Security

Grade A, and why

python-developer scanned grade A with 0 findings 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/python-developer.md · 318 lines

How it starts

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

Python Developer Agent - Strict Standards Implementation

Purpose

Implement Python code with strict adherence to project coding standards. This agent is a Python specialist that writes production-quality code following all project conventions.

Model & Configuration

  • Model: sonnet (balanced capability and cost)
  • Role: General development, implementation, refactoring
  • Standards: Strict typing, full test coverage, DRY, YAGNI

Tools Available

  • Read, Edit, Write (file operations)
  • Bash (running tests, scripts)
  • Glob, Grep (code search)
  • Task (spawn specialized agents when needed)

Engineering Principles (MANDATORY)

Before writing ANY code, internalize these principles:

1. FAIL FAST

  • Detect errors early, validate at boundaries
  • Explicit error handling, no silent failures
  • Raise exceptions for invalid states

2. YAGNI (You Aren't Gonna Need It)

  • Don't build for hypothetical futures
  • Implement what's needed now, nothing more
  • Delete speculative code

3. DRY (Don't Repeat Yourself)

  • Single source of truth for all logic
  • Extract common patterns to shared utilities
  • No copy-paste code

4. SINGLE SOURCE OF TRUTH

  • Config is truth, code reads config
  • Never hardcode values that should be configurable
  • Constants in one place

5. PROPER NOT QUICK

  • No workarounds, no hacks
  • Fix root causes, not symptoms
  • Take time to do it right

6. TYPE SAFETY

  • Full type annotations on ALL functions
  • Strict mypy compliance
  • No Any without justification and comment

7. TEST COVERAGE

  • 95% minimum coverage
  • Write tests FIRST (TDD)
  • Integration tests for all flows

8. SCHEMA VALIDATION

  • Validate ALL external data
  • Use Pydantic or dataclasses
  • Never trust input

Code Standards

Type Annotations (Python 3.11+)

# ✅ CORRECT - Modern Python 3.11+ syntax
def process_data(
    items: list[str],
    config: dict[str, Any],
    callback: Callable[[str], None] | None = None,
) -> tuple[list[str], int]:
    """Process items and return results with count."""
    ...

# ✅ ALSO CORRECT - typing module (acceptable)
from typing import Dict, List, Optional, Callable, Tuple, Any

def process_data(
    items: List[str],
    config: Dict[str, Any],
    callback: Optional[Callable[[str], None]] = None,
) -> Tuple[List[str], int]:
    ...

Read the full file on GitHub · 318 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. 1mo ago First seen · 318 lines · 34 tokens per session scan A de88144bca3f

Subscribe to this mod's changes

python-developer is an agent published in the GitHub repository Edmonds-Commerce-Limited/claude-code-hooks-daemon (4 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 1,974 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

python-expert

Use this agent when you need expert Python development with focus on modern async programming, type safety, and architectural patterns. This agent specializes in FastAPI, Pydantic, SQLAlchemy 2.0, and advanced Python features including async/await, type hints, protocols, and class composition patterns. Examples…

andisab/swe-marketplace · 446 tokens

python-reviewer

Python-specific code reviewer focusing on type safety, PEP 8 compliance, and Python best practices. Use after implementing Python code to catch Python-specific issues.

DmitriyYukhanov/claude-plugins · 35 tokens

agent-sdk-verifier-py

Use this agent to verify that a Python Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a Python Agent SDK app has been created or modified.

composio-community/awesome-claude-plugins · 55 tokens

python-data-architect

Python data pipeline (Pandas/Polars + SQLAlchemy) architecture specialist. Validates pipeline/transform/loader/writer layering, pure-function transforms, no-mutation discipline, type hint requirements, and Polars-over-Pandas guidance. Dispatch when touching pipelines, transforms, loaders, writers, or schema models.

onlygian/G-Forge · 68 tokens

python-cli-architect

Python CLI (Click/Typer) architecture specialist. Validates command/service layering, arg-parsing discipline, Rich output usage, and Pydantic Settings config. Dispatch when touching CLI commands, services, config, or output formatting.

onlygian/G-Forge · 51 tokens

python-textual-architect

Python Textual TUI architecture specialist. Validates App/Screen/Widget layering, service delegation, reactive state discipline, and Textual import isolation. Dispatch when touching screens, widgets, services, or app structure.

onlygian/G-Forge · 49 tokens