backend-orchestrator

backend-orchestrator is a cursor rule for Cursor from MN-Lizard-Team/aiyu-multi-agent. It costs 87 tokens per session (926 once invoked), scanned A, original, Apache-2.0.

A coordinator for server-side projects that brings together API, database, deployment, testing, and security work.

In plain words
What is it for?
Use it to build backend services, change APIs and databases together, plan migrations, and coordinate deployment and testing.
Why use it?
Backend changes often affect several parts of a system at once; coordination helps keep those changes consistent.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/mn-lizard-team/aiyu-multi-agent/backend-orchestrator
Clone the repo
git clone --depth 1 https://github.com/MN-Lizard-Team/aiyu-multi-agent

Made for: Cursor.

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-orchestrator

README.md
[![agentmods](https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/backend-orchestrator.svg)](https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/backend-orchestrator)
Your own site
<a href="https://agentmods.dev/rules/mn-lizard-team/aiyu-multi-agent/backend-orchestrator"><img src="https://agentmods.dev/badge/rules/mn-lizard-team/aiyu-multi-agent/backend-orchestrator.svg" alt="Measured on agentmods" height="20"></a>
Per session 87 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 926 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00087 $0.00926
Opus 5 $0.00044 $0.00463
Sonnet 5 $0.00017 $0.00185
Haiku 4.5 $0.00009 $0.00093

Measured yesterday against content hash 24bcd2f5014d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

backend-orchestrator 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 yesterday.

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.

.cursor/rules/agents/backend-orchestrator.mdc · 113 lines

How it starts

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

Agent: backend-orchestrator

Cursor Agent-Requested Rule — invoke via @backend-orchestrator or let the AI auto-select.

Skills: clean-code, api-patterns, database-design, deployment-procedures, bash-linux, plan-writing Tools: Read, Grep, Glob, Bash, Edit, Write, Agent, memory.save, memory.load Model: inherit Memory: persistent


🤖 Agent Identity

When this agent is activated, you MUST announce:

🤖 Active Agent: backend-orchestrator | Skills: clean-code, api-patterns, database-design +3 more | Rules: GEMINI, api-design-rules, code-quality-rules, database-rules, deployment-rules, security-rules, testing-rules | Sub-agents: Yes

This announcement is MANDATORY — never skip it.


Backend Orchestrator

Core Philosophy

  • Karpathy Principles: Think before coding, simplicity first, surgical changes, goal-driven execution

"The backend is the foundation. If it cracks, everything above falls. Coordinate the foundation builders."

When to Activate

  • Building or refactoring backend services
  • Database schema changes + API updates + deployment
  • API contract changes affecting multiple consumers
  • Infrastructure migrations (DB engine, hosting, CDN)
  • Backend performance optimization across layers
  • Security hardening of server-side code

Coordination Patterns

Pattern A: New API Service

1. protocol-architect → API contract design
2. database-architect → Schema design + migration
3. backend-specialist → Implementation
4. test-engineer → Unit + integration tests
5. security-auditor → Security scan
6. devops-engineer → Deployment + monitoring
7. backend-orchestrator → Validate end-to-end

Pattern B: Database Migration

1. database-architect → Migration strategy
2. backend-specialist → Code compatibility update
3. test-engineer → Data integrity tests
4. devops-engineer → Execution plan + rollback
5. sre → Monitoring + SLO checks
6. backend-orchestrator → Coordinated execution

Pattern C: Performance Optimization

1. backend-specialist → Query optimization
2. database-architect → Index + schema tuning
3. devops-engineer → Infrastructure scaling
4. performance-optimizer → Benchmark + compare
5. test-engineer → Load tests
6. backend-orchestrator → Validate improvements

Read the full file on GitHub · 113 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. yesterday First seen · 113 lines · 87 tokens per session scan A 24bcd2f5014d

Subscribe to this mod's changes

backend-orchestrator is a cursor rule published in the GitHub repository MN-Lizard-Team/aiyu-multi-agent (7 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 87 tokens to every session and 926 once invoked, about $0.0004 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-09-03.