Integrations Folder
The integrations/ folder contains optional integration rules for external AI-native tools. These are Markdown files that tell your AI agent how to cooperate with external tools like RTK, Caveman, and Ponytail.
What Integrations Are
Section titled “What Integrations Are”Integrations are rules-first. AIOS writes local guidance files without requiring external tools to be installed. When you run aios integration add, it copies rule files into your project. The agent reads these rules and adjusts its behavior accordingly.
Integration Files
Section titled “Integration Files”| File | Purpose |
|---|---|
README.md | Overview of available integrations and usage |
rtk.md | Rules for compacting noisy terminal output |
caveman.md | Rules for concise response style |
ponytail.md | Rules for minimal correct implementation choices |
Detailed Reference
Section titled “Detailed Reference”README.md
Section titled “README.md”Purpose: Lists supported integrations and shows basic usage commands.
When to use: Reference file for understanding what integrations are available.
Behavior change: None - informational only.
Must not be used for: Does not activate any integration or install any tool.
Related CLI commands:
aios integration listaios integration statusSafety boundaries: Informational file only. Does not store secrets, does not install external tools, does not change agent behavior.
rtk.md
Section titled “rtk.md”Purpose: Guide the agent to compact noisy terminal command output before it enters AI context.
When to enable: When your project generates large command output (test runners, build logs, git output, docker logs).
Behavior change: The agent uses RTK to compact output from test runners, build/lint output, git status/diff/log, large file listings, and service logs.
Must not be used for:
- When the user asks for exact full output
- When a command mutates state and full output matters
- When RTK output is ambiguous
Related CLI commands:
aios integration listaios integration statusaios integration add rtkaios integration remove rtkaios integration doctoraios integration repairSafety boundaries: RTK compacts output for readability. It does not hide errors or change command behavior. Does not store secrets. External install requires explicit --install flag.
caveman.md
Section titled “caveman.md”Purpose: Guide the agent to use concise response style for status updates and debug loops.
When to enable: When you want shorter operational updates during implementation.
Behavior change: The agent uses concise, direct responses for status updates, debug loops, command summaries, and progress notes.
Must not be used for:
- PRDs, ADRs, architecture documents
- Security review reports, migration plans, release notes
- Final answers that need nuanced explanation
Related CLI commands:
aios integration listaios integration statusaios integration add cavemanaios integration add caveman --mode liteaios integration remove cavemanaios integration doctoraios integration repairSafety boundaries: Caveman style applies only to operational communication. Formal artifacts remain complete. Does not store secrets. External install requires explicit --install flag.
ponytail.md
Section titled “ponytail.md”Purpose: Guide the agent to prefer the smallest correct implementation after understanding the task and affected code.
When to enable: When you want coding work to avoid unnecessary abstractions, dependencies, scaffolding, or custom code that native platform features already cover.
Behavior change: The agent uses Ponytail’s minimal-correct-code ladder for implementation, refactor, bugfix, and over-engineering review work.
Must not be used for:
- Skipping task/context reading
- Removing explicit acceptance criteria
- Weakening validation, security, accessibility, or needed tests
- Shrinking formal artifacts that need complete reasoning
Related CLI commands:
aios integration listaios integration statusaios integration add ponytailaios integration add ponytail --mode fullaios integration remove ponytailaios integration doctoraios integration repairSafety boundaries: Ponytail affects implementation choices only. Formal artifacts remain complete. Does not store secrets. External install requires explicit --install flag.
Rules-First Behavior
Section titled “Rules-First Behavior”When you enable an integration:
- AIOS writes local rule files to
.aios/integrations/ - The config in
.aios/config.jsonis updated withintegrations.<name>.enabled: true - Your AI agent reads the rules and adjusts behavior
- No external tools are installed unless you explicitly use
--install
This means integrations work even without the external tool installed. The rules guide the agent to produce output in the expected format.
Safety Boundaries
Section titled “Safety Boundaries”All integrations share these safety boundaries:
- Must not store secrets - Integration files never contain API keys, tokens, passwords, or credentials.
- Must not silently install external tools - External tool installation only runs with explicit
--installflag and confirmation. - Must not weaken documentation requirements - Formal artifacts (PRDs, ADRs, architecture docs, reviews, release notes) remain complete regardless of integration style settings.
Related Pages
Section titled “Related Pages”- Integrations Guide - How to use integration commands
- Command Guide - Integration management commands
- CLI Reference - Full
aios integrationcommand syntax - Building Blocks - What each AIOS artifact type does