typer-expert

typer-expert is an agent for Claude Code from nodnarbnitram/claude-code-extensions. It costs 43 tokens per session (2,525 once invoked), scanned A, original, MIT.

An expert guide for building Python command-line applications with Typer. Typer is a Python library for turning typed functions into terminal commands, options, and subcommands.

In plain words
What is it for?
Use it when designing, testing, packaging, or troubleshooting a Typer-based Python CLI.
Why use it?
It helps structure command-line programs, validate their inputs, test their output, and prepare them for distribution.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the TodoWrite tool.

Part of the cce-python plugin — 1 agent shipped together

Good fit Use it when designing, testing, packaging, or troubleshooting a Typer-based Python CLI.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nodnarbnitram/claude-code-extensions/typer-expert
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/nodnarbnitram/claude-code-extensions

Made for: Claude Code.

Or install cce-python, the plugin that ships this one along with the rest of its 1 agent.

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 typer-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/nodnarbnitram/claude-code-extensions/typer-expert.svg)](https://agentmods.dev/agents/nodnarbnitram/claude-code-extensions/typer-expert)
Your own site
<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>
Per session 43 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,525 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.00043 $0.02525
Opus 5 $0.00022 $0.01262
Sonnet 5 $0.00009 $0.00505
Haiku 4.5 $0.00004 $0.00252

Measured 4d ago against content hash 1d07cf4bf7dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

plugins/cce-python/agents/typer-expert.md · 398 lines

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")

Read the full file on GitHub · 398 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. 4d ago First seen · 398 lines · 43 tokens per session scan A 1d07cf4bf7dd

Subscribe to this mod's changes

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.

Related

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.

echoVic/blade-code · 51 tokens

django-tester

Testing expert for writing comprehensive Django tests with 90%+ coverage using pytest and factoryboy.

smicolon/ai-kit · 23 tokens

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?"…

xbim08/awesome-claude-code-plugins · 0 tokens

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…

acaprino/daodan · 66 tokens

testing-expert

Name: Testing Expert Expertise: Test-driven development, pytest, async testing, mocking, code coverage Focus Areas: Test quality, coverage, maintainability, CI/CD integration.

filthyrake/damens_mcps · 0 tokens

python-implementation-agent

Implement Python development tasks with testing and verification.

benbrastmckie/nvim · 13 tokens