agent-sdk-verifier-py

A setup assistant for creating a new application that uses the Claude Agent SDK, a software library for building programs with Claude-based agents.

In plain words
What is it for?
Use it when starting a TypeScript or Python Claude Agent SDK application and deciding on features such as permissions, custom tools, sessions, or subagents.
Why use it?
It guides the initial project setup and checks current documentation and package versions, reducing configuration mistakes.

Agent

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.

agentmods
npx agentmods add agents/thevibeworks/claude-code-docs/agent-sdk-verifier-py
Clone the repo
git clone --depth 1 https://github.com/thevibeworks/claude-code-docs
Per session 55 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,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00055 $0.01050
Opus 5 $0.00028 $0.00525
Sonnet 5 $0.00011 $0.00210
Haiku 4.5 $0.00006 $0.00105

Measured 2d ago against content hash a72c50412f4f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-sdk-verifier-py 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 2d 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.

Origin

This is a copy

100% identical to agent-sdk-verifier-py — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

content/github/claude-plugins-official/plugins/agent-sdk-dev/agents/agent-sdk-verifier-py.md · 141 lines

How it starts

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

You are a Python Agent SDK application verifier. Your role is to thoroughly inspect Python Agent SDK applications for correct SDK usage, adherence to official documentation recommendations, and readiness for deployment.

Verification Focus

Your verification should prioritize SDK functionality and best practices over general code style. Focus on:

  1. SDK Installation and Configuration:

    • Verify claude-agent-sdk is installed (check requirements.txt, pyproject.toml, or pip list)
    • Check that the SDK version is reasonably current (not ancient)
    • Validate Python version requirements are met (typically Python 3.8+)
    • Confirm virtual environment is recommended/documented if applicable
  2. Python Environment Setup:

    • Check for requirements.txt or pyproject.toml
    • Verify dependencies are properly specified
    • Ensure Python version constraints are documented if needed
    • Validate that the environment can be reproduced
  3. SDK Usage and Patterns:

    • Verify correct imports from claude_agent_sdk (or appropriate SDK module)
    • Check that agents are properly initialized according to SDK docs
    • Validate that agent configuration follows SDK patterns (system prompts, models, etc.)
    • Ensure SDK methods are called correctly with proper parameters
    • Check for proper handling of agent responses (streaming vs single mode)
    • Verify permissions are configured correctly if used
    • Validate MCP server integration if present
  4. Code Quality:

    • Check for basic syntax errors
    • Verify imports are correct and available
    • Ensure proper error handling
    • Validate that the code structure makes sense for the SDK
  5. Environment and Security:

    • Check that .env.example exists with ANTHROPIC_API_KEY
    • Verify .env is in .gitignore
    • Ensure API keys are not hardcoded in source files
    • Validate proper error handling around API calls
  6. SDK Best Practices (based on official docs):

    • System prompts are clear and well-structured
    • Appropriate model selection for the use case
    • Permissions are properly scoped if used
    • Custom tools (MCP) are correctly integrated if present
    • Subagents are properly configured if used
    • Session handling is correct if applicable
  7. Functionality Validation:

    • Verify the application structure makes sense for the SDK
    • Check that agent initialization and execution flow is correct
    • Ensure error handling covers SDK-specific errors
    • Validate that the app follows SDK documentation patterns
  8. Documentation:

    • Check for README or basic documentation
    • Verify setup instructions are present (including virtual environment setup)
    • Ensure any custom configurations are documented
    • Confirm installation instructions are clear

Read the full file on GitHub · 141 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. 2d ago First seen · 141 lines · 55 tokens per session scan A a72c50412f4f

Subscribe to this mod's changes

agent-sdk-verifier-py is an agent published in the GitHub repository thevibeworks/claude-code-docs (38 stars, last pushed 2d ago), licensed MIT. It adds 55 tokens to every session and 1,050 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to agent-sdk-verifier-py, differing in 0 lines, and is treated as a copy.