loki-mode
Skill này làm gì
Loki Mode là hệ thống nhiều agent dành cho Claude Code, chia một dự án sản phẩm cho nhiều vai trò chuyên biệt, như kỹ thuật, kiểm thử và vận hành. Dành cho người muốn biến một kế hoạch sản phẩm chi tiết thành phần mềm chạy được với ít công việc thủ công.
Khi nào nên dùng
- ✓Khi bạn có một tài liệu yêu cầu sản phẩm bằng văn bản và muốn biến nó thành sản phẩm chạy được.
- ✓Khi bạn muốn nhiều agent xử lý các phần khác nhau của dự án, như code, kiểm thử và triển khai.
- ✓Khi bạn muốn nhiều người review code có cấu trúc trước khi công việc được hoàn thành.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/ai-research/loki-mode/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể lấy tài liệu yêu cầu sản phẩm của tôi và xây dựng toàn bộ phiên bản đầu tiên bằng đội agent của bạn không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill thiết lập một thư mục làm việc để lưu bộ nhớ và theo dõi tiến độ, rồi gửi các tác vụ lần lượt cho các agent khác nhau. Mỗi agent tự kiểm tra công việc của mình trước khi bước tiếp theo bắt đầu.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Loki Mode - Multi-Agent Autonomous Startup System
Version 2.35.0 | PRD to Production | Zero Human Intervention Research-enhanced: OpenAI SDK, DeepMind, Anthropic, AWS Bedrock, Agent SDK, HN Production (2025)
Quick Reference
Critical First Steps (Every Turn)
- READ
.loki/CONTINUITY.md- Your working memory + "Mistakes & Learnings" - RETRIEVE Relevant memories from
.loki/memory/(episodic patterns, anti-patterns) - CHECK
.loki/state/orchestrator.json- Current phase/metrics - REVIEW
.loki/queue/pending.json- Next tasks - FOLLOW RARV cycle: REASON, ACT, REFLECT, VERIFY (test your work!)
- OPTIMIZE Opus=planning, Sonnet=development, Haiku=unit tests/monitoring - 10+ Haiku agents in parallel
- TRACK Efficiency metrics: tokens, time, agent count per task
- CONSOLIDATE After task: Update episodic memory, extract patterns to semantic memory
Key Files (Priority Order)
| File | Purpose | Update When |
|---|---|---|
.loki/CONTINUITY.md |
Working memory - what am I doing NOW? | Every turn |
.loki/memory/semantic/ |
Generalized patterns & anti-patterns | After task completion |
.loki/memory/episodic/ |
Specific interaction traces | After each action |
.loki/metrics/efficiency/ |
Task efficiency scores & rewards | After each task |
.loki/specs/openapi.yaml |
API spec - source of truth | Architecture changes |
CLAUDE.md |
Project context - arch & patterns | Significant changes |
.loki/queue/*.json |
Task states | Every task change |
Decision Tree: What To Do Next?
START
|
+-- Read CONTINUITY.md ----------+
| |
+-- Task in-progress? |
| +-- YES: Resume |
| +-- NO: Check pending queue |
| |
+-- Pending tasks? |
| +-- YES: Claim highest priority
| +-- NO: Check phase completion
| |
+-- Phase done? |
| +-- YES: Advance to next phase
| +-- NO: Generate tasks for phase
| |
LOOP <-----------------------------+
SDLC Phase Flow
Bootstrap -> Discovery -> Architecture -> Infrastructure
| | | |
(Setup) (Analyze PRD) (Design) (Cloud/DB Setup)
|
Development <- QA <- Deployment <- Business Ops <- Growth Loop
| | | | |
(Build) (Test) (Release) (Monitor) (Iterate)
Essential Patterns
Spec-First: OpenAPI -> Tests -> Code -> Validate
Code Review: Blind Review (parallel) -> Debate (if disagree) -> Devil's Advocate -> Merge
Guardrails: Input Guard (BLOCK) -> Execute -> Output Guard (VALIDATE) (OpenAI SDK)
Tripwires: Validation fails -> Halt execution -> Escalate or retry
Fallbacks: Try primary -> Model fallback -> Workflow fallback -> Human escalation
Explore-Plan-Code: Research files -> Create plan (NO CODE) -> Execute plan (Anthropic)
Self-Verification: Code -> Test -> Fail -> Learn -> Update CONTINUITY.md -> Retry
Constitutional Self-Critique: Generate -> Critique against principles -> Revise (Anthropic)
Memory Consolidation: Episodic (trace) -> Pattern Extraction -> Semantic (knowledge)
Hierarchical Reasoning: High-level planner -> Skill selection -> Local executor (DeepMind)
Tool Orchestration: Classify Complexity -> Select Agents -> Track Efficiency -> Reward Learning
Debate Verification: Proponent defends -> Opponent challenges -> Synthesize (DeepMind)
Handoff Callbacks: on_handoff -> Pre-fetch context -> Transfer with data (OpenAI SDK)
Narrow Scope: 3-5 steps max -> Human review -> Continue (HN Production)
Context Curation: Manual selection -> Focused context -> Fresh per task (HN Production)
Deterministic Validation: LLM output -> Rule-based checks -> Retry or approve (HN Production)
Routing Mode: Simple task -> Direct dispatch | Complex task -> Supervisor orchestration (AWS Bedrock)
E2E Browser Testing: Playwright MCP -> Automate browser -> Verify UI features visually (Anthropic Harness)
Prerequisites
# Launch with autonomous permissions
claude --dangerously-skip-permissions
Core Autonomy Rules
This system runs with ZERO human intervention.
- NEVER ask questions - No "Would
Câu hỏi thường gặp
Tôi cần giám sát nó đến mức nào?
Skill được thiết kế để chạy với ít hỗ trợ, nhưng bạn vẫn nên xem lại kết quả trước khi dùng.
Nó có cần tài liệu sản phẩm để bắt đầu không?
Có. Nó hoạt động tốt nhất khi bạn cung cấp một tài liệu yêu cầu rõ ràng mô tả cần xây dựng gì.
Nó có tạo nhiều tệp trong dự án của tôi không?
Có. Nó giữ ghi chú tiến độ và tệp bộ nhớ trong một thư mục làm việc ẩn để có thể tiếp tục công việc.
Chi tiết
Mô tả gốc của tác giả
Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers,
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #8572
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.