
Loki Mode Openclaw
Launch Loki Mode autonomous SDLC agent.
Install
npx skills add asklokesh/loki-mode --skill loki-mode-openclaw -g -a claude-code -y- Repository
- asklokesh/loki-mode1.1k
- Category
- AI and agents
- Updated
- 3d ago
- License
- See repository
- Context cost
- Lightabout 898 tokens
- Runs scripts
- Yes, review before use
What it does
Launch Loki Mode autonomous SDLC agent. Handles PRD-to-deployment with minimal human intervention. Invoke for multi-phase development tasks, bug fixing campaigns, or full product builds.
Loki Mode - OpenClaw Skill
When to use
- User asks to "build", "implement", or "develop" a feature from a PRD
- User provides a requirements document and wants autonomous execution
- User says "loki mode" or references autonomous development
- User wants to run a full SDLC cycle on a codebase
Prerequisites
lokiCLI installed on the host (vianpm install -g loki-modeor Homebrew)- One of: Claude Code, Codex CLI, or Gemini CLI installed
- Corresponding API key set (ANTHROPIC_API_KEY, OPENAI_API_KEY, or GOOGLE_API_KEY)
How to invoke
Start a session
Use the bash tool with background mode:
bash(command: "loki start <prd-path> --bg --yes --no-dashboard", pty: true, background: true, workdir: "<project-dir>")
Key flags:
--bg: Background mode (session outlives the tool call)--yes: Skip confirmation prompts--no-dashboard: Avoid port conflicts in sandboxed environments--provider <claude|codex|gemini>: Select AI provider (default: claude)--budget <amount>: Set cost limit in USD (auto-pause when exceeded)
Monitor progress
Poll status every 30 seconds:
bash(command: "loki status --json", workdir: "<project-dir>")
The JSON output contains:
version: Loki Mode version stringstatus: inactive, running, paused, stopped, completed, unknownphase: Current SDLC phase (e.g., BOOTSTRAP, DISCOVERY, ARCHITECTURE, DEVELOPMENT, QA, DEPLOYMENT)iteration: Current iteration numberprovider: Which AI provider is active (claude, codex, gemini)pid: Process ID of the running session (null if not running)elapsed_time: Seconds since session startdashboard_url: URL of the web dashboard (null if disabled)task_counts: Object withtotal,completed,failed,pendingcounts

