agent-setup-bundle
AGENTS.md0 starsChanged 3 months agoMITView on GitHub
This document establishes the machine-readable repository blueprint and autonomous installation instructions for any AI Coding Agent (OpenAI Codex, Claude Code, Antigravity / Gemini CLI, Cursor IDE, Cline, Roo Code, OpenCode). If your user asked you to "install this repository", "set up my environment", or gave you the link to this repo, execute the following autonomous protocol immediately:
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 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 repository3 other files it gives its agents.
- templates/AGENTS.mdAGENTS.md
- core/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
If your user asked you to "install this repository", "set up my environment", or gave you the link to this repo, execute the following …
- Very specific: line 13
Windows (PowerShell): Run powershell -ExecutionPolicy Bypass -File .\install.ps1 -All or python install.py --all
- Very specific: line 14
Linux & macOS: Run chmod +x install.sh && ./install.sh --all or python3 install.py --all
- Distinctive: line 17
Run the test suite validator and worker unit tests to confirm that all 16 rules, 39 skills, and sub-worker ecosystems are properly …
- Very specific: line 96
Deterministic Cross-Platform Parity: All 3 installers (install.sh, install.ps1, install.py) MUST produce identical target states in the …
- Very specific: line 97
Zero Breaking Changes to Existing Configs: Never overwrite an existing settings.json, config.toml, or mcp.json if it already exists.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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.
Files
Agent Context & Autonomous Installation Blueprint (AGENTS.md)
<!-- Standardized by the Agentic AI Foundation (AAIF) -->This document establishes the machine-readable repository blueprint and autonomous installation instructions for any AI Coding Agent (OpenAI Codex, Claude Code, Antigravity / Gemini CLI, Cursor IDE, Cline, Roo Code, OpenCode).
⚡ Autonomous AI Agent Installation Protocol
If your user asked you to "install this repository", "set up my environment", or gave you the link to this repo, execute the following autonomous protocol immediately:
Step 1: Detect Operating System & Shell
- Windows (PowerShell): Run
powershell -ExecutionPolicy Bypass -File .\install.ps1 -Allorpython install.py --all - Linux & macOS: Run
chmod +x install.sh && ./install.sh --allorpython3 install.py --all
Step 2: Validate Installation Integrity
Run the test suite validator and worker unit tests to confirm that all 16 rules, 39 skills, and sub-worker ecosystems are properly installed:
- Command:
python3 scripts/validate_suite.py(orpython scripts/validate_suite.pyon Windows) - Worker Tests:
python3 scripts/tests/test_worker.py - Worker Diagnostics:
python3 scripts/worker_cli.py check(orworker checkin bash) - Success Signal:
>>> SUCCESS: All checks passed! (16 rules, 39 skills, 4 platforms)
Step 3: Adopt Senior AI Pair Programmer Role Immediately
From this point forward in the active conversation, you must adopt the PRAR + Zero Speculation + Pre-Flight Skill Gate + Context Engineering + Sub-Worker Delegation operating rules defined in core/CODEX.md (for Codex/ChatGPT), core/CLAUDE.md (for Claude Code), core/GEMINI.md (for Gemini/Antigravity), or core/cursor/rules/core-directives.mdc (for Cursor).
Step 4: Report to User
Report to the user that their multi-platform engineering suite is installed, and advise them on how to copy templates/AGENTS.md into their new or existing repositories.
1. Project Identity & Stack Architecture
- Project Name:
agent-setup-bundle - Purpose: Production-grade, cross-platform configuration suite (16 core rules, 39 skills, FastMCP Sub-Worker Delegation Bridge, 13-server MCP matrix, and templates) for OpenAI Codex, Antigravity / Gemini CLI, Claude Code, and Cursor IDE.
- Supported Operating Systems: Windows (Native PowerShell & Python), macOS (Terminal / zsh), Linux (Bash / zsh).
- Core Runtime: Python 3.8+, Bash 4+, PowerShell 5.1 / 7+, FastMCP, Aider Headless.
2. Mandatory Commands (Executable Truth)
| Action | Linux / macOS | Windows (PowerShell) | Universal (Python) |
| Install All Platforms | ./install.sh --all | .\install.ps1 -All | python install.py --all |
| Install OpenAI Codex | ./install.sh --codex | .\install.ps1 -Codex | python install.py --codex |
| Install Gemini CLI | ./install.sh --gemini | .\install.ps1 -Gemini | python install.py --gemini |
| Install Claude Code | ./install.sh --claude | .\install.ps1 -Claude | python install.py --claude |
| Install Cursor IDE | ./install.sh --cursor | .\install.ps1 -Cursor | python install.py --cursor |
| Validate Suite Integrity | python3 scripts/validate_suite.py | python scripts/validate_suite.py | python scripts/validate_suite.py |
| Run Worker Unit Tests | python3 scripts/tests/test_worker.py | python scripts/tests/test_worker.py | python scripts/tests/test_worker.py |
| Check Sub-Workers Health | worker check | python scripts/worker_cli.py check | python scripts/worker_cli.py check |
3. Directory Topography
agent_setup_bundle/
├── AGENTS.md # Master repository blueprint & AI installer instructions
├── README.md # Master technical documentation & cross-platform guide
├── CAREER_KNOWLEDGE_BANK.md # Master SSOT for career portfolios, metrics & STAR+R cases
├── PROMPT_FOR_AI.md # Universal bootstrap prompts
├── llms.txt # Semantic summary for web-enabled LLM agents
├── .env.example # Universal environment configuration template
├── install.sh # Native Bash installer (Linux / macOS)
├── install.ps1 # Native PowerShell installer (Windows)
├── install.py # Universal Python 3 installer (All OSes)
├── core/ # Platform manifests (CODEX.md, GEMINI.md, CLAUDE.md, cursor)
├── rules/ # 16 Universal Rules (~/.agents/rules/)
├── skills/ # 39 Modular Skills (~/.agents/skills/)
├── templates/
│ ├── AGENTS.md # Project-level starter template
│ ├── CONVENTIONS.md # Universal coding conventions for Aider / sub-workers
│ └── .aider.conf.yml.template # Universal Aider configuration template
├── config/
│ ├── worker_profiles.json # Sub-worker model routing profiles & context bounds
│ ├── .aider.model.settings.yml # Aider model behavioral settings & diff formats
│ ├── .aider.model.metadata.json # Aider token limit overrides (1M context / 65k output)
│ ├── mcp_config.json # Gemini CLI MCP configuration template (13 servers)
│ ├── settings.json # Gemini CLI general settings
│ ├── codex_config.toml # OpenAI Codex configuration template
│ └── cursor_mcp.json # Cursor IDE MCP configuration template
├── policies/ # MCP tool planning policies
└── scripts/
├── worker_mcp.py # FastMCP server for autonomous sub-worker delegation
├── worker_cli.py # Developer CLI companion (`worker`)
├── tests/
│ └── test_worker.py # Unit test suite for worker ecosystem
└── validate_suite.py # Quality assurance test suite4. Invariants & Guardrails
- Deterministic Cross-Platform Parity: All 3 installers (
install.sh,install.ps1,install.py) MUST produce identical target states in the user's home directory. - Zero Breaking Changes to Existing Configs: Never overwrite an existing
settings.json,config.toml, ormcp.jsonif it already exists; only provision missing templates. - Strict Validation: Any pull request or modification MUST pass
python scripts/validate_suite.pyandpython scripts/tests/test_worker.pywith 0 errors. - Sub-Worker Delegation Protocol: Sub-workers execute repetitive grunt work (boilerplate, tests, docs, refactors) in sandboxed Git Worktrees with Zero Context Bleed and auto-testing enabled.
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
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.

