Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By asklokeshv11.140.0SEE LICENSE IN LICENSEIn 1 marketplace
Stress-tests a spec before you build, detects drift from its lock, and gives deterministic PR verdicts via Loki. Needs the loki CLI on your PATH; the Bash guard hook stays off unless LOKI_GUARD=1 is set.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Loki Mode is the autonomous spec-to-product build system with a built-in trust layer (RARV-C closure loop, 8 quality gates, completion council). This plugin brings Loki's spec-hardening, drift-detection, and deterministic PR verification into Claude Code as slash commands, and wires up the Loki MCP server.
Homepage: https://github.com/asklokesh/loki-mode
The plugin is published through the Autonomi marketplace, which lives in this same repository.
Add the marketplace (one time):
/plugin marketplace add asklokesh/loki-mode
Install the plugin:
/plugin install loki-mode@loki-mode
That is it. The commands below become available immediately.
Slash commands (namespaced as loki-mode:<command>):
loki-mode:loki-grill - interrogate a spec with Loki's Devil's-Advocate
grill before building, and summarize the hardest questions it surfaces.loki-mode:loki-spec-status - check whether the spec has drifted from its
lock using deterministic living-spec drift detection.loki-mode:loki-verify - run Loki's deterministic PR verification on the
current change and summarize the evidence verdict. --fast [base] runs
loki verify --fast --diff-base ${base:-HEAD} instead: deterministic, no
model or network call (exit 0 PASS, 1 FAIL, 3 INCONCLUSIVE).loki-mode:start <task or file> - hand a task to Loki (loki start --bg).
Free-text tasks are written to .loki/handoff-task.md first. Claude Code
does not build it; Loki owns provider setup, budget and routing.loki-mode:handoff - print .loki/review/HANDOFF.md, else ./HANDOFF.md,
else loki own. Never invents text.MCP server (loki-mode): exposes Loki's tools (memory, task queue, code
search, build management) to Claude Code.
The slash commands run loki ... subcommands, and the MCP server is launched
via loki mcp. Both require the loki binary to be on your PATH. Install it
once:
npm install -g loki-mode
or with Homebrew:
brew install asklokesh/tap/loki-mode
The plugin ships the commands, MCP wiring, and an optional guard hook. It does not bundle the Loki runtime itself, because a marketplace plugin is copied into an isolated cache and cannot reach the rest of the repository. The CLI on PATH is what provides the runtime.
On the MCP server's first launch, if the Python MCP SDK is not present, the
bundled config sets LOKI_MCP_AUTO_BOOTSTRAP=1 as written, in-advance consent
so the server can create a project-local virtualenv at .loki/mcp-venv and
install its dependencies non-interactively. Remove that env var from
.mcp.json if you prefer to bootstrap manually (run loki mcp once in a
terminal and follow the printed instructions).
The plugin ships a PreToolUse hook for the Bash tool that is a no-op unless
you opt in. Set LOKI_GUARD=1 in your environment to enable it. When enabled it
blocks a small set of clearly destructive Bash commands that have bitten Loki
runs before:
rm -rf on /tmp/loki-* while a live Loki run may be staging files thererm -rf of a filesystem or $HOME rootgit add -A / git add . (Loki convention: stage files individually)With LOKI_GUARD unset the hook always allows the command through, so it never
interferes unless you ask it to.
The plugin ships a Stop hook (scripts/loki-stop-verify.sh, hook timeout
30 s) that is a no-op unless LOKI_STOP_VERIFY=1 (environment or Claude Code
settings env) or the plugin option CLAUDE_PLUGIN_OPTION_STOP_VERIFY is set.
It blocks completion only when loki verify --fast --diff-base HEAD exits 1
(FAIL: at least one high-severity finding), emitting
{"decision":"block","reason":"..."} with the first 15 verifier lines.
It allows the stop (fail-open) when: not opted in; the event has
stop_hook_active: true (never loops after one block); loki, git or a git
work tree is absent; no tracked file has uncommitted changes; the verifier
times out (LOKI_STOP_VERIFY_TIMEOUT, default 20 s); or it exits with anything
other than 1 (INCONCLUSIVE is not a block). Untracked new files are outside the
diff scope, and the fast verifier covers its detector set, not your test suite.
loki setup-skill --claude-code [--print] [--project] [--stop-hook] [--settings FILE]
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub asklokesh/loki-mode --plugin loki-modePlugins from other owners that cover similar ground