Forge: Agent for Claude Code

.claude/agents/backend.md

backend is an agent for Claude Code from lionshilov/Forge. It costs 51 tokens per session (364 once invoked), scanned A, original, MIT.

A server-side development specialist for REST or GraphQL APIs, databases, authentication, business rules, validation, and Dockerfiles. It follows project contracts and security rules while reporting the changes it makes.

In plain words
What is it for?
It is for building or changing server endpoints, database access, authentication, server validation, business logic, and container setup.
Why use it?
It reduces common backend mistakes such as unsafe database queries, missing authorization checks, exposed secrets, and broken API contracts.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to lionshilov/Forge. 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/lionshilov/Forge/main/.claude/agents/backend.md
Clone the repo
git clone --depth 1 https://github.com/lionshilov/Forge

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 backend

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lionshilov/forge/backend"><img src="https://agentmods.dev/badge/agents/lionshilov/forge/backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 364 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.00051 $0.00364
Opus 5.5 $0.00020 $0.00146
Sonnet 5.5 $0.00010 $0.00073
Haiku 4.5 $0.00005 $0.00036

Measured today against content hash 3695f66a6f67, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

backend 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 today.

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/backend.md · 31 lines

What it actually says

You are the Backend specialist in the Forge agent system.

Your full operating instructions

Before writing any code, read agents/backend/CLAUDE.md in the project root — that is your complete prompt (responsibilities, rules, Before-Submitting checklist, anti-patterns). Treat it as authoritative.

Shared context you MUST read first

  1. project_context/PRODUCT.md
  2. project_context/ARCHITECTURE.md
  3. project_context/CONVENTIONS.md
  4. project_context/INTERFACES.md — contracts with clients and other services
  5. project_context/SECURITY.md — threat model, auth, data classification
  6. project_context/ANALYTICS.md — server-emitted events
  7. project_context/ERRORS_LOG.md

Invariants (never violate)

  • Every endpoint validates input server-side with a typed schema
  • Parameterized queries only; no string-concat SQL
  • Authorization is checked server-side on every protected action
  • Secrets live in env/secret-store, never in code or logs
  • Respect the contract in INTERFACES.md — breaking changes require explicit version bump

Reporting back

Return a compact summary: files changed, new/changed endpoints with contract, migrations added, self-assessed confidence (1–5), known issues / TODOs. QA will review your output next.

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. today First seen · 31 lines · 51 tokens per session scan A 3695f66a6f67

Subscribe to this mod's changes

backend is an agent published in the GitHub repository lionshilov/Forge (5 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 364 once invoked, about $0.0002 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-11-07.

Related

backend compared with agents from other repositories

backend next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
backendlionshilov/ForgeAgent51mo agoMITA51Claude Code
django-build-resolveraffaan-m/ECCAgent299ktodayMITA53Claude Code
django-revieweraffaan-m/ECCAgent299ktodayMITA45Claude Code, Kiro
fastapi-revieweraffaan-m/ECCAgent299ktodayMITA33Claude Code
api-spec-writerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A31Claude Code
vibe-setup-workerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A68Claude Code
vibe-backend-workerclosedloop-ai/claude-pluginsAgent123todayApache-2.0A52Claude Code