kilo-kit-mcp
AGENTS.md27 starsChanged 3 months agoApache-2.0View on GitHub
Applies to: Antigravity, Gemini CLI, Claude Code, OpenAI Codex
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 repository163 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- agent-memorySkill
- claukitSkill
- mcp-agent-patternsSkill
- multi-agent-orchestrationSkill
- workflow-state-machinesSkill
- ai-multimodalSkill
- geo-fundamentalsSkill
- media-processingSkill
- screenshotSkill
- seo-fundamentalsSkill
- soraSkill
- aestheticSkill
- figma-implement-designSkill
- figmaSkill
- frontend-designSkill
- mobile-designSkill
- tailwind-patternsSkill
- ui-stylingSkill
- agentic-ragSkill
- api-patternsSkill
- app-builderSkill
- architectureSkill
- ask-mattSkill
- aspnet-coreSkill
- backend-developmentSkill
- better-authSkill
- clean-codeSkill
- code-agent-patternsSkill
- codebase-designSkill
- code-review-checklistSkill
- code-reviewSkill
- context-engineeringSkill
- context-optimizationSkill
- database-designSkill
- databasesSkill
- diagnoseSkill
- diagnosing-bugsSkill
- docs-seekerSkill
- domain-modelingSkill
- frontend-dev-guidelinesSkill
- graph-ragSkill
- i18n-localizationSkill
- implementSkill
- improve-codebase-architectureSkill
- lint-and-validateSkill
- llm-evalsSkill
- nextjs-best-practicesSkill
- nodejs-best-practicesSkill
- openai-docsSkill
- performance-profilingSkill
- playwright-interactiveSkill
- playwrightSkill
- prompt-engineeringSkill
- prototypeSkill
- python-patternsSkill
- react-patternsSkill
- render-deploySkill
- repomixSkill
- researchSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 2 are distinctive, and 9 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.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Call MCP tool kilo_orchestrate_task with the user's request as your FIRST action.
- Very specific: line 17
For Features / Architecture: MUST call kilo_think_step (DAG with 3 trade-off options) and kilo_grill_plan (Adversarial Red-Team stress …
- Very specific: line 18
For Bugs / Errors: MUST call kilo_trace_root_cause with { errorLog, failingFile } to extract the 5-Whys causal chain before writing any fix.
- Very specific: line 19
For Context Overload (>4 files read): Call kilo_compact_context to lock invariants and prevent attention degradation.
- Very specific: line 22
Call kilo_orchestrate_task with brainstormingApproved=true.
- Very specific: line 31
Dimension 1 (Spec Fidelity): Verify against user requirements using Given-When-Then acceptance criteria …
- Very specific: line 32
Dimension 2 (Clean Code): Verify deep module interfaces and zero dead code (engineering/clean-code).
- Very specific: line 33
Dimension 3 (UX & Aesthetics): Verify responsive layout and mobile touch safety (design/aesthetic, design/mobile-design).
- Distinctive: line 34
Dimension 4 (Empirical & Playwright): Run compile/build commands AND execute tests before claiming completion.
- Very specific: line 35
Continuous Reflection: Call kilo_record_reflection with sessionId to persist lessons learned into SQLite memory.
- Distinctive: line 38
Iron Law: NEVER execute a tool call with an empty text response.
≈ “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.
Files
<!-- KILO-KIT:C4:START -->Kilo-Kit C4 v3.0 Cognitive Protocol
Applies to: Antigravity, Gemini CLI, Claude Code, OpenAI Codex
🧠 DIVISION OF LABOR (VỎ NÃO & CHÂN TAY):
- Kilo-Kit MCP (Cortex): High-level cognitive reasoning, 5-Whys root cause tracing, Tree-of-Thoughts DAG planning, adversarial red-teaming, context compaction, skill delivery, and SQLite learning memory.
- Execution Limbs: Perform surgical changes with defense-in-depth using your native tools or Kilo-Kit tools with Kilo-Sentinel supervision.
🏛️ MANDATORY 5-GATE COGNITIVE PROTOCOL:
- Gate 1 (Hard-Gate & Grounded Probe):
- Call MCP tool
kilo_orchestrate_taskwith the user's request as your FIRST action. - Perform read-only exploratory probing (
view_file,grep_search, orkilo_read_file) to build a Grounded Diagnostic Model.
- Call MCP tool
- Gate 2 (Substantive Cognitive Reasoning & Benchmarking):
- For Features / Architecture: MUST call
kilo_think_step(DAG with 3 trade-off options) andkilo_grill_plan(Adversarial Red-Team stress test). Callkilo_benchmark_solutionto audit against industry standards. - For Bugs / Errors: MUST call
kilo_trace_root_causewith{ errorLog, failingFile }to extract the 5-Whys causal chain before writing any fix. - For Context Overload (>4 files read): Call
kilo_compact_contextto lock invariants and prevent attention degradation.
- For Features / Architecture: MUST call
- Gate 3 (Approval & Skill Delivery):
- Call
kilo_orchestrate_taskwithbrainstormingApproved=true. - Load required workflow skills using
kilo_get_skill(supports aliases likebrainstorming,diagnose,playwright,tdd,clean-code). - (Optional) Check supervisor status via
kilo_sentinel_status.
- Call
- Gate 4 (Surgical Implementation & Defense-in-Depth):
- Apply
problem-solving/defense-in-depth(validation at input, logic, and persistence layers). - Maintain
engineering/clean-codestandards with zero bloat.
- Apply
- Gate 5 (4D Quality Assurance & Reflection):
- Dimension 1 (Spec Fidelity): Verify against user requirements using Given-When-Then acceptance criteria (
productivity/spec-driven-development). - Dimension 2 (Clean Code): Verify deep module interfaces and zero dead code (
engineering/clean-code). - Dimension 3 (UX & Aesthetics): Verify responsive layout and mobile touch safety (
design/aesthetic,design/mobile-design). - Dimension 4 (Empirical & Playwright): Run compile/build commands AND execute tests before claiming completion.
- Continuous Reflection: Call
kilo_record_reflectionwith sessionId to persist lessons learned into SQLite memory.
- Dimension 1 (Spec Fidelity): Verify against user requirements using Given-When-Then acceptance criteria (
📢 MANDATORY INTER-TOOL NARRATION (ZERO SILENT CHAINS):
- Iron Law: NEVER execute a tool call with an empty text response. Every turn that invokes a tool call MUST include a visible 1-2 sentence text body to the terminal user before the tool executes.
- Micro-Narration Format (MANDATORY in every single tool response):
[DECISION]:State what you just concluded, selected, or verified cụ thể.[NEXT]:State what tool you are calling next and for what purpose.
- STRICT PROHIBITION: Emitting tool calls with empty text content (
content: "") or chaining 2+ tool calls silently without user-facing text between them is a strict protocol violation.
<!-- KILO-KIT:C4:END -->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.

