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/kumaran-is/claude-code-onboardingWrote 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/commands/kumaran-is/claude-code-onboarding/scaffold-python-worker)<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/scaffold-python-worker"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/scaffold-python-worker.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.00033 | $0.00529 |
| Opus 5 | $0.00016 | $0.00264 |
| Sonnet 5 | $0.00007 | $0.00106 |
| Haiku 4.5 | $0.00003 | $0.00053 |
Grade A, and why
scaffold-python-worker 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 3d 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 — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Scaffold: Python Background Worker
Project name: $ARGUMENTS
Use for services triggered by Pub/Sub, Cloud Scheduler, or GCS events — not for HTTP REST APIs or AI agents.
Stack
- Python 3.14 + uv workspaces
- Shared service library editable install via
[tool.uv.sources] - structlog for logging
- pytest for tests
Steps
- Read existing files in the target directory before adding anything
- Initialize with uv:
uv init $ARGUMENTS --python 3.14under the appropriateservices/subdirectory - Add
[tool.uv.sources]with the shared service library as an editable install inpyproject.toml - Create directory structure:
src/config.py— pydantic-settings config, env vars (required fields have NO defaults)src/job.py—async def run_job(payload: dict) -> JobResult:entry pointsrc/processors/— domain-specific processing modulessrc/main.py— Pub/Sub or Cloud Scheduler handler (parses trigger payload, calls run_job)tests/test_job.py— unit tests with mocked external clients
- Output: write results to the database via the shared session factory — never connect directly
- Status reporting: write job status to the canonical status store on completion/failure
Critical Constraints
- Never bypass the shared database session factory — use the shared library's
get_session/AsyncSessionpattern - Never use inline AI framework patterns (LangChain, LangGraph, etc.) in a worker service
- All failures must be logged via structlog and surfaced as records — never swallowed silently
- External API clients must be injected (not instantiated inline) to enable test mocking
- Required env vars must have NO defaults in config — missing values must raise
ValidationErrorat startup
Post-Scaffold
- Add the new service to
pyproject.tomlworkspace members at repo root - Verify
uv syncat repo root resolves without error - Add deployment configuration for Cloud Run or equivalent compute target
- Dispatch
python-worker-reviewerafter implementation is complete
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.
- 3d ago First seen · 45 lines · 33 tokens per session scan A fbef076e5410
scaffold-python-worker is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 33 tokens to every session and 529 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 commands, from other repositories
cloudflare-r2:setup
Quickly create R2 bucket and configure binding in wrangler.jsonc.
migrate-architecture
Plan and execute major architecture migrations with zero downtime, including monolith-to-microservices, database migrations, cloud migrations, and technology stack changes.
diagnose-sse
Command: /diagnose-sse Agent: sse Skill: sse-scanner.
saas
One-line SaaS — from a description, scaffold a complete CF-native multi-tenant SaaS (Hono + D1 + Drizzle + Better Auth + Stripe + shadcn) deployed to a real URL.
apim-setup
Execute the apim setup workflow with deterministic validation and redacted output.
add-api-azure
Create a new Azure Function HTTP endpoint with full integration.