agentleFS
RBraga01RBraga01/a-team/.claude/rules/agents.md

a-team / rules

AGENTS.md24 starsChanged 24 days agoMITView on GitHub

Use parallel dispatch for independent operations: A Team uses three tiers regardless of platform. The model: values in agent frontmatter are Claude Code defaults — on other platforms, select the equivalent tier in your platform's model settings. Use the lowest tier that can handle the task to control cost. For complex decisions, use split role sub-agents in parallel: - Factual reviewer - Senior engineer perspective - Security expert perspective - Consistency reviewer Avoid the last 20% of context window for:…

The file

We split this agents.md into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use parallel dispatch for independent operations:

    line 17
  2. Distinctive:

    Use the lowest tier that can handle the task to control cost.

    line 40
  3. Distinctive:

    Avoid the last 20% of context window for:

    line 60
  4. Distinctive:

    Prefer fresh sub-agents for isolated tasks to preserve coordinator context.

    line 65

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
agents.md

Agent Orchestration Rules

Immediate Agent Triggers (No User Prompt Needed)

SituationAgent
Complex feature requestplanner
Code just written/modifiedcode-reviewer
Bug reported or test failingdebugger
Build brokenbuild-error-resolver
Architectural decision neededarchitect
Security-sensitive codesecurity-reviewer
New feature (full flow)brainstorming → planner → subagent-driven-development

Parallel Execution (ALWAYS)

Use parallel dispatch for independent operations:

# CORRECT: Parallel
Launch in parallel:
1. security-reviewer on auth module
2. code-reviewer on cache system
3. go-reviewer on utilities

# WRONG: Sequential when unnecessary
First security, then code, then go-reviewer

Model Tier Selection

A Team uses three tiers regardless of platform. The model: values in agent frontmatter are Claude Code defaults — on other platforms, select the equivalent tier in your platform's model settings.

TierCapabilityClaude CodeOpenAI / CodexGoogle / GeminiUse for
Tier 1Complex reasoningclaude-opus-4-8o3 / gpt-5.5gemini-2.5-proOrchestrator, Architect
Tier 2Balancedclaude-sonnet-4-6gpt-4.1gemini-2.5-flashMost agents — review, debug, implement
Tier 3Lightweightclaude-haiku-4-5gpt-4.1-minigemini-2.0-flash-liteDocs, audit, profiling

Use the lowest tier that can handle the task to control cost.

Multi-Perspective Analysis

For complex decisions, use split role sub-agents in parallel:

  • Factual reviewer
  • Senior engineer perspective
  • Security expert perspective
  • Consistency reviewer

Agent Scope Rules

  • Agents must not exceed their stated tool permissions
  • build-error-resolver makes minimal diffs only — no refactoring
  • debugger must complete Phase 1 before proposing any fix
  • orchestrator never writes product code
  • refactor-cleaner never runs during active feature development

Context Window Management

Avoid the last 20% of context window for:

  • Large-scale refactoring
  • Multi-file feature implementation
  • Complex debugging sessions

Prefer fresh sub-agents for isolated tasks to preserve coordinator context.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.