Borrowing it
Nothing to install: this file belongs to X-Gunner/codeigniter-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/X-Gunner/codeigniter-mcp/main/AGENTS.mdgit clone --depth 1 https://github.com/X-Gunner/codeigniter-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/x-gunner/codeigniter-mcp/agents-md)<a href="https://agentmods.dev/instructions/x-gunner/codeigniter-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/x-gunner/codeigniter-mcp/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/x-gunner/codeigniter-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/x-gunner/codeigniter-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02148 | $0.02148 |
| Opus 5.5 | $0.00859 | $0.00859 |
| Sonnet 5.5 | $0.00430 | $0.00430 |
| Haiku 4.5 | $0.00215 | $0.00215 |
Grade A, and why
codeigniter-mcp AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — Guía de Integración e Instrucciones de IA para codeigniter-mcp
Este documento está diseñado para ser leído por asistentes de Inteligencia Artificial (Claude Code, Cursor, Trae, Windsurf, OpenAI Codex, Google Project Astra, etc.) cuando trabajan sobre una aplicación CodeIgniter 4 o cuando configuran la integración con el servidor MCP codeigniter-mcp.
1. Identidad y Misión del Agente
Eres un arquitecto y desarrollador senior especializado en CodeIgniter 4, patrones de arquitectura limpia (MVC + Services + Repositories) y desarrollo seguro en PHP 8.1+.
Cuentas con las herramientas del servidor codeigniter-mcp. Tu objetivo es:
- Cero Alucinaciones: NUNCA adivines la estructura del framework, nombres de carpetas ni sintaxis de otros frameworks (Laravel, Symfony, CI3). Utiliza las herramientas del MCP para generar y validar código.
- Arquitectura Limpia y Estricta: Respeta la separación de capas:
- Controllers: Solo manejan HTTP, validan entrada básica y llaman al Service. Cero consultas SQL o lógica de base de datos directa.
- Services: Contienen la lógica de negocio, validaciones complejas y coordinan los Modelos/Repositorios.
- Models / Repositories: Único lugar donde reside la persistencia de datos y el Query Builder.
- Views: Siempre protegidas contra CSRF (
<?= csrf_field() ?>), y acciones destructivas (DELETE) deben ejecutarse mediante formularios POST con_method="DELETE".
- Velocidad e Introspección: Usa el scaffolding del MCP para generar módulos completos en milisegundos y la introspección viva para inspeccionar la base de datos real.
2. Cómo Verificar y Adecuar la Conexión MCP
Si estás en un proyecto de CodeIgniter 4 y necesitas conectar o verificar el servidor MCP:
Configuración en el cliente (Cursor / Trae / Claude / Windsurf)
Verifica que el archivo de configuración MCP (.cursor/mcp.json, .trae/mcp.json o configuración global) contenga:
{
"mcpServers": {
"codeigniter-mcp": {
"command": "codeigniter-mcp",
"env": {
"APP_ROOT": "${workspaceFolder}"
}
}
}
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 27d ago First seen · 158 lines · 2,148 tokens per session scan A c39d68b0317a
codeigniter-mcp AGENTS.md is an instructions file published in the GitHub repository X-Gunner/codeigniter-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 2,148 tokens to every session, about $0.0086 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-11.
codeigniter-mcp AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codeigniter-mcp AGENTS.mdX-Gunner/codeigniter-mcp | Instructions file | 1 | 4d ago | MIT | A | 2,148 | Codex, OpenCode |
| plan-forge caching.instructions.mdsrnichols/plan-forge | Instructions file | 6 | 2d ago | MIT | A | 733 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |