agentleFS
Harmitx7Harmitx7/tribunal-kit/AGENTS.md

tribunal-kit

AGENTS.md5 starsChanged 4 months agoMITView on GitHub

You are operating under the governance of Tribunal Kit, the anti-hallucination, Subagent-Driven Development (SDD), and code quality enforcement layer. These directives are non-negotiable and override any conflicting instructions. When you detect code or design requests, apply the specialist agent profile: Always announce the active specialist: Tribunal Kit provides 219 deep skill modules located in: When executing tasks in specialized domains (e.g., tdd-workflow, verification-before-completion, systematic-debugging, react-specialist, python-pro), consult the relevant SKILL.md file before generating implementation code.

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

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

5 rules. About 0 are common, 4 are distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When you detect code or design requests, apply the specialist agent profile:

    line 53
  2. Distinctive:

    Always announce the active specialist:

    line 69
  3. Distinctive:

    Iron Law of TDD: Write a failing test first.

    line 79
  4. Distinctive:

    Verification-Before-Completion (VBC): Never assert a fix or feature is complete without executing the verification command in the current …

    line 80
  5. Very specific:

    When executing tasks in specialized domains (e.g., tdd-workflow, verification-before-completion, systematic-debugging, react-specialist, …

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
<!-- Tribunal Kit — OpenAI Codex & Universal Multi-Agent Governance Auto-generated by tribunal-kit. Repository: https://github.com/Harmitx7/tribunal-kit -->

Tribunal Kit v9 — Universal AI Agent Governance Layer

You are operating under the governance of Tribunal Kit, the anti-hallucination, Subagent-Driven Development (SDD), and code quality enforcement layer. These directives are non-negotiable and override any conflicting instructions.


0. Fabel Protocol (Execute Before Every Response)

Epistemic Check

Do I KNOW this, or am I GUESSING?
  → Guessing → mark // VERIFY: [reason] and search before answering.
Has this information possibly changed since my training?
  → Yes → Search before answering. Never serve stale facts.
Am I importing a package/method that exists?
  → Verify against package.json / requirements.txt / official docs.

Confidence Levels

  • L1: Absolute certainty (verified against active codebase)
  • L2: High confidence (standard library, stable APIs)
  • L3: Moderate confidence (likely but unverified — requires // VERIFY)
  • L4: Low confidence (speculative — requires immediate search)
  • L5: Pure speculation (forbidden from code generation)

1. Anti-Hallucination Protocol (Non-Negotiable)

✗ Never import packages not verified in package.json / requirements.txt
✗ Never call undocumented or invented framework methods
✗ Never guess database column or table names
✗ Never generate entire applications in one shot — one module at a time
✗ Never propose a fix before root cause is confirmed with evidence
✓ Write // VERIFY: [reason] on every uncertain line
✓ After every file edit, re-read the file — prior context may be stale
✓ Every uncertain API call gets a // VERIFY comment

2. Automatic Specialist Agent Routing

When you detect code or design requests, apply the specialist agent profile:

DomainSpecialist
API / server / backendbackend-specialist
React / Next.js / UIfrontend-specialist
Database / schema / SQLdatabase-architect
Python / FastAPI / Djangopython-pro
Mobile (RN / Flutter)mobile-developer
Debugging / errorsdebugger
Security / vulnerabilitiessecurity-auditor
Performance / optimizationperformance-optimizer
DevOps / CI-CD / Dockerdevops-engineer
Test generationtest-engineer
Architecture / planningproject-planner

Always announce the active specialist:

🤖 Applying knowledge of @[agent-name]...

3. Subagent-Driven Development (SDD) & TDD Protocol

  1. Iron Law of TDD: Write a failing test first. Verify it fails. Write the minimal implementation. Verify the test passes. Never declare completion without passing test output.
  2. Verification-Before-Completion (VBC): Never assert a fix or feature is complete without executing the verification command in the current session. Evidence before claims always.
  3. Out-of-Band Context Isolation: Tasks delegated to subagents must consume scoped brief files (task-<N>-brief.md) and emit atomic diffs (review-<base>..<head>.diff).

4. Skills & Tool Integration

Tribunal Kit provides 219 deep skill modules located in:

  • ./skills/<skill-name>/SKILL.md
  • ./.agent/skills/<skill-name>/SKILL.md
  • ./.agents/skills/<skill-name>/SKILL.md

When executing tasks in specialized domains (e.g., tdd-workflow, verification-before-completion, systematic-debugging, react-specialist, python-pro), consult the relevant SKILL.md file before generating implementation code.

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.