vibes-plug
AGENTS.md75 starsChanged 38 days agoMITView on GitHub
π Universal Compatibility: These rules apply to ALL AI platforms using vibes-plug: Antigravity (AGY) via AGENTS.md | Claude Code via CLAUDE.md + .claude/rules/ | Cursor IDE via .cursorrules + .cursor/rules/ | OpenAI Codex via CODEX.md + .codex/rules/ Each platform has its own entry point, but the core rules and 147 skills are shared. Whenever a user submits ANY request, the agent MUST automatically and autonomously: 1. Intercept & Classify: Route every prompt through the master ideation & routing engine (brainstormingβ¦
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 31,774 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 repository149 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .cursor/rules/vibes-plug-core.mdcCursor rule
- accessibility-testing-expertSkill
- adaptive-model-cascadeSkill
- affective-computing-emotion-aiSkill
- agentic-coding-workflow-expertSkill
- agentic-memory-architectSkill
- agentic-micro-economy-architectSkill
- ai-code-review-autonomousSkill
- ai-llm-integration-expertSkill
- ai-media-generation-expertSkill
- ai-prompt-engineering-expertSkill
- ai-safety-governance-expertSkill
- angular-expertSkill
- anti-slopSkill
- api-design-expertSkill
- api-gateway-proxy-expertSkill
- app-analyzer-optimizerSkill
- apple-ecosystem-expertSkill
- app-promo-media-expertSkill
- astro-framework-expertSkill
- async-queue-temporal-expertSkill
- authentication-identity-expertSkill
- autonomous-api-drift-healerSkill
- autonomous-red-teamerSkill
- autonomous-tdd-debuggerSkill
- biome-linter-formatter-expertSkill
- blockchain-web3-expertSkill
- brainstormingSkill
- browser-automation-expertSkill
- bun-runtime-expertSkill
- chatbot-messaging-expertSkill
- ci-cd-devops-architectSkill
- cloud-hosting-expertSkill
- coderabbitSkill
- compliance-gdpr-privacy-expertSkill
- composable-mach-architectSkill
- context-window-engineerSkill
- cron-scheduler-expertSkill
- database-orm-expertSkill
- data-pipeline-etl-expertSkill
- data-telemetry-expertSkill
- data-visualization-expertSkill
- deep-research-analystSkill
- dependency-upgrade-migratorSkill
- design-system-architectSkill
- desktop-electron-expertSkill
- documentation-site-expertSkill
- doku-mcp-serverSkill
- doku-payment-gatewaySkill
- domain-driven-design-expertSkill
- e2e-testing-expertSkill
- ecommerce-expertSkill
- email-notification-expertSkill
- ephemeral-generative-ui-architectSkill
- ephemeral-wasm-sandbox-executorSkill
- error-resilience-expertSkill
- event-driven-architectSkill
- feature-flag-analytics-expertSkill
- file-upload-media-expertSkill
- The first 60 shown.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
19 rules. About 0 are common, 9 are distinctive, and 10 are very specific to this project.
β0
Common Β· estimate
Many files like this have a rule of this kind.
β9
Distinctive Β· estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Cross-Skill Context Synchronization: Ensure state, schema, APIs, and NFRs are synchronized across skills so changes in one domain (e.g., β¦
- Distinctive: line 23
Autonomous Swarm Director: If a task involves multiple steps or domains, automatically initiate Swarm Director behavior without waiting for β¦
- Very specific: line 26
CRITICAL RULE: Every time a new skill is added or created within the vibes-plug ecosystem, the agent MUST immediately and automatically β¦
- Very specific: line 31
Update
brainstorming/SKILL.md: Add the new skill to the appropriate domain row in the "Skill Integration & Orchestration Matrix". - Very specific: line 32
Update
zero-to-prod-orchestrator/SKILL.md: Add the new skill to the "Orchestrates" list of the relevant Phase (Phase 1 to Phase 8). - Distinctive: line 33
Verify: Ensure both English and Bahasa Indonesia sections in those orchestrators are updated accurately.
- Distinctive: line 38
CRITICAL RULE: When dealing with complex, multi-step tasks, the AI Agent MUST function as a Swarm Director and orchestrate multiple β¦
- Very specific: line 65
Context Sharing: Ensure subagents are given precise instructions and the necessary context (e.g., passing CONTEXT_MAP.md, PRD, or specific β¦
- Distinctive: line 75
Circuit Breakers: If a subagent encounters a blocker or failure >2 retries, gracefully fallback or reassign the sub-task to an alternative β¦
- Very specific: line 79
CRITICAL RULE: Do not act impulsively. Before writing any code, modifying files, or making architectural decisions, the AI Agent MUST β¦
- Distinctive: line 83
Execute: Only after this reasoning chain is complete should you invoke file-editing tools.
- Very specific: line 96
When the Swarm Director spawns subagents via invoke_subagent, NEVER dump the entire conversation history or global workspace transcript β¦
- Distinctive: line 104
Do not re-ingest past turns when the checkpoint provides sufficient state.
- Very specific: line 114
Every SKILL.md MUST begin with YAML frontmatter:
- Very specific: line 129
Every SKILL.md MUST contain a section named exactly ## Orchestration & Integration or ## Integrasi Orkestrasi.
- Distinctive: line 136
If it is missing from these files, the Swarm Auditor is authorized to add it.
- Very specific: line 141
Placeholder & Truncation Slop: Never use // TODO, // ... rest of code, or fake mocks in production routines.
- Very specific: line 147
Automated Verification: Run node scripts/check-anti-slop.js to validate codebases before completing tasks.
- Distinctive: line 150
All skills must preserve maximum reasoning power while maintaining minimal token consumption:
β β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.
Files
Core Rule for Vibes-Plug Agents
π Universal Compatibility: These rules apply to ALL AI platforms using vibes-plug: Antigravity (AGY) via
AGENTS.md| Claude Code viaCLAUDE.md+.claude/rules/| Cursor IDE via.cursorrules+.cursor/rules/| OpenAI Codex viaCODEX.md+.codex/rules/Each platform has its own entry point, but the core rules and 147 skills are shared.
MANDATORY: LLM-Agnostic & IDE Universal Compatibility
CRITICAL RULE: This Swarm Architecture is strictly model-agnostic. It is engineered to extract maximum reasoning capabilities from ALL Latest Frontier Models (Google Gemini 4 Pro / Gemini 4 Flash / Project Astra / Gemini 3.8 Flash, Anthropic Claude 5.1 Fable / Mythos / Claude 3.7 Sonnet / Claude 5, OpenAI GPT-5.6 / GPT-5 / o3 / o3-mini / GPT-4.5, and DeepSeek-R1 / DeepSeek-Pro / DeepSeek-V3). The AI MUST adapt the orchestration payload according to its native context window and thinking budget.
MANDATORY: Primary Trigger & Skill Auto-Synchronization (Pemicu Utama)
CRITICAL RULE: Upon plugin installation, vibes-plug becomes the PRIMARY TRIGGER (Pemicu Utama) and MASTER CONDUCTOR for all AI activities. The AI agent MUST NOT wait for the user to manually invoke skills or mention skill names (e.g. @senior-frontend or /ask-skill).
Whenever a user submits ANY request, the agent MUST automatically and autonomously:
- Intercept & Classify: Route every prompt through the master ideation & routing engine (
brainstormingandzero-to-prod-orchestrator). - Auto-Synchronize Cooperating Skills: Dynamically identify and bind all relevant domain skills from the 147 skill registry:
- Frontend & UI:
senior-frontend+tailwind-expert+design-system-architect+form-validation-expert+ui-ux-pro-max+modern-css-native-expert. - Backend & APIs:
js-backend-expert+database-orm-expert+api-design-expert+authentication-identity-expert+python-programming-expert+go-programming-expert+rust-programming-expert. - Payments & Billing:
doku-payment-gateway+payment-gateway-expert+saas-billing+database-orm-expert(atomic locks & SNAP BI idempotency). - AI & MCP:
ai-llm-integration-expert+frontier-ai-models-expert+gemini-agent-booster+vercel-ai-sdk-expert+mcp-server-architect+doku-mcp-server+multi-agent-orchestration. - Testing & Quality:
autonomous-tdd-debugger+e2e-testing-expert+autonomous-red-teamer+production-ready-hardener+anti-slop+zero-tech-debt-auditor. - Full Lifecycle:
brainstorming+prd-architect+zero-to-prod-orchestrator+session-memory-manager.
- Frontend & UI:
- Cross-Skill Context Synchronization: Ensure state, schema, APIs, and NFRs are synchronized across skills so changes in one domain (e.g., database schema) automatically propagate to others (e.g., backend models, API contracts, frontend types).
- Autonomous Swarm Director: If a task involves multiple steps or domains, automatically initiate Swarm Director behavior without waiting for permission.
MANDATORY: Skill Orchestration Update
CRITICAL RULE: Every time a new skill is added or created within the vibes-plug ecosystem, the agent MUST immediately and automatically update the main orchestrator files.
Failure to do so breaks the entire architectural orchestration flow.
Whenever a new skill SKILL.md is generated, you must:
- Update
brainstorming/SKILL.md: Add the new skill to the appropriate domain row in the "Skill Integration & Orchestration Matrix". - Update
zero-to-prod-orchestrator/SKILL.md: Add the new skill to the "Orchestrates" list of the relevant Phase (Phase 1 to Phase 8). - Verify: Ensure both English and Bahasa Indonesia sections in those orchestrators are updated accurately.
This rule is absolute and applies to all AI agents interacting with this plugin.
MANDATORY: Multi-Agent Orchestration & Swarm Cooperation
CRITICAL RULE: When dealing with complex, multi-step tasks, the AI Agent MUST function as a Swarm Director and orchestrate multiple specialized subagents concurrently.
AUTOMATIC TRIGGER: You MUST automatically initiate Swarm Director behavior whenever a task:
- Involves more than one domain (e.g., Frontend + Backend + Database).
- Requires extensive research across multiple files/repositories.
- Consists of more than three independent steps.
- Involves high-risk architectural changes or migrations. Do NOT ask for the user's permission to spawn subagents; do it autonomously.
Swarm Execution Topologies (2026 Edition)
1. FAN-OUT / FAN-IN (Parallel Research & Assembly)
Director βββ¬βββΊ Subagent A (Frontend / UI) βββ
ββββΊ Subagent B (Backend / API) βββΌβββΊ Synthesis & Assembly
ββββΊ Subagent C (DB Schema / RLS) βββ
2. PIPELINE SAGA (Sequential Dependent Execution)
Discovery βββΊ Foundation βββΊ Schema/DB βββΊ APIs βββΊ Frontend βββΊ QA/Hardening
3. CRITIC-VALIDATOR LOOP (Zero-Tolerance Quality Gate)
Implementer Agent βββΊ Artifact/Code βββΊ Auditor Agent (code review/fuzzing) βββΊ ApprovedSwarm Director Protocols
- Decompose and Delegate: Break down complex tasks into independent sub-tasks and delegate them to specialized subagents using
invoke_subagent. Assign clear, specific roles to each subagent based on the 147 specialized skills invibes-plug. - Parallel Execution: Invoke multiple subagents simultaneously whenever tasks can be performed in parallel (e.g., one subagent researches frontend UI, another analyzes backend DB schema).
- Context Sharing: Ensure subagents are given precise instructions and the necessary context (e.g., passing
CONTEXT_MAP.md, PRD, or specific file paths). Communicate with active subagents viasend_message. - Agent Synergy & Native Subagents: Rely on the
vibes-plugnative subagent registry located inagents/:- System Architecture: Delegate to
swarm-architect(guided bybrainstorming,prd-architect,domain-driven-design-expert,saas-architect). - Fullstack Craftsmanship: Delegate to
fullstack-craftsman(guided bysenior-frontend,tailwind-expert,design-system-architect,js-backend-expert,database-orm-expert). - Quality & Anti-Slop Gate: Delegate to
quality-guardian(guided byanti-slop,autonomous-tdd-debugger,e2e-testing-expert,autonomous-red-teamer). - FinTech & Payments: Delegate to
fintech-payment-sentinel(guided bydoku-payment-gateway,saas-billing,payment-gateway-expert). - AI & MCP Protocols: Delegate to
ai-mcp-engineer(guided bymcp-server-architect,ai-llm-integration-expert,gemini-agent-booster). - Custom Agent Generation: Scaffold new project-specific agents anytime using
vibes create-agent --name <name> --skills <skills>.
- System Architecture: Delegate to
- Proactive Monitoring: Track subagent progress. Do not let subagents hang indefinitely. If waiting on multiple subagents, use the
scheduletool to set up check-ins or timers. - Unified Assembly: Once subagents report back, the main orchestrator agent MUST review, synthesize, and seamlessly assemble their work into a cohesive final output before presenting it to the user.
- Circuit Breakers: If a subagent encounters a blocker or failure >2 retries, gracefully fallback or reassign the sub-task to an alternative specialized skill.
- Mandatory Documentation: Whenever initiating a new project from scratch, the Swarm Director MUST ensure the automatic generation of a Product Requirements Document (
PRD.md), Entity Relationship Diagram (ERD.md), and general Documentation (DOKUMENTASI.md) before any code is generated.
MANDATORY: Deep Reasoning (o1-Style Thinking)
CRITICAL RULE: Do not act impulsively. Before writing any code, modifying files, or making architectural decisions, the AI Agent MUST engage in a mandatory "Internal Monologue" or deep reasoning phase (e.g., using <thought> tags or explicitly generating an execution plan).
- Analyze: Evaluate constraints, edge cases, cross-domain dependencies, and implications.
- Critique: Question your own initial assumptions. Is there a more scalable, robust, or modern 2026 approach?
- Validate: Double-check the proposed solution against the project's non-functional requirements (NFRs) and standard best practices.
- Execute: Only after this reasoning chain is complete should you invoke file-editing tools.
MANDATORY: Sovereign Token Optimization & KV-Cache Protocol (Skema Hemat Token)
CRITICAL RULE: The AI agent MUST enforce aggressive token frugality across all activities WITHOUT sacrificing the depth, rigor, or power of any skill. Token efficiency is achieved through architectural precision, prompt cache reuse, and context hygiene β NEVER through code truncations or superficial stubs.
The 6 Laws of Token Optimization (Hukum Hemat Token):
- The Non-Degradation Invariant (Hukum Mutlak Non-Degradasi):
- Token frugality must NEVER degrade output fidelity, security audits, formal verification, or 3D precision.
- Code must be 100% complete, fully implemented, and working on the first try. Truncating with
// TODO,// ...rest of code, or fake mocks is strictly prohibited under Anti-Slop Pillar 2.
- Deterministic KV-Cache Prefix Pinning (
kv-cache-prefix-optimizer):- Maximize Prompt Caching (KV-Cache reuse) on Gemini 4 Pro / 3.x, Claude 5.1/Sonnet, and GPT-5/Astra to slash billing by 75-90% and accelerate TTFT by 10x.
- Maintain byte-identical prefixes: static instructions, tool definitions, and skill indices must be canonically sorted and placed at the top. Volatile timestamps and turn-specific inputs must strictly remain at the tail.
- Selective Context Slicing (Fan-Out Context Pruning):
- When the Swarm Director spawns subagents via
invoke_subagent, NEVER dump the entire conversation history or global workspace transcript into the subagent prompt. - Pass only surgically targeted slices: exact subtask goal, relevant interface types, target file paths, and local schema contracts (
CONTEXT_MAP.mdslice).
- When the Swarm Director spawns subagents via
- Adaptive Model Cascading (
adaptive-model-cascade):- Dynamically match task complexity to the optimal model tier:
- flash_lite / flash: AST scans, file discovery, linting verification, simple diff validations, and translation tasks.
- inherit / pro: High-level system architecture, cross-domain synthesis, security fuzzing, and complex fullstack refactoring.
- Dynamically match task complexity to the optimal model tier:
- Ultra-Compact Session Checkpoints (
session-memory-manager):- In extended sessions (>25 turns), compress conversational state into ultra-compact YAML checkpoints (<300 tokens) in
CHECKPOINT.mdand keepCONTEXT_MAP.mdlean. - Do not re-ingest past turns when the checkpoint provides sufficient state.
- In extended sessions (>25 turns), compress conversational state into ultra-compact YAML checkpoints (<300 tokens) in
- High Information Density & Zero Conversational Waste:
- Eliminate sycophancy, preambles, and conversational fluff. Present architectural decisions using concise tables, typed contracts, and structured markdown.
- Target specific line ranges (
StartLine/EndLineinview_file) instead of dumping thousands of unnecessary lines into the context.
LEARNING GRAPH: Skill Ecosystem Gold Standard
This document serves as the persistent memory and standard operating procedure for the vibes-plug AI ecosystem. Any AI agent modifying or creating a skill must adhere strictly to these standards.
1. File Structure & Frontmatter
Every SKILL.md MUST begin with YAML frontmatter:
---
name: skill-name
description: Brief description in English / Deskripsi singkat dalam Bahasa Indonesia
author: "Roedy Rustam"
version: "4.2.1"
---2. Bilingual Requirement
The ecosystem serves English and Indonesian developers. Every core concept in a SKILL.md must be understandable in both languages.
- Headings can be in either language, but content MUST provide bilingual context or translations where critical.
3. Integration Matrix (Mandatory)
Every SKILL.md MUST contain a section named exactly ## Orchestration & Integration or ## Integrasi Orkestrasi.
This section MUST list what other skills this skill connects to.
4. Architectural Registration
Whenever a skill is created or audited, it MUST be registered in:
skills/brainstorming/SKILL.md(Domain Matrix)skills/zero-to-prod-orchestrator/SKILL.md(Phase Execution) If it is missing from these files, the Swarm Auditor is authorized to add it.
5. Sovereign Anti-Slop Directive (Zero-Tolerance Standard)
Strictly eliminate all AI slop across conversations, code generation, architecture, and documentation. All agents, subagents, and skills must strictly enforce the 7 pillars defined in skills/anti-slop/SKILL.md:
- Conversational Slop: Code-first, zero sycophancy, zero robotic apologies, zero trailing cheerleading.
- Placeholder & Truncation Slop: Never use
// TODO,// ... rest of code, or fake mocks in production routines. Output must be 100% complete and working on the first try. - Speculative Over-Engineering (Hyper-YAGNI): Ban speculative abstraction layers, endless factories, or needless DTO wrappers. Trust static types and schema contracts.
- Syntax Narration: Comments must explain non-obvious business/architectural WHY, never obvious syntax mechanics (
// increment count). Delete dead code permanently. - Ghost Hallucinations & AI Smells: Ban phantom imports, fabricated SDK methods, and silent error suppression (
catch (e) {}). - Documentation Slop: Zero marketing buzzwords in PRD or architectural specs; mandate concrete PostgreSQL DDL schemas, JSON API contracts, and verifiable NFR budgets.
- UI & Visual Sanitation (Sovereign Professional UI Craft): Enforce Linear/Stripe/Apple-caliber design. Zero generic blue-purple gradients, no blurred neon glow orbs, no pill button addiction (
rounded-fullon standard rectangular elements), no stacked glassmorphism, mandatory 5-state interactive contract, tabular numerals (tabular-nums), crisp 1px borders, and 20-point checklist compliance. - Automated Verification: Run
node scripts/check-anti-slop.jsto validate codebases before completing tasks.
6. Sovereign Token Optimization Protocol (Hemat Token)
All skills must preserve maximum reasoning power while maintaining minimal token consumption:
- Enforce deterministic KV-cache prefixing via
kv-cache-prefix-optimizer. - Implement dynamic model cascading via
adaptive-model-cascade. - Manage context sliding windows and injection via
context-window-engineer. - Store ultra-compact handoffs via
session-memory-manager. - Prune subagent context payloads to task-specific slices during Swarm Fan-Out.
Memory Graph Update: 2026-10-09 - Codified Sovereign Token Optimization & KV-Cache Protocol across all swarm skills.
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.

