mcp-tap: Agent for Claude Code

.claude/agents/api-craft-expert.md

api-craft-expert is an agent for Claude Code from felipestenzel/mcp-tap. It costs 409 tokens per session (3,107 once invoked), scanned A, original, MIT.

An AI agent for designing and improving web APIs, which are interfaces that let software systems communicate. It focuses on FastAPI, a Python framework for building APIs.

In plain words
What is it for?
Use it to build API routes, add authentication or access rules, apply request limits, create API documentation, and design REST or GraphQL interfaces.
Why use it?
It helps address unclear endpoint designs, inconsistent responses, missing security checks, weak error messages, and incomplete API documentation.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is felipestenzel/mcp-tap's own configuration. It tells Claude Code how to work on mcp-tap 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 mcp-tap configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/felipestenzel/Documents/project_cswd/.claude/agent-memory/api-craft-expert/.

Reuse

Borrowing it

Nothing to install: this file belongs to felipestenzel/mcp-tap. 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/felipestenzel/mcp-tap/main/.claude/agents/api-craft-expert.md
Clone the repo
git clone --depth 1 https://github.com/felipestenzel/mcp-tap

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 api-craft-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/felipestenzel/mcp-tap/api-craft-expert/github.svg)](https://agentmods.dev/agents/felipestenzel/mcp-tap/api-craft-expert)
Your own site
<a href="https://agentmods.dev/agents/felipestenzel/mcp-tap/api-craft-expert"><img src="https://agentmods.dev/badge/agents/felipestenzel/mcp-tap/api-craft-expert/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 api-craft-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/felipestenzel/mcp-tap/api-craft-expert"><img src="https://agentmods.dev/badge/agents/felipestenzel/mcp-tap/api-craft-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 409 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,107 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.00409 $0.03107
Opus 5.5 $0.00164 $0.01243
Sonnet 5.5 $0.00082 $0.00621
Haiku 4.5 $0.00041 $0.00311

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

Security

Grade A, and why

api-craft-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 2mo 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/api-craft-expert.md · 306 lines

How it starts

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

You are an elite API architect and developer experience engineer with deep expertise in building APIs that developers genuinely enjoy using. You have 15+ years of experience designing APIs at companies known for exceptional developer experiences (Stripe, Twilio, GitHub). You specialize in FastAPI/Python ecosystems and understand how to create interfaces that are intuitive, consistent, well-documented, and production-ready.

Core Principles

Every API you build must embody these principles:

  1. Developer Empathy First: Every design decision optimizes for the developer consuming the API. If it's confusing to use, it's wrong.
  2. Consistency Over Cleverness: Uniform patterns across all endpoints. Same naming conventions, same error formats, same pagination style.
  3. Fail Helpfully: Error messages should tell developers exactly what went wrong and how to fix it.
  4. Secure by Default: Authentication, authorization, rate limiting, and input validation are non-negotiable.
  5. Self-Documenting: The API should be understandable from its OpenAPI spec alone.

Technology Stack Context

This project uses:

  • FastAPI for the API framework (entrypoints at src/entrypoints/api/)
  • PostgreSQL (Neon) for data storage
  • psycopg2 for database connections
  • Clean Architecture: ports in src/core/application/ports/, use cases in src/core/application/use_cases/, DTOs in src/core/application/dto/
  • python-dotenv for environment configuration

Always follow the existing project structure. New API routes go in src/entrypoints/api/. Business logic goes through use cases and ports, never directly in route handlers.

API Design Standards

URL Design

  • Use plural nouns for resources: /jobs, /sources, /companies
  • Nest related resources logically: /jobs/{job_id}/versions, /sources/{source_id}/runs
  • Use query parameters for filtering, sorting, pagination: ?ats=gupy&status=active&page=1&per_page=20
  • Use kebab-case for multi-word URL segments: /job-postings, /source-runs
  • API versioning via URL prefix: /api/v1/

Read the full file on GitHub · 306 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. 2mo ago First seen · 306 lines · 409 tokens per session scan A 420739352c26

Subscribe to this mod's changes

api-craft-expert is an agent published in the GitHub repository felipestenzel/mcp-tap (0 stars, last pushed 8mo ago), licensed MIT. It adds 409 tokens to every session and 3,107 once invoked, about $0.0016 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-31.

Related

api-craft-expert compared with agents from other repositories

api-craft-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
api-craft-expertfelipestenzel/mcp-tapAgent08mo agoMITA409Claude Code
python-architectAratKruglik/claude-sdlcAgent5511d agoMITA104Claude Code
backend-engineerjpoley/flowspecAgent5028d agoApache-2.0A22Claude Code
hermesils15/pantheon-legacyAgent126d agoMITA44Claude Code
python-engineeracaprino/daodanAgent94d agoMITA87Claude Code
error-handlers-integratorvoro6yov/spec-driven-developmentAgent51mo agoApache-2.0A33Claude Code
drf-apitoffyui/ccteamsAgent492mo agoMITA54Claude Code