Open source · AGENTS.md

Open source · AGENTS.md

Una sola configuración de contexto para todos tus agentes de IA

One context configuration for every AI coding agent you use

Claude Code, Codex, Antigravity y Cursor gastan contexto — y dinero — releyendo tu proyecto en cada tarea. ctxopt les da lo que necesitan y nada más.

Claude Code, Codex, Antigravity, and Cursor spend context — and money — re-reading your project on every task. ctxopt gives them exactly what they need, nothing more.

Sin ctxopt tarea de búsqueda
Without ctxopt search task
644.6k tokens de contexto nuevo
644.6k new context tokens
Con ctxopt misma tarea
With ctxopt same task
228.8k tokens — 64.5% menos
228.8k tokens — 64.5% less
$ npm install -g @aagb/ctxopt
GitHub →

El problema

The problem

El contexto es el costo real, no el modelo

Context is the real cost, not the model

Cada vez que le pides algo a tu agente de IA, tiene que releer buena parte de tu proyecto para entender de qué hablas. Mientras más grande el proyecto, más fácil es que revise información que no necesita para esa tarea puntual — y eso se paga en tokens.

Every time you ask your AI agent for something, it has to re-read a good chunk of your project to understand what you mean. The bigger the project, the easier it is for it to load information it doesn't need for that specific task — and that gets paid for in tokens.

ctxopt no promete hacer tu agente "más inteligente". Le da un mapa del proyecto (AGENTS.md), filtra la salida ruidosa de tests y builds, y le da memoria entre sesiones — para que explore menos y acierte más rápido.

ctxopt doesn't promise to make your agent "smarter." It gives it a map of the project (AGENTS.md), filters noisy test/build output, and gives it memory across sessions — so it explores less and gets there faster.

Qué instala

What it installs

Seis comandos, cada uno resuelve una cosa

Six commands, each solving one thing

ctxopt init

Detecta el stack de tu proyecto automáticamente.

Auto-detects your project's stack.

ctxopt generate

Crea AGENTS.md y su adaptador para Claude Code.

Creates AGENTS.md and its Claude Code adapter.

ctxopt hooks

Filtra la salida verbosa de tests y builds.

Filters verbose test and build output.

ctxopt memory init

Memoria persistente que el agente llena por su cuenta.

Persistent memory the agent fills in on its own.

ctxopt agents

Subagentes con el modelo correcto para cada tarea.

Subagents with the right model assigned per task.

ctxopt adapters

Verifica compatibilidad con los 4 agentes principales.

Checks compatibility across the 4 major agents.

Evidencia, no promesas

Evidence, not promises

Medido en un proyecto real de producción

Measured on a real production project

Next.js + TypeScript + Supabase, ~220 archivos. Misma tarea, con y sin ctxopt.

Next.js + TypeScript + Supabase, ~220 files. Same task, with and without ctxopt.

64.5%

menos contexto nuevo procesado en tareas de exploración de código

less new context processed on code-exploration tasks

35→6

líneas de salida de un test real, tras pasar por el filtro

lines of real test output, after the filter

16%

ahorro de costo total en 3 tareas variadas — mixto, no siempre hay ganancia

total cost savings across 3 varied tasks — mixed, not always a win

El ahorro depende de la tarea: mayor cuando el agente explora o busca, menor en tareas puntuales donde ya conoce el contexto. No prometemos un número fijo — mide tu propio proyecto con /usage antes y después.

Savings depend on the task: bigger when the agent explores or searches, smaller on one-off tasks it already knows. We don't promise a fixed number — measure your own project with /usage before and after.

Multi-agente

Multi-agent

Una configuración, cuatro agentes

One configuration, four agents

Codex AGENTS.md nativo Native AGENTS.md
Antigravity AGENTS.md nativo Native AGENTS.md
Cursor AGENTS.md + respaldo AGENTS.md + fallback
Claude Code Adaptador CLAUDE.md CLAUDE.md adapter

Precio

Pricing

Empieza gratis, actualiza si te sirve

Start free, upgrade if it's useful

Open SourceOpen Source
$0
  • Los 6 comandos completos
  • All 6 commands
  • MIT — úsalo, modifícalo, redistribúyelo
  • MIT — use it, modify it, redistribute it
  • Actualizaciones vía GitHub
  • Updates via GitHub
Instalar desde npm Install from npm
ProPro
$9 /mes /mo
  • Plantillas actualizadas por stack
  • Updated templates per stack
  • Dashboard de consumo local
  • Local usage dashboard
  • Soporte y comunidad privada
  • Support and private community
Próximamente Coming soon