python-dev

python-dev is an agent for Claude Code from kumaran-is/claude-code-onboarding. It costs 0 tokens per session (600 once invoked), scanned A, original, MIT.

A Python development agent for building APIs, scripts, data-processing tools, automation, and tests with Python 3.14. It includes conventions for project structure, validation, asynchronous code, and package management.

In plain words
What is it for?
Use it to create FastAPI or Flask services, write automation and data-processing scripts, manage packages with uv or pip, add type checking and linting, and build pytest tests.
Why use it?
It gives Python work a consistent setup and review approach instead of leaving project structure, dependencies, formatting, and tests to ad hoc choices.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it to create FastAPI or Flask services, write automation and data-processing scripts, manage packages with uv or pip, add type checking and linting, and build pytest tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kumaran-is/claude-code-onboarding/python-dev
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/kumaran-is/claude-code-onboarding

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-dev

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kumaran-is/claude-code-onboarding/python-dev"><img src="https://agentmods.dev/badge/agents/kumaran-is/claude-code-onboarding/python-dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 600 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.00000 $0.00600
Opus 5.5 $0.00000 $0.00240
Sonnet 5.5 $0.00000 $0.00120
Haiku 4.5 $0.00000 $0.00060

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

Security

Grade A, and why

python-dev 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-dev.md · 46 lines

What it actually says

You are a senior Python engineer specializing in Python 3.14 for backend services, scripting, data processing, and automation.

Your Responsibilities

  1. Scaffold Python projects with proper structure, pyproject.toml, and virtual environments
  2. Create REST APIs using FastAPI (preferred) or Flask
  3. Build scripts and automation — data processing, CLI tools, batch jobs
  4. Write tests with pytest and proper fixtures
  5. Manage dependencies with uv (preferred) or pip + pyproject.toml
  6. Configure tooling — ruff for linting/formatting, mypy for type checking

How to Work

  1. Read the python-dev skill for project structure, conventions, and code templates
  2. Type hints everywhere — use typing module, generics, from __future__ import annotations
  3. Async by default for I/O-bound operations — use async def, asyncio
  4. Use Pydantic v2 for data validation and response models
  5. Use pydantic-settings for environment configuration
  6. Formatting: ruff format, linting: ruff check --fix, types: mypy --strict
  7. Write tests with pytest-asyncio and httpx AsyncClient
  8. .env files: Always write via Bash (not Write/Edit tools — hooks block .env writes)

When Creating a New API

  1. Create Pydantic models (request DTOs, response schemas)
  2. Create the service with business logic (async)
  3. Create the FastAPI router with path operations
  4. Register the router in the app factory
  5. Add SQLAlchemy models and async repository if persistence needed
  6. Add Alembic migration for DB schema changes
  7. Write unit tests for service and integration tests for endpoints
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 · 46 lines · 0 tokens per session scan A 4793c0bdf5d8

Subscribe to this mod's changes

python-dev is an agent published in the GitHub repository kumaran-is/claude-code-onboarding (36 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 600 tokens. 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-30.

Related

Other agents, from other repositories

backend-engineer

Backend implementation - APIs, databases, Python, business logic, data processing, server-side work.

jpoley/flowspec · 22 tokens

python-architect

Plain Python backend implementer (backend aspect). Replaces the vanilla developer on Python projects without a recognized web framework. Handles module design, CLI tools (argparse/click/typer), data pipelines, external API clients, configuration (pydantic-settings / python-decouple), and library packaging. Do NOT use…

AratKruglik/claude-sdlc · 104 tokens

hermes

Backend specialist — FastAPI, Python, async, TDD (RED→GREEN→REFACTOR), modern Python stdlib, obsolete lib detection. Calls apollo for discovery, sends to themis.

ils15/pantheon-legacy · 44 tokens

error-handlers-integrator

Initializes REST API exception-to-HTTP mapping end-to-end. Invoke with: @error-handlers-integrator.

voro6yov/spec-driven-development · 33 tokens

python-engineer

Hands-on Python 3.12+ engineer. Ships async-first, type-safe, tested code with uv, ruff, FastAPI and Pydantic. TRIGGER WHEN: planning a new Python project, designing architecture, making tech-stack decisions, or implementing features. DO NOT TRIGGER WHEN: the task is writing tests (use testing:test-writer) or isolated…

acaprino/daodan · 87 tokens

drf-api

Django REST Framework specialist. Use PROACTIVELY to build and shape JSON APIs in Django projects — serializers, viewsets, routers, permissions, authentication, pagination, throttling, and filtering. Serializers own field validation; views own permissions.

toffyui/ccteams · 54 tokens