MCP HubMCP Hub
SKILL·2DB8C0

loki-mode

asklokesh
업데이트됨 21 days ago
7 조회
1,093
206
1,093
GitHub에서 보기
메타aidesign

정보

Loki Mode는 PRD부터 배포까지 전체 개발 주기를 최소한의 인간 개입으로 처리하는 자율 SDLC 에이전트입니다. 개발자는 요구사항의 자동화된 실행이 필요할 때 다단계 작업, 버그 수정 캠페인 또는 완전한 제품 빌드를 위해 이를 호출할 수 있습니다. 이를 사용하려면 loki CLI와 Claude Code, Codex CLI, Gemini CLI와 같은 지원되는 AI 코딩 도구가 설치되어 있어야 합니다.

빠른 설치

Claude Code

추천
기본
npx skills add asklokesh/claudeskill-loki-mode -a claude-code
플러그인 명령대체
/plugin add https://github.com/asklokesh/claudeskill-loki-mode
Git 클론대체
git clone https://github.com/asklokesh/claudeskill-loki-mode.git ~/.claude/skills/loki-mode

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

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

  • loki CLI installed on the host (via npm install -g loki-mode or 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 string
  • status: inactive, running, paused, stopped, completed, unknown
  • phase: Current SDLC phase (e.g., BOOTSTRAP, DISCOVERY, ARCHITECTURE, DEVELOPMENT, QA, DEPLOYMENT)
  • iteration: Current iteration number
  • provider: Which AI provider is active (claude, codex, gemini)
  • pid: Process ID of the running session (null if not running)
  • elapsed_time: Seconds since session start
  • dashboard_url: URL of the web dashboard (null if disabled)
  • task_counts: Object with total, completed, failed, pending counts

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":

  1. Run loki status --json for final summary
  2. Run git log --oneline -20 to show commits made
  3. Report final task counts, elapsed time, and duration
  4. 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 logs before 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

GitHub 저장소

asklokesh/claudeskill-loki-mode
경로: integrations/openclaw
0
ai-agentsai-coding-agentsai-coding-toolsanthropicautonomous-agentsclaude
FAQ

자주 묻는 질문

loki-mode Skill이란 무엇인가요?

loki-mode은(는) asklokesh이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 loki-mode 관련 작업을 수행할 수 있게 합니다.

loki-mode은(는) 어떻게 설치하나요?

이 페이지의 설치 명령을 사용하세요. loki-mode을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.

loki-mode은(는) 어떤 카테고리에 속하나요?

loki-mode은(는) 메타 카테고리에 속합니다.

loki-mode은(는) 무료로 사용할 수 있나요?

네. loki-mode은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.

연관 스킬

content-collections
메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기
polymarket
메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기
creating-opencode-plugins
메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기
sglang
메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기