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 0x7067v0.6.2MITIn 1 marketplace
Blocks edits that violate your project rules before they are written, judged through the Jev API for agent-afk. Five hooks run on session start, prompts, edits and turn ends, and need a TYPESAFE_API_KEY or OPENROUTER_API_KEY.
Run automatically on Claude Code events. Claude doesn't decide.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
Prompt routing hintspromptRouter
Classify each prompt and add a routing hint. Off on AFK unless set to true.
booleandefault false
Subagent model routingsubagentRouter
Pick a subagent's model and check its brief before the spawn. Off on AFK unless set to true; AFK drops its advice until griffinwork40/agent-afk#2778.
booleandefault false
Jev judgment hooks for agent-afk. Five hooks judge session starts, prompts, subagent spawns, edits, and turn ends, enforcing your project rules through the Jev (TypeSafe System One) judgment API.
Hooks are fences; MCP tools are lenses. The Jev MCP server (jev-mcp) gives the agent tools it can call on demand. This plugin adds hooks the agent cannot skip or rationalize past. Use both: MCP for agent-initiated judgment, hooks for agent-proof guardrails.
| Hook | Event | What it judges |
|---|---|---|
session-start.ts | SessionStart | Loads rules from instruction files and injects a structured digest into the session's first turn. No API call (pure file I/O). |
prompt-router.ts | UserPromptSubmit | Off unless promptRouter is true (see Optional routers). Classifies each prompt as chat / lookup / fix / feature / ops and injects a routing hint when confidence >= 0.75. Interactive REPL only. |
subagent-router.ts | PreToolUse (agent) | Off unless subagentRouter is true (see Optional routers). Recommends a model tier when the spawn names no agent_type, and flags a brief that changes files but leaves out paths, acceptance criteria, verification, or commit policy. Advisory only, and AFK does not deliver it yet (see Known gaps). |
rules.ts | PreToolUse (edit_file, write_file, patch_apply) | Loads rules from instruction files, classifies them, and judges each edit before it is written. Blocks at >= 0.80, so the edit never lands (agent cannot override). A patch_apply call is judged file by file, and one file at >= 0.80 blocks the whole call, so none of its files land; a dry_run call is not judged. Files outside the working directory are not judged, and a (scope: ...) entry starting with ! excludes matching files. Flags 0.50-0.80 as advisory context, which AFK does not deliver yet. |
stop-sweep.ts | Stop | Judges the edits made since its last completed judgment against turn-scope rules (scope creep, cross-file patterns), and hands what it finds to the next turn. Interactive REPL only. |
All five fail open: any error, missing key, or timeout produces no output and never blocks a prompt.
The repository's marketplace lists this directory as claude-jev-afk:
afk marketplace install 0x7067/claude-jev
afk plugin install claude-jev:claude-jev-afk
afk marketplace install checks out the newest release tag. To move to a later release, run afk marketplace update claude-jev and then afk plugin update claude-jev:claude-jev-afk.
If you installed from the afk branch with --ref afk, that branch no longer gets releases. Run afk plugin remove claude-jev, then run the two commands above.
afk plugin install "$(pwd)/adapters/afk" claude-jev
This symlinks the directory, so it follows whatever the checkout has.
AFK discovers the plugin on the next session start and wires hooks from hooks/hooks.json. AFK runs plugin hooks only when ~/.afk/config/afk.config.json sets "enablePluginHooks": true.
Use agent-afk 5.271.1 or later. Earlier versions install claude-jev-afk from the marketplace but never load its hooks, and load the Claude Code plugin at the repository root instead (griffinwork40/agent-afk#2456).
The rule hook and the Stop sweep keep per-session state, so they need the session id on each hook event. agent-afk sends it from the first release that includes griffinwork40/agent-afk#2392. On earlier versions both stay silent rather than share one state file across every session.
Copy the contents of hooks/hooks.json into your AFK hooks configuration if you prefer not to use the plugin system.
export TYPESAFE_API_KEY=your-key-here
# or
export OPENROUTER_API_KEY=sk-or-...
TYPESAFE_API_KEY is checked first. The SessionStart hook (rule digest) requires no API key.
AFK starts hook commands with a reduced environment: PATH, HOME, SHELL, LANG, TERM, TMPDIR, USER, LOGNAME, non-secret AFK_* variables, and CLAUDE_PLUGIN_ROOT. A key exported in your shell does not reach the hooks.
Supported route (agent-afk 5.276.21): add the key to pluginHookEnv in ~/.afk/config/afk.config.json, keyed by the plugin's manifest name (claude-jev-afk):
{
"enablePluginHooks": true,
"pluginHookEnv": {
"claude-jev-afk": ["TYPESAFE_API_KEY", "OPENROUTER_API_KEY"]
}
}
npx claudepluginhub 0x7067/claude-jev --plugin claude-jev-afkBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground