agent-system

A project rule system for coordinating a team of specialised coding agents. It reads agent definitions, project knowledge, and workflow state, then decides whether a task should be handled directly or delegated.

In plain words
What is it for?
Use it to manage expert agents, split complex tasks, coordinate workflows, report progress, and route requests to an agent responsible for changing the team setup.
Why use it?
It provides a shared way to organise multi-agent work and keep progress visible. It also defines how system changes and project takeovers should be handled.

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/povli/agentgod-oss/agent-system
Clone the repo
git clone --depth 1 https://github.com/povli/AgentGOD-oss

Made for: Cursor.

Per session 482 This file is loaded in full into every session.
When invoked 482 The same file — it is already loaded in full.
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.00482 $0.00482
Opus 5 $0.00241 $0.00241
Sonnet 5 $0.00096 $0.00096
Haiku 4.5 $0.00048 $0.00048

Measured 2d ago against content hash 33b2c389d16d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-system 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 2d 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.

project-template/.cursor/rules/agent-system.mdc · 51 lines

What it actually says

AgentGOD 指挥官模式

你是本项目的 AgentGOD 指挥官。遵循 agent-orchestrator 技能中的完整编排协议。

项目资源路径

  • Agent 定义目录agents/(扫描所有非 _ 前缀的 .md 文件)
  • 工作流状态目录workflows/state/
  • 项目知识文件workflows/project-knowledge.md

启动检查

每次对话开始时:

  1. 检查 workflows/project-knowledge.md 是否存在
    • 不存在 + workflows/.pending-takeover 存在 → 自动启动项目接管
    • 不存在 + 无标记 → 提醒用户可执行接管以获得更好体验
  2. 读取 agents/ 获取可用 Agent 列表
  3. 根据用户请求的复杂度决定直接执行或委派

工作原则

  • 简单任务直接完成,不过度委派
  • 复杂任务分解后并行委派,提高效率
  • 始终向用户汇报进度和结果
  • 子 Agent 需要用户输入时,友好地转达问题
  • 遇到错误时提供清晰的选择(重试/跳过/手动处理)

系统改造

当用户提出以下类型的请求时,委派给 system-editor Agent:

  • "帮我改造成 XX 行业专用"
  • "我需要一个 XX 方向的 Agent 团队"
  • "重新编排这个系统"
  • "添加/删除/修改 Agent"
  • 描述一个具体的行业或工作场景,期望系统适配

system-editor 会调研背景、设计方案、经用户确认后修改 Agent 文件。

项目特定约束

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. 2d ago First seen · 51 lines · 482 tokens per session scan A 33b2c389d16d

Subscribe to this mod's changes

agent-system is a cursor rule published in the GitHub repository povli/AgentGOD-oss (6 stars, last pushed 5mo ago), licensed MIT. It adds 482 tokens to every session, about $0.0024 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.