CLI
solveos-cli installs the solveOS framework — slash commands, agents, and hooks — directly into your AI coding assistant. It adds structure on top of your existing tool without replacing it.
What it does
solveos-cli brings the full Plan → Build → Ship cycle to your AI coding assistant:
- 14 slash commands for every step of the cycle
- 7 specialized agents — planner, researcher, executor, validators, reviewer, debugger
- Optional quality gates — research, plan validation, build validation, review
- Wave-based parallel execution for complex builds
- Markdown-based state — all artifacts live in
.solveos/, no databases or cloud accounts
Supported runtimes
| Runtime | Priority | Command prefix |
|---|---|---|
| OpenCode | P0 | /solveos-new |
| Claude Code | P1 | /solveos-new |
| Cursor | P2 | /solveos-new |
| Gemini CLI | P3 | /solveos:new |
Install
Prerequisites: Node.js >= 20.0.0 and one of the supported runtimes installed.
Install globally:
npm i solveos-cli@latest Or run without installing:
npx solveos-cli@latest The installer auto-detects your runtime and copies commands, agents, and templates into the correct directories. Pass --runtime <name> to override.
Runtime-specific paths
| Runtime | Commands | Agents |
|---|---|---|
| OpenCode | .opencode/commands/solveos-*.md | .opencode/agents/solveos-*.md |
| Claude Code | .claude/skills/solveos-*/SKILL.md | .claude/agents/solveos-*.md |
| Cursor | .cursor/skills/solveos-*/SKILL.md | .cursor/agents/solveos-*.md |
| Gemini CLI | .gemini/commands/solveos/*.toml | .gemini/agents/solveos-*.md |
Verify installation
After installing, run /solveos-status in your assistant. It should show:
Cycle 1 | State: INIT | No brief yet Quick start
1. Initialize
/solveos-new Creates the .solveos/ directory structure. If it already exists, preserves your existing config and state.
2. Plan
/solveos-plan The planner agent walks you through 8 Plan Brief questions: Problem, Audience, Goal, Appetite, Constraints, Success Criteria, Core Assumption, and Rabbit Holes. Output saved to .solveos/BRIEF.md.
3. Build
/solveos-build The executor agent reads the Plan Brief and breaks work into waves — groups of tasks that can run in parallel. Checks off success criteria as each piece completes.
4. Ship
/solveos-ship Confirms the cycle is complete, archives artifacts to .solveos/history/cycle-N/, resets state for the next cycle.
The cycle
The full cycle has 11 states:
INIT -> RESEARCHING -> PLANNING -> VALIDATING_PLAN -> BUILDING ->
VALIDATING_BUILD -> REVIEWING_PRE -> READY_TO_SHIP -> SHIPPED ->
REVIEWING_POST -> CYCLE_COMPLETE The minimal path (no gates):
INIT -> PLANNING -> BUILDING -> READY_TO_SHIP -> SHIPPED -> CYCLE_COMPLETE Use /solveos-next at any state to see what's available and get a recommendation. Use /solveos-status to see where you are.
Gates
Gates are optional quality checkpoints. Each one can be enabled or disabled in .solveos/config.json.
Research gate
Use when the problem domain is unfamiliar or you need to investigate options before committing to a plan.
/solveos-research "What authentication libraries work with our stack?" Produces a research summary in .solveos/research/. The researcher agent conducts bounded investigation — it has a defined question and stops when it has an answer.
Plan Validation gate
Use for high-stakes plans, plans with many unknowns, or when alignment is needed.
/solveos-validate-plan Checks three core questions: Does the plan solve the stated problem? Is it feasible within the appetite? Are the success criteria specific and falsifiable? If gaps are found, refine and validate again (up to plan_validation_max_passes times, default 3).
Build Validation gate
Use before shipping anything non-trivial.
/solveos-validate-build Checks each success criterion against the actual build output. Reports pass/fail per criterion, scope drift, and known issues.
Review gate
Pre-ship: holistic "should we ship this?" judgment. Post-ship: outcome measurement and feed-forward.
/solveos-review The command detects whether you're pre-ship or post-ship based on the current state. Post-ship review generates feed-forward items — new problems discovered, deferred scope, wrong assumptions — that feed into /solveos-new-cycle.
Rigor scaling
| Mode | Commands | Gates | Use when |
|---|---|---|---|
| Full | All 14 | All enabled | Multi-day features, high-stakes changes |
| Quick | /solveos-quick | None | Small features, well-understood problems |
| Fast | /solveos-fast | None | Bug fixes, one-liners, trivial changes |
Command reference
| Command | Description |
|---|---|
/solveos-new | Start a new project or cycle |
/solveos-research | Conduct bounded research on a specific question |
/solveos-plan | Create a Plan Brief via the planner agent |
/solveos-validate-plan | Validate the Plan Brief (catches ambiguity early) |
/solveos-build | Execute the Build phase against the Plan Brief |
/solveos-validate-build | Validate build output against success criteria |
/solveos-review | Pre-ship or post-ship review |
/solveos-ship | Ship the current cycle |
/solveos-status | Show current cycle status |
/solveos-next | Suggest or execute the next step |
/solveos-new-cycle | Start a new cycle with feed-forward from review |
/solveos-quick | Lightweight workflow: minimal plan + immediate build |
/solveos-fast | Zero-overhead inline execution, no artifacts |
/solveos-archive | Manually archive or abandon the current cycle |
Agents
| Agent | Role |
|---|---|
solveos-planner | Guides Plan Brief creation through interactive questioning |
solveos-researcher | Conducts bounded research to inform planning |
solveos-executor | Executes work using wave-based parallel execution |
solveos-plan-validator | Validates Plan Brief against 3 core questions |
solveos-build-validator | Validates build output against success criteria |
solveos-reviewer | Runs pre-ship judgment or post-ship outcome measurement |
solveos-debugger | Diagnoses issues found during validation gates |
Configuration
Configuration lives in .solveos/config.json:
{
"mode": "interactive",
"gates": {
"research": true,
"plan_validation": true,
"build_validation": true,
"review_pre_ship": true,
"review_post_ship": true
},
"plan_validation_max_passes": 3,
"granularity": "standard",
"domain": "software",
"runtime": "auto",
"hooks": {
"context_monitor": true,
"context_monitor_threshold": 60,
"brief_anchor": true,
"brief_anchor_interval": 10
}
} | Option | Values | Default | Description |
|---|---|---|---|
mode | interactive, auto | interactive | Whether gates require human confirmation |
gates.* | true, false | true | Enable or disable individual quality gates |
plan_validation_max_passes | 1–10 | 3 | Max validate-refine loops before escalation |
granularity | coarse, standard, fine | standard | Wave execution unit size |
domain | software, content, research, strategy, general | software | Domain-specific agent prompt variants |
runtime | opencode, claude-code, cursor, gemini, auto | auto | Target runtime (auto-detected if auto) |
Hooks
- Context monitor — Warns when conversation length approaches the context window limit (at 60% and 80%). Suggests spawning sub-agents.
- Brief anchor — Periodically re-surfaces the Plan Brief's success criteria and out-of-scope items to prevent drift. Triggers every N tool calls (default: 10).
Project structure
.solveos/
config.json # Configuration
STATE.md # Current cycle state (human-readable)
BRIEF.md # Plan Brief for current cycle
research/ # Research summaries
validations/ # Plan and build validation logs
reviews/ # Pre-ship and post-ship reviews
history/ # Archived cycles
notes/ # Freeform notes The entire .solveos/ directory is designed to be committed to version control — it gives your team visibility into the planning and review process.
Tips for effective Plan Briefs
- Be specific in Success Criteria. "The feature works" is not falsifiable. "Users can create, edit, and delete items via the API" is.
- Set a realistic Appetite. The appetite shapes the solution. If you write "2 hours" but the plan requires a database migration, you'll hit friction.
- Name your Rabbit Holes. Acknowledging unknowns up front means you won't be surprised when you hit them.
- Use Out of Scope aggressively. The most common failure mode is scope creep. Write down what you're NOT doing.
- One Core Assumption per plan. If you have multiple risky assumptions, consider researching them first.
FAQ
Can I use solveos-cli without an AI coding assistant?
No. solveos-cli installs slash commands and agents that run inside an AI coding assistant. It doesn't have its own CLI runtime.
Does it work with multiple runtimes at once?
Yes. Run npx solveos-cli@latest --runtime <name> for each one. The .solveos/ state directory is shared.
Where does state live?
Everything is in .solveos/ as markdown and JSON files. No databases, no cloud accounts, no telemetry.
How do I reset a stuck cycle?
Use /solveos-archive to archive or abandon the current cycle, then /solveos-new to start fresh.
What happens if I skip all gates?
The cycle still works. Skipped gates are tracked in .solveos/STATE.md so you can see what was skipped.
Can I add custom commands or agents?
Yes. Add markdown files to your runtime's command/agent directory. solveos-cli won't overwrite files it didn't create.
Source
Open source under the MIT license.
Repository: github.com/t0k1dev/solveos-cli
CLI
solveos-cli instala el framework solveOS — slash commands, agentes y hooks — directamente en tu asistente de código con IA. Agrega estructura sobre tu herramienta existente sin reemplazarla.
Qué hace
solveos-cli lleva el ciclo completo Plan → Build → Ship a tu asistente de código con IA:
- 14 slash commands para cada paso del ciclo
- 7 agentes especializados — planner, researcher, executor, validators, reviewer, debugger
- Gates de calidad opcionales — investigación, validación de plan, validación de build, revisión
- Ejecución paralela por waves para builds complejos
- Estado en Markdown — todos los artefactos viven en
.solveos/, sin bases de datos ni cuentas en la nube
Runtimes compatibles
| Runtime | Prioridad | Prefijo de comando |
|---|---|---|
| OpenCode | P0 | /solveos-new |
| Claude Code | P1 | /solveos-new |
| Cursor | P2 | /solveos-new |
| Gemini CLI | P3 | /solveos:new |
Instalación
Requisitos previos: Node.js >= 20.0.0 y uno de los runtimes compatibles instalado.
Instalar globalmente:
npm i solveos-cli@latest O ejecutar sin instalar:
npx solveos-cli@latest El instalador detecta automáticamente tu runtime. Usa --runtime <nombre> para forzar uno específico.
Rutas por runtime
| Runtime | Comandos | Agentes |
|---|---|---|
| OpenCode | .opencode/commands/solveos-*.md | .opencode/agents/solveos-*.md |
| Claude Code | .claude/skills/solveos-*/SKILL.md | .claude/agents/solveos-*.md |
| Cursor | .cursor/skills/solveos-*/SKILL.md | .cursor/agents/solveos-*.md |
| Gemini CLI | .gemini/commands/solveos/*.toml | .gemini/agents/solveos-*.md |
Verificar instalación
Después de instalar, ejecuta /solveos-status en tu asistente. Debería mostrar:
Cycle 1 | State: INIT | No brief yet Inicio rápido
1. Inicializar
/solveos-new Crea el directorio .solveos/. Si ya existe, conserva tu configuración y estado actuales.
2. Planificar
/solveos-plan El agente planner te guía por 8 preguntas del Plan Brief: Problema, Audiencia, Objetivo, Apetito, Restricciones, Criterios de éxito, Hipótesis central y Agujeros de conejo. Guardado en .solveos/BRIEF.md.
3. Construir
/solveos-build El agente executor lee el Plan Brief y divide el trabajo en waves — grupos de tareas que pueden ejecutarse en paralelo.
4. Lanzar
/solveos-ship Confirma el cierre del ciclo y archiva los artefactos en .solveos/history/cycle-N/.
El ciclo
El ciclo completo tiene 11 estados:
INIT -> RESEARCHING -> PLANNING -> VALIDATING_PLAN -> BUILDING ->
VALIDATING_BUILD -> REVIEWING_PRE -> READY_TO_SHIP -> SHIPPED ->
REVIEWING_POST -> CYCLE_COMPLETE La ruta mínima (sin gates):
INIT -> PLANNING -> BUILDING -> READY_TO_SHIP -> SHIPPED -> CYCLE_COMPLETE Usa /solveos-next en cualquier estado para ver qué está disponible. Usa /solveos-status para ver dónde estás.
Gates
Los gates son checkpoints de calidad opcionales. Cada uno puede activarse o desactivarse en .solveos/config.json.
Gate de investigación
Úsalo cuando el dominio es poco familiar o necesitas explorar opciones antes de comprometerte con un plan.
/solveos-research "¿Qué librerías de autenticación funcionan con nuestro stack?" Genera un resumen de investigación en .solveos/research/. El agente researcher realiza investigación acotada — tiene una pregunta definida y se detiene cuando la responde.
Gate de validación del plan
Úsalo para planes de alto impacto, con muchas incógnitas, o cuando se necesita alineación.
/solveos-validate-plan Verifica tres preguntas clave: ¿El plan resuelve el problema declarado? ¿Es factible dentro del apetito? ¿Los criterios de éxito son específicos y falsificables? Si hay brechas, refina y valida de nuevo (hasta plan_validation_max_passes veces, por defecto 3).
Gate de validación del build
Úsalo antes de lanzar cualquier cosa no trivial.
/solveos-validate-build Verifica cada criterio de éxito contra el output real del build. Reporta aprobado/reprobado por criterio, desviación de alcance y problemas conocidos.
Gate de revisión
Pre-ship: juicio holístico "¿deberíamos lanzar esto?". Post-ship: medición de resultados y feed-forward.
/solveos-review El comando detecta si estás pre-ship o post-ship según el estado actual. La revisión post-ship genera feed-forward items — nuevos problemas, alcance diferido, hipótesis incorrectas — que alimentan /solveos-new-cycle.
Escalado de rigor
| Modo | Comandos | Gates | Usar cuando |
|---|---|---|---|
| Full | Los 14 | Todos activos | Features de varios días, cambios de alto riesgo |
| Quick | /solveos-quick | Ninguno | Features pequeñas, problemas bien entendidos |
| Fast | /solveos-fast | Ninguno | Bug fixes, cambios triviales de una línea |
Referencia de comandos
| Comando | Descripción |
|---|---|
/solveos-new | Iniciar un nuevo proyecto o ciclo |
/solveos-research | Realizar investigación acotada sobre una pregunta específica |
/solveos-plan | Crear un Plan Brief con el agente planner |
/solveos-validate-plan | Validar el Plan Brief (detecta ambigüedades temprano) |
/solveos-build | Ejecutar la fase Build según el Plan Brief |
/solveos-validate-build | Validar el output del build contra los criterios de éxito |
/solveos-review | Revisión pre-ship o post-ship |
/solveos-ship | Lanzar el ciclo actual |
/solveos-status | Ver el estado del ciclo actual |
/solveos-next | Sugerir o ejecutar el siguiente paso |
/solveos-new-cycle | Iniciar un nuevo ciclo con aprendizajes del anterior |
/solveos-quick | Flujo ligero: plan mínimo + build inmediato |
/solveos-fast | Ejecución inline sin overhead ni artefactos |
/solveos-archive | Archivar o abandonar el ciclo actual |
Agentes
| Agente | Rol |
|---|---|
solveos-planner | Guía la creación del Plan Brief mediante preguntas interactivas |
solveos-researcher | Realiza investigación acotada para informar la planificación |
solveos-executor | Ejecuta el trabajo usando ejecución paralela por waves |
solveos-plan-validator | Valida el Plan Brief contra 3 preguntas clave |
solveos-build-validator | Valida el output del build contra los criterios de éxito |
solveos-reviewer | Ejecuta juicio pre-ship o medición de resultados post-ship |
solveos-debugger | Diagnostica problemas encontrados durante los gates de validación |
Configuración
La configuración vive en .solveos/config.json:
{
"mode": "interactive",
"gates": {
"research": true,
"plan_validation": true,
"build_validation": true,
"review_pre_ship": true,
"review_post_ship": true
},
"plan_validation_max_passes": 3,
"granularity": "standard",
"domain": "software",
"runtime": "auto",
"hooks": {
"context_monitor": true,
"context_monitor_threshold": 60,
"brief_anchor": true,
"brief_anchor_interval": 10
}
} | Opción | Valores | Por defecto | Descripción |
|---|---|---|---|
mode | interactive, auto | interactive | Si los gates requieren confirmación humana |
gates.* | true, false | true | Activar o desactivar gates individuales |
plan_validation_max_passes | 1–10 | 3 | Máximo de ciclos validar-refinar antes de escalar |
granularity | coarse, standard, fine | standard | Tamaño de unidad de ejecución por waves |
domain | software, content, research, strategy, general | software | Variantes de prompt por dominio |
runtime | opencode, claude-code, cursor, gemini, auto | auto | Runtime objetivo (auto-detectado si es auto) |
Hooks
- Context monitor — Avisa cuando la longitud de la conversación se acerca al límite del contexto (al 60% y 80%). Sugiere lanzar sub-agentes.
- Brief anchor — Vuelve a mostrar periódicamente los criterios de éxito y los elementos fuera de alcance del Plan Brief para prevenir la desviación. Se activa cada N llamadas a herramientas (por defecto: 10).
Estructura del proyecto
.solveos/
config.json # Configuración
STATE.md # Estado del ciclo actual (legible por humanos)
BRIEF.md # Plan Brief del ciclo actual
research/ # Resúmenes de investigación
validations/ # Logs de validación de plan y build
reviews/ # Revisiones pre-ship y post-ship
history/ # Ciclos archivados
notes/ # Notas libres El directorio .solveos/ está diseñado para incluirse en el control de versiones — da visibilidad al equipo sobre el proceso de planificación y revisión.
Tips para Plan Briefs efectivos
- Sé específico en los Criterios de éxito. "La feature funciona" no es falsificable. "Los usuarios pueden crear, editar y eliminar ítems vía la API" sí lo es.
- Define un Apetito realista. El apetito da forma a la solución. Si escribes "2 horas" pero el plan requiere una migración de base de datos, habrá fricción.
- Nombra tus Agujeros de conejo. Reconocer las incógnitas de antemano significa que no te sorprenderán cuando aparezcan.
- Usa Fuera de alcance de forma agresiva. El modo de falla más común es la expansión del alcance. Escribe lo que NO estás haciendo.
- Una Hipótesis central por plan. Si tienes múltiples hipótesis riesgosas, considera investigarlas primero.
Preguntas frecuentes
¿Puedo usar solveos-cli sin un asistente de código con IA?
No. solveos-cli instala slash commands y agentes que se ejecutan dentro de un asistente de código con IA. No tiene su propio runtime de CLI.
¿Funciona con múltiples runtimes a la vez?
Sí. Ejecuta npx solveos-cli@latest --runtime <nombre> para cada uno. El directorio de estado .solveos/ es compartido.
¿Dónde vive el estado?
Todo está en .solveos/ como archivos markdown y JSON. Sin bases de datos, sin cuentas en la nube, sin telemetría.
¿Cómo reseteo un ciclo atascado?
Usa /solveos-archive para archivar o abandonar el ciclo actual, luego /solveos-new para empezar de nuevo.
¿Qué pasa si salto todos los gates?
El ciclo sigue funcionando. Los gates saltados quedan registrados en .solveos/STATE.md para que puedas ver qué se omitió.
¿Puedo agregar comandos o agentes personalizados?
Sí. Agrega archivos markdown al directorio de comandos/agentes de tu runtime. solveos-cli no sobreescribirá archivos que no haya creado.
Código fuente
Open source bajo licencia MIT.
Repositorio: github.com/t0k1dev/solveos-cli