shep: Agent for Claude Code

.claude/agents/shep-cli-command-creator.md

shep-cli-command-creator is an agent for Claude Code from shep-ai/shep. It costs 94 tokens per session (1,782 once invoked), scanned A, original, MIT.

A code scaffold for adding one new command to the shep command-line tool. It connects the command to an existing use case, which is the part of the program containing the requested operation.

In plain words
What is it for?
Use it to add commands such as connect, deploy, or status when the underlying use case already exists. Provide the command path, name, parent program, use case, dependency-injection token, and arguments or options.
Why use it?
It removes the repetitive setup needed to register a command, resolve its dependencies, handle its inputs, and match the project's command-line conventions. It also keeps the change limited to one command.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is shep-ai/shep's own configuration. It tells Claude Code how to work on shep itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything shep configures →

Reuse

Borrowing it

Nothing to install: this file belongs to shep-ai/shep. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/shep-ai/shep/main/.claude/agents/shep-cli-command-creator.md
Clone the repo
git clone --depth 1 https://github.com/shep-ai/shep

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 shep-cli-command-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/shep-ai/shep/shep-cli-command-creator/github.svg)](https://agentmods.dev/agents/shep-ai/shep/shep-cli-command-creator)
Your own site
<a href="https://agentmods.dev/agents/shep-ai/shep/shep-cli-command-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-cli-command-creator/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 shep-cli-command-creator

Your own site · 80×15
<a href="https://agentmods.dev/agents/shep-ai/shep/shep-cli-command-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-cli-command-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 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,782 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.00094 $0.01782
Opus 5.5 $0.00038 $0.00713
Sonnet 5.5 $0.00019 $0.00356
Haiku 4.5 $0.00009 $0.00178

Measured 1mo ago against content hash cf757045d2f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

shep-cli-command-creator 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 1mo 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.

.claude/agents/shep-cli-command-creator.md · 137 lines

How it starts

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

You create ONE new Commander sub-command that invokes exactly ONE existing use case. You do NOT create use cases. You do NOT modify the DI container. You do NOT touch other commands.

Inputs (the caller MUST provide all of these)

  1. command_path — where the .command.ts file lives under src/presentation/cli/commands/ (e.g., app/cloud-providers/connect.command.ts).
  2. command_name — the sub-command name users type (e.g., connect, deploy, status).
  3. parent_program_file — the parent Commander program file that should register this new sub-command (e.g., src/presentation/cli/commands/app/cloud-providers/index.ts).
  4. use_case_class — the class name of the use case the command invokes (e.g., ConnectCloudProviderUseCase).
  5. use_case_import_path — internal alias path (e.g., @/application/use-cases/cloud-deploy/connect-cloud-provider.use-case.js). Note: CLI commands use the @/* internal alias with .js suffix — NOT @shepai/core/*.
  6. di_token — the string token passed to container.resolve() (e.g., 'ConnectCloudProviderUseCase').
  7. args — list of { name, description, kind: 'argument' | 'option', required?: boolean, default?: string } for Commander. Mark option flags as --foo <value> for string options or --foo for booleans.
  8. input_mapping — plain-English description of how to build the use case input from the parsed args (e.g., "provider from first argument, token from --token option, prompt interactively if missing").
  9. error_mapping — list of { error_class, import_path, user_message } explaining what to print and what exit code to use for each domain error. Value imports MUST come from @/domain/errors/* (zero-dep targets). Never value-import from use-case files or port-interface files.
  10. success_output — plain-English description of what to print on success (e.g., "green checkmark + Connected to <provider>").

If any required input is missing, return an error.

Process

Step 1 — Read an existing sibling command

Read the full file on GitHub · 137 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. 1mo ago First seen · 137 lines · 94 tokens per session scan A cf757045d2f7

Subscribe to this mod's changes

shep-cli-command-creator is an agent published in the GitHub repository shep-ai/shep (267 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 1,782 once invoked, about $0.0004 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

temporal-python-pro

Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.

wshobson/agents · 56 tokens

api-scaffolding-django-pro

Master Django 5.x with async views, DRF, Celery, and Django Channels. Build scalable web applications with proper architecture, testing, and deployment. Use PROACTIVELY for Django development, ORM optimization, or complex Django patterns.

wshobson/agents · 57 tokens

typescript-pro

Expert in idiomatic, type-safe TypeScript. Use for advanced typing, generics, refactoring JS to TS, and eliminating any without losing readability.

JosephHampton/awesome-gemini-cli-subagents · 34 tokens

typescript-developer

Build type-safe applications with advanced TypeScript features, generics, and strict type checking. Specializes in enterprise TypeScript architecture and type system design. Use PROACTIVELY for complex type safety requirements.

sampleXbro/agentsmesh · 45 tokens

electron-architect

Electron + TypeScript architecture specialist. Validates main/renderer process separation, IPC channel discipline, contextBridge usage, and Node.js API ownership. Dispatch when touching main process code, IPC handlers, preload scripts, or renderer imports.

onlygian/G-Forge · 50 tokens

effect-ts-enforcer

Reviews a diff or file set against the five non-negotiables in AGENTS.md. One line per violation, severity-tagged, no praise. Read-only. Use after writing code and before ./scripts/verify.sh. Examples - "review my changes to app/repositories/billing.ts", "audit this branch for non-negotiable violations", "check the…

SeanningTatum/cf-saas-starter-react-router · 89 tokens