loki-mode-openclaw
БесплатноЗапускает вложенные скриптыНе проверенLaunch Loki Mode autonomous SDLC agent. Handles PRD-to-deployment with minimal human intervention. Invoke for multi-phase development tasks, bug fixing…
от asklokesh★ 1 129 звёзд на GitHubОб этом скилле
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 or opencode 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|opencode>: 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, opencode)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
For budget tracking (not in JSON output), read the budget file directly:
bash(command: "cat .loki/metrics/budget.json 2>/dev/null || echo '{}'", workdir: "<project-dir>")
Budget JSON fields: budget_limit, budget_used
Report progress to channel
After each poll, summarize changes:
- Phase transitions ("Moved from ARCHITECTURE to DEVELOPMENT")
- Task completion counts ("12/20 tasks complete, 0 failed")
- Elapsed time ("Running for 45 minutes")
- Error states that need attention (failed tasks > 0, status is unknown)
If budget tracking is active, include cost in updates:
- "Estimated cost: $4.50 / $50.00 budget"
Control commands
- Pause:
bash(command: "loki pause", workdir: "<project-dir>") - Resume:
bash(command: "loki resume", workdir: "<project-dir>") - Stop:
bash(command: "loki stop", workdir: "<project-dir>") - Status:
bash(command: "loki status", workdir: "<project-dir>") - Logs:
bash(command: "loki logs --tail 50", workdir: "<project-dir>")
Session complete
When status becomes "stopped" or "completed":
- Run
loki status --jsonfor final summary - Run
git log --oneline -20to show commits made - Report final task counts, elapsed time, and duration
- If council verdict exists, include it:
cat .loki/council/report.md
Critical rules
- ALWAYS use --bg flag (session must outlive the tool call)
- ALWAYS use --yes flag (no confirmation prompts in non-interactive channels)
- NEVER run loki in the OpenClaw workspace directory itself
- Poll status rather than watching stdout (background mode detaches)
- If session crashes, check
loki logsbefore restarting - Respect budget limits -- include cost in every progress update when tracking is active
- The --no-dashboard flag is recommended to avoid port conflicts in sandboxed environments
Установить loki-mode-openclaw в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл loki-mode-openclaw?
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?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл loki-mode-openclaw запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic