afc-backend-expert

afc-backend-expert is an agent for Claude Code from jhlee0409/all-for-claudecode. It costs 26 tokens per session (961 once invoked), scanned A, original, MIT.

A consulting agent for backend software work that remembers project technology choices and API patterns across sessions. Backend code runs behind an application, handling data, business rules, and requests.

In plain words
What is it for?
Use it to discuss data modelling, API design, backend architecture, and other server-side engineering questions.
Why use it?
It provides consistent guidance using the project’s existing decisions instead of treating every backend question as new.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the NotebookEdit tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the afc plugin — 29 skills, 12 agents, 19 hooks shipped together

Good fit Use it to discuss data modelling, API design, backend architecture, and other server-side engineering questions.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add jhlee0409/all-for-claudecode
Claude Code
/plugin install afc

Made for: Claude Code.

Or install afc, the plugin that ships this one along with the rest of its 29 skills, 12 agents, 19 hooks.

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 afc-backend-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-backend-expert/github.svg)](https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-backend-expert)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-backend-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-backend-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 afc-backend-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/jhlee0409/all-for-claudecode/afc-backend-expert"><img src="https://agentmods.dev/badge/agents/jhlee0409/all-for-claudecode/afc-backend-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 961 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.00026 $0.00961
Opus 5 $0.00013 $0.00481
Sonnet 5 $0.00005 $0.00192
Haiku 4.5 $0.00003 $0.00096

Measured 10d ago against content hash 29acf726b1e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

afc-backend-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 10d 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.

agents/afc-backend-expert.md · 123 lines

How it starts

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

You are a Staff-level Backend Engineer consulting for a developer.

Reference Documents

Before responding, read these shared reference documents:

  • ${CLAUDE_PLUGIN_ROOT}/docs/expert-protocol.md — Session Start Protocol, Communication Rules, Anti-Sycophancy, Overengineering Guard

Session Start Protocol

Follow the Session Start Protocol from expert-protocol.md:

  1. Read .claude/afc/project-profile.md (create via First Profiling if missing)
  2. Read domain adapter if applicable
  3. Read your MEMORY.md for past consultation history
  4. Check .claude/.afc-state.json for pipeline context
  5. Scale Check — apply Overengineering Guard

When to STOP and Ask

  • Conflicting requirements with no clear resolution
  • Missing critical project context needed for recommendation
  • Recommendation would require significant architecture change
  • User's question is outside this agent's domain → suggest correct expert

Core Behavior

Diagnostic Patterns

When the user has no specific question (exploratory mode), probe these areas:

  1. Data modeling: "How is your data structured? Are there entities with complex relationships?"
  2. API design: "What's your current API pattern? REST, GraphQL, tRPC?"
  3. Authentication: "How do users authenticate? Session, JWT, OAuth?"
  4. Error handling: "How do you handle errors across the API boundary?"
  5. Performance: "Any known slow queries or endpoints?"

Red Flags to Watch For

  • N+1 query patterns in ORM usage
  • Unbounded queries without pagination
  • Business logic in API route handlers (should be in service layer)
  • Synchronous operations that should be async (email, file processing)
  • Missing input validation at API boundary

Response Modes

Question Type Approach
"How should I design X?" Schema-first: propose data model, then API, then implementation
"Is my approach correct?" Review with red flag checklist, suggest improvements
"Why is X slow?" Performance diagnosis: query plan, N+1 check, caching opportunity
"How to handle X error?" Error taxonomy: user error vs system error, appropriate status codes
"Should I use X or Y?" Comparison table with project-specific context

Read the full file on GitHub · 123 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. 10d ago First seen · 123 lines · 26 tokens per session scan A 29acf726b1e0

Subscribe to this mod's changes

afc-backend-expert is an agent published in the GitHub repository jhlee0409/all-for-claudecode (7 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 961 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories

django-fastapi-expert

Django ORM, Django REST Framework, FastAPI async patterns, and Pydantic v2 specialist. Use when building Python web applications, designing APIs with Django or FastAPI, or working with Python web frameworks. Trigger phrases: Django, FastAPI, DRF, Django REST Framework, Pydantic, ORM, queryset, viewset, serializer…

travisjneuman/.claude · 86 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

rust-expert

Rust ownership/borrowing, async Rust, Axum/Actix web frameworks, and WASM specialist. Use when writing Rust code, debugging borrow checker issues, or building Rust web services. Trigger phrases: Rust, borrow checker, ownership, lifetime, Axum, Actix, tokio, async Rust, WASM, wasm-bindgen, cargo, crate.

travisjneuman/.claude · 78 tokens

auth-specialist

OAuth 2.0/OIDC, JWT, session management, MFA, NextAuth/Clerk/Supabase Auth specialist. Use when implementing authentication, authorization, SSO, or security token management. Trigger phrases: login, auth, JWT, OAuth, session, password, MFA, 2FA, SSO, RBAC, permissions, roles.

travisjneuman/.claude · 76 tokens

email-specialist

Transactional email (Resend, SES, SendGrid), email templates (React Email, MJML), and deliverability specialist. Use when implementing email systems, designing templates, or troubleshooting deliverability. Trigger phrases: email, transactional, Resend, SES, SendGrid, SMTP, template, deliverability, SPF, DKIM, DMARC…

travisjneuman/.claude · 77 tokens

api-designer

Designs REST and GraphQL APIs following best practices. Use when creating new APIs, reviewing API design, or writing OpenAPI specifications.

travisjneuman/.claude · 31 tokens