asklokesh/loki-mode
Autonomous software factory. Give it a GitHub issue, a spec or a one-line task; get back a pull request with a signed receipt anyone can re-check offline. Runs on your machine with your own keys: Claude, Codex, OpenCode.
ARCHETYPE
Automator
Hooks on every lifecycle event: format, lint, notify, log.
Copy this rig
# review before running: this installs third-party code
$ npx degit asklokesh/loki-mode/.claude ./rig-loki-mode # inspect, then merge into .claude/ MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.
$ npx degit asklokesh/loki-mode/packages/loki-seal/skills/loki-seal .claude/skills/loki-seal Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PROJECT_DIR:-.}/autonomy/hooks/validate-bash.sh\""
}
]
}
]
}
} MCP servers (2)
| server | source | est. tokens |
|---|---|---|
| loki-mode | local / custom | 2.5k |
| loki-mode-lsp-proxy | local / custom | 2.5k |
Skills (1)
Hooks (4)
| event | matcher | runs |
|---|---|---|
| SessionStart | * | bash "${CLAUDE_PROJECT_DIR:-.}/autonomy/hooks/session-init.sh" |
| PreToolUse | Bash | bash "${CLAUDE_PROJECT_DIR:-.}/autonomy/hooks/validate-bash.sh" |
| PostToolUse | * | bash "${CLAUDE_PROJECT_DIR:-.}/autonomy/hooks/track-metrics.sh" |
| Stop | * | bash "${CLAUDE_PROJECT_DIR:-.}/autonomy/hooks/store-episode.sh" |
Slash commands (3)
/loki-grill/loki-spec-status/loki-verify
Similar rigs
cocoindex-io/cocoindex
Incremental engine for long horizon agents 🌟 Star if you like it!
Automator 7.3k tok ·
FailproofAI/failproofai
Observability and enforcement for AI agent harnesses. Capture every run and runtime reliability with policy enforcement.
Automator 22.9k tok ·
caliber-ai-org/ai-setup
Continuously sync your AI setups with one command. Codebase tailor suited agent skills, MCPs and config files for Claude Code, Cursor, and Codex.
Automator 3.2k tok ·
regent-vcs/re_gent
Version control for AI agents — track what your agent did, blame any line to a prompt, inspect any step.
Automator 4.1k tok ·