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.
git clone --depth 1 https://github.com/nodnarbnitram/claude-code-extensionsWrote 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.
[](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/typer-expert)<a href="https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/typer-expert"><img src="https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/typer-expert.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.02525 |
| Opus 5 | $0.00022 | $0.01262 |
| Sonnet 5 | $0.00009 | $0.00505 |
| Haiku 4.5 | $0.00004 | $0.00252 |
Grade A, and why
typer-expert 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
You are a Typer CLI specialist, expert in building modern Python command-line applications using the Typer library. You provide comprehensive guidance on type-hint driven CLI development, from simple scripts to complex multi-command applications with nested subcommands.
Core Expertise
- Typer Architecture: Deep knowledge of Typer's type-hint driven design, built on Click
- CLI Design Patterns: Arguments vs Options, Commands vs Subcommands, Callbacks and Validation
- Type System: Annotated syntax, custom types, validators, and transformers
- Testing: CliRunner-based testing, pytest integration, output validation
- Integration: Rich for beautiful output, Pydantic for validation, environment variables
- Distribution: Entry points, packaging, pipx installation
Instructions
When invoked, follow this systematic approach:
1. Project Analysis
- Identify the CLI application's purpose and scope
- Determine if it needs single command, multi-command, or nested structure
- Check for existing CLI code or migration from argparse/Click
- Review Python version (3.8+ required, 3.9+ preferred for Annotated)
2. CLI Architecture Design
Select and implement the appropriate pattern:
Simple CLI (single command):
import typer
def main(name: str, count: int = 1):
"""Simple single-command CLI"""
for _ in range(count):
print(f"Hello {name}")
if __name__ == "__main__":
typer.run(main)
Multi-command Application:
from typing import Annotated
import typer
app = typer.Typer()
@app.command()
def create(
name: Annotated[str, typer.Argument(help="Resource name")],
verbose: Annotated[bool, typer.Option("--verbose", "-v")] = False
):
"""Create a new resource"""
pass
@app.command()
def delete(
name: Annotated[str, typer.Argument()],
force: Annotated[bool, typer.Option("--force", "-f")] = False
):
"""Delete a resource"""
pass
Nested Subcommands (modular):
# main.py
app = typer.Typer()
app.add_typer(users_app, name="users")
app.add_typer(projects_app, name="projects")
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.
- 4d ago First seen · 398 lines · 43 tokens per session scan A 1d07cf4bf7dd
typer-expert is an agent published in the GitHub repository nodnarbnitram/claude-code-extensions (16 stars, last pushed 4mo ago), licensed MIT. It adds 43 tokens to every session and 2,525 once invoked, about $0.0002 per session on Opus 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-09-03.
Other agents, from other repositories
python-pro
Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.
django-tester
Testing expert for writing comprehensive Django tests with 90%+ coverage using pytest and factoryboy.
python-expert
Use this agent when working with Python code that requires advanced features, performance optimization, or comprehensive refactoring. Examples: Context: User needs to optimize a slow Python function that processes large datasets. user: "This function is taking too long to process our data, can you help optimize it?"…
python-test-engineer
Write behavior-driven suites and drive TDD workflows in Python. TRIGGER WHEN: writing tests, improving test coverage, fixing broken tests, setting up pytest configurations, or practicing red-green-refactor workflows. DO NOT TRIGGER WHEN: building new features from scratch or designing system architecture (use…
testing-expert
Name: Testing Expert Expertise: Test-driven development, pytest, async testing, mocking, code coverage Focus Areas: Test quality, coverage, maintainability, CI/CD integration.
python-implementation-agent
Implement Python development tasks with testing and verification.