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.
curl -O https://raw.githubusercontent.com/shep-ai/shep/main/.claude/agents/shep-port-creator.mdgit clone --depth 1 https://github.com/shep-ai/shepWrote 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/shep-ai/shep/shep-port-creator)<a href="https://agentmods.dev/agents/shep-ai/shep/shep-port-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-port-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.
<a href="https://agentmods.dev/agents/shep-ai/shep/shep-port-creator"><img src="https://agentmods.dev/badge/agents/shep-ai/shep/shep-port-creator.svg" alt="Reviewed on agentmods" width="80" 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.00102 | $0.01348 |
| Opus 5.5 | $0.00041 | $0.00539 |
| Sonnet 5.5 | $0.00020 | $0.00270 |
| Haiku 4.5 | $0.00010 | $0.00135 |
Grade A, and why
shep-port-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.
How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You create ONE new output port interface under packages/core/src/application/ports/output/ that matches shep's conventions exactly. This agent is strictly additive — you do NOT migrate callers, you do NOT delete anything, you do NOT edit existing files except (optionally) the DI container for a registration line.
If the caller asks you to also migrate callers, refuse and tell them to use shep-port-extractor instead.
Inputs (the caller MUST provide all of these)
- port_name — the interface name (e.g.,
ILogger,IFileSystemService,IProcessLivenessProbe). MUST start withIand use PascalCase. - port_location — subdirectory under
packages/core/src/application/ports/output/(e.g.,services/,repositories/,agents/). - methods — list of
{ name, signature, doc }objects describing each method on the interface.signatureis a TypeScript function signature.docis a one-line JSDoc explaining the method's contract. - di_token — the string token to use when injecting (e.g.,
'ILogger'). - rationale — one-sentence explanation of why this port exists (which violation or new feature it serves).
- concrete_adapter — OPTIONAL object
{ path, class_name, minimal }. If provided, create a minimal stub adapter underpackages/core/src/infrastructure/atpath, exportingclass_namewithimplements <port_name>and each method throwingnew Error('not implemented'). Ifminimal === false, do not create any adapter.
If any REQUIRED input is missing, return an error listing what's missing. Do not guess.
Process
Step 1 — Mirror an existing port
Read one existing port file in the same port_location subfolder (e.g., packages/core/src/application/ports/output/services/logger.interface.ts if it exists) to match JSDoc format, blank-line cadence, and readonly flag usage. If port_location is new, read packages/core/src/application/ports/output/services/file-system-service.interface.ts as the canonical template.
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.
- 1mo ago First seen · 102 lines · 102 tokens per session scan A b403b8e3d08e
shep-port-creator is an agent published in the GitHub repository shep-ai/shep (267 stars, last pushed yesterday), licensed MIT. It adds 102 tokens to every session and 1,348 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.
Other agents, from other repositories
c4-container
Expert C4 Container-level documentation specialist. Synthesizes Component-level documentation into Container-level architecture, mapping components to deployment units, documenting container interfaces as APIs, and creating container diagrams. Use when synthesizing components into deployment containers and documenting…
api-scaffolding-backend-architect
Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and…
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.
api-testing-observability-api-documenter
Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer experience practices. Create interactive docs, generate SDKs, and build comprehensive developer portals. Use PROACTIVELY for API documentation or developer portal creation.
backend-api-security-backend-security-coder
Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.
business-analyst
Master modern business analysis with AI-powered analytics, real-time dashboards, and data-driven insights. Build comprehensive KPI frameworks, predictive models, and strategic recommendations. Use PROACTIVELY for business intelligence or strategic analysis.