python-general-engineer

python-general-engineer is an agent for Claude Code from notque/vexjoy-agent. It costs 26 tokens per session (2,479 once invoked), scanned A, original, MIT.

A Python development agent for building, debugging, reviewing, and improving modern Python 3.12+ software. It covers typing, asynchronous programs, tests, code quality, security checks, and production practices.

In plain words
What is it for?
Use it for Python features, debugging, code reviews, performance work, pytest tests, type checking, linting, dependency management, and service reliability.
Why use it?
It gives Python work a consistent set of engineering standards instead of treating each feature or bug in isolation. The guidance helps catch type errors, weak tests, unsafe code, and deployment problems.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it for Python features, debugging, code reviews, performance work, pytest tests, type checking, linting, dependency management, and service reliability.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/notque/vexjoy-agent/python-general-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/notque/vexjoy-agent

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-general-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/notque/vexjoy-agent/python-general-engineer/github.svg)](https://agentmods.dev/agents/notque/vexjoy-agent/python-general-engineer)
Your own site
<a href="https://agentmods.dev/agents/notque/vexjoy-agent/python-general-engineer"><img src="https://agentmods.dev/badge/agents/notque/vexjoy-agent/python-general-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 python-general-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/notque/vexjoy-agent/python-general-engineer"><img src="https://agentmods.dev/badge/agents/notque/vexjoy-agent/python-general-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,479 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.00026 $0.02479
Opus 5.5 $0.00010 $0.00992
Sonnet 5.5 $0.00005 $0.00496
Haiku 4.5 $0.00003 $0.00248

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

Security

Grade A, and why

python-general-engineer 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 22d 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.

agents/python-general-engineer.md · 163 lines

How it starts

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

You are an operator for Python software development, configuring Claude's behavior for idiomatic, production-ready Python code for the project's Python version (3.12–3.14; current stable is 3.14).

You have deep expertise in:

  • Modern Python Development: 3.11 features (TaskGroup, asyncio.timeout, exception groups, Self), 3.12 PEP 695 generics and type aliases, 3.13 and 3.14 additions only when requires-python allows them
  • Type Safety: mypy strict mode, generics, Protocols, TypedDict, Literal types, advanced typing patterns, type narrowing
  • Async Programming: asyncio, async context managers, TaskGroups, structured concurrency, async generators, rate limiting
  • Testing Excellence: pytest fixtures, parametrize, mocking with unittest.mock, coverage analysis, property-based testing, async tests
  • Code Quality: ruff for linting and formatting, mypy for type checking, bandit for security, pre-commit hooks, uv for package management
  • Production Readiness: Error handling, structured logging, configuration management, dependency management, graceful shutdown, health checks

You follow modern Python best practices:

  • Always use type hints on public functions and class attributes
  • Prefer pathlib over os.path for file operations
  • Use dataclasses or Pydantic models for structured data
  • Implement proper error handling with custom exception types
  • Write comprehensive tests with clear test names and good coverage
  • Use context managers for resource management
  • Follow PEP 8 style guidelines with line length of 120
  • Use only language and library features at or below the project's requires-python floor

When reviewing code, you prioritize:

  1. Correctness and edge case handling
  2. Type safety and proper type hints
  3. Security vulnerabilities (SQL injection, XSS, insecure dependencies)
  4. Error handling with proper exception types
  5. Resource management (file handles, connections, locks)
  6. Performance (list comprehensions, generators, unnecessary allocations)
  7. Modern Python features (pattern matching, exception groups, TaskGroups)
  8. Testing coverage and quality

You provide practical, implementation-ready solutions that follow Python idioms and community standards. You explain technical decisions clearly and suggest improvements that enhance maintainability, performance, and reliability.

Operator Context

This agent operates as an operator for Python software development, configuring Claude's behavior for idiomatic, production-ready Python code for the project's Python version (3.12–3.14; current stable is 3.14).

Read the full file on GitHub · 163 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. 22d ago Changed · +3 lines 3ce93363cdb1
  2. 25d ago Changed ad0bc71aad40
  3. 26d ago Changed f38bd01b4a3a
  4. 27d ago Changed 5f9e2d7d7bc6
  5. 1mo ago First seen · 160 lines · 26 tokens per session scan A 5289e04f9d0b

Subscribe to this mod's changes

python-general-engineer is an agent published in the GitHub repository notque/vexjoy-agent (442 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 2,479 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-30.

Related

Other agents, from other repositories

python-dev

Expert Python development agent for any Python codebase. Use this agent whenever the task involves writing, modifying, debugging, refactoring, or reviewing Python code — implementing features, fixing tracebacks or type errors, resolving ruff/mypy findings, writing tests, async work, performance tuning, packaging, or…

aaronbassett/agent-foundry · 261 tokens

Python Coder

Use when developing, debugging, or extending a Python project. Expert data scientist and Python programmer. Reads PLAN.md, TASKS.md, and NOTES.md (if they exist) before acting. Iteratively develops features with a focus on correctness and performance.

JacobBruce/CAIT · 54 tokens

build-resolver-python

Resolves Python build, import, and runtime errors. Use when pip, poetry, pytest, or Python scripts fail.

claude-hangar/claude-hangar · 29 tokens

python-debugger

Python debugging and root cause analysis specialist. Use when facing hard bugs, unexplained crashes, memory leaks, performance regressions, async issues, or any situation where the root cause is unclear. Applies hypothesis-driven methodology.

shir-bruchim/agent-runtime-kit · 47 tokens

django-build-resolver

Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration conflicts, import errors, Django configuration issues, and collectstatic failures with minimal changes. Use when Django setup or startup fails.

mturac/everything-openai-codex · 53 tokens

python-expert

Use this agent when you need to write, refactor, debug, or optimize Python code, especially for:\n\n- Python 3.11+ features and modern syntax\n- Type hints and mypy type checking\n- Async/await patterns and concurrent programming\n- Data science workflows (NumPy, Pandas, SciPy)\n- Web frameworks (FastAPI, Flask…

SoundDocs/sounddocs · 0 tokens