/ Docs Documentación
← solveOS

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

RuntimePriorityCommand prefix
OpenCodeP0/solveos-new
Claude CodeP1/solveos-new
CursorP2/solveos-new
Gemini CLIP3/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

RuntimeCommandsAgents
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

ModeCommandsGatesUse when
FullAll 14All enabledMulti-day features, high-stakes changes
Quick/solveos-quickNoneSmall features, well-understood problems
Fast/solveos-fastNoneBug fixes, one-liners, trivial changes

Command reference

CommandDescription
/solveos-newStart a new project or cycle
/solveos-researchConduct bounded research on a specific question
/solveos-planCreate a Plan Brief via the planner agent
/solveos-validate-planValidate the Plan Brief (catches ambiguity early)
/solveos-buildExecute the Build phase against the Plan Brief
/solveos-validate-buildValidate build output against success criteria
/solveos-reviewPre-ship or post-ship review
/solveos-shipShip the current cycle
/solveos-statusShow current cycle status
/solveos-nextSuggest or execute the next step
/solveos-new-cycleStart a new cycle with feed-forward from review
/solveos-quickLightweight workflow: minimal plan + immediate build
/solveos-fastZero-overhead inline execution, no artifacts
/solveos-archiveManually archive or abandon the current cycle

Agents

AgentRole
solveos-plannerGuides Plan Brief creation through interactive questioning
solveos-researcherConducts bounded research to inform planning
solveos-executorExecutes work using wave-based parallel execution
solveos-plan-validatorValidates Plan Brief against 3 core questions
solveos-build-validatorValidates build output against success criteria
solveos-reviewerRuns pre-ship judgment or post-ship outcome measurement
solveos-debuggerDiagnoses 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
  }
}
OptionValuesDefaultDescription
modeinteractive, autointeractiveWhether gates require human confirmation
gates.*true, falsetrueEnable or disable individual quality gates
plan_validation_max_passes1–103Max validate-refine loops before escalation
granularitycoarse, standard, finestandardWave execution unit size
domainsoftware, content, research, strategy, generalsoftwareDomain-specific agent prompt variants
runtimeopencode, claude-code, cursor, gemini, autoautoTarget 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

  1. Be specific in Success Criteria. "The feature works" is not falsifiable. "Users can create, edit, and delete items via the API" is.
  2. 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.
  3. Name your Rabbit Holes. Acknowledging unknowns up front means you won't be surprised when you hit them.
  4. Use Out of Scope aggressively. The most common failure mode is scope creep. Write down what you're NOT doing.
  5. 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.

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

RuntimePrioridadPrefijo de comando
OpenCodeP0/solveos-new
Claude CodeP1/solveos-new
CursorP2/solveos-new
Gemini CLIP3/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

RuntimeComandosAgentes
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

ModoComandosGatesUsar cuando
FullLos 14Todos activosFeatures de varios días, cambios de alto riesgo
Quick/solveos-quickNingunoFeatures pequeñas, problemas bien entendidos
Fast/solveos-fastNingunoBug fixes, cambios triviales de una línea

Referencia de comandos

ComandoDescripción
/solveos-newIniciar un nuevo proyecto o ciclo
/solveos-researchRealizar investigación acotada sobre una pregunta específica
/solveos-planCrear un Plan Brief con el agente planner
/solveos-validate-planValidar el Plan Brief (detecta ambigüedades temprano)
/solveos-buildEjecutar la fase Build según el Plan Brief
/solveos-validate-buildValidar el output del build contra los criterios de éxito
/solveos-reviewRevisión pre-ship o post-ship
/solveos-shipLanzar el ciclo actual
/solveos-statusVer el estado del ciclo actual
/solveos-nextSugerir o ejecutar el siguiente paso
/solveos-new-cycleIniciar un nuevo ciclo con aprendizajes del anterior
/solveos-quickFlujo ligero: plan mínimo + build inmediato
/solveos-fastEjecución inline sin overhead ni artefactos
/solveos-archiveArchivar o abandonar el ciclo actual

Agentes

AgenteRol
solveos-plannerGuía la creación del Plan Brief mediante preguntas interactivas
solveos-researcherRealiza investigación acotada para informar la planificación
solveos-executorEjecuta el trabajo usando ejecución paralela por waves
solveos-plan-validatorValida el Plan Brief contra 3 preguntas clave
solveos-build-validatorValida el output del build contra los criterios de éxito
solveos-reviewerEjecuta juicio pre-ship o medición de resultados post-ship
solveos-debuggerDiagnostica 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ónValoresPor defectoDescripción
modeinteractive, autointeractiveSi los gates requieren confirmación humana
gates.*true, falsetrueActivar o desactivar gates individuales
plan_validation_max_passes1–103Máximo de ciclos validar-refinar antes de escalar
granularitycoarse, standard, finestandardTamaño de unidad de ejecución por waves
domainsoftware, content, research, strategy, generalsoftwareVariantes de prompt por dominio
runtimeopencode, claude-code, cursor, gemini, autoautoRuntime 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

  1. 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.
  2. 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.
  3. Nombra tus Agujeros de conejo. Reconocer las incógnitas de antemano significa que no te sorprenderán cuando aparezcan.
  4. 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.
  5. 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.