jie-worldstatelabs/stagent

Claude Code plugin that stops "almost done" loops — declare your stages in workflow.json, runs them as a state machine that auto-retries until quick tests, code review, and journey tests all pass. Live web viewer + cross-machine resume + templates hub.

25Stars on the repository
23Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
noneNo LICENSE: all rights reserved, so bodies are not copied

Stop

03

jie-worldstatelabs/stagent

Hook

Runs when the agent finishes a response, executing stop-hook.sh. From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

UserPromptSubmit

04

jie-worldstatelabs/stagent

Hook

Runs when you submit a prompt, before the agent sees it, executing user-prompt-submit.sh. From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

Notification

05

jie-worldstatelabs/stagent

Hook

Runs when the agent sends a notification, executing notification-hook.sh. From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

PreToolUse

06

jie-worldstatelabs/stagent

Hook

Runs before the agent uses a tool for Agent, Bash and AskUserQuestion tool calls, executing agent-guard.sh, plugin-path-rewrite.sh, ask-user-question-hook.sh and activity-hook.sh (4 commands). From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

PostToolUse

07

jie-worldstatelabs/stagent

Hook

Runs after a tool call finishes for Write, Edit, MultiEdit, Agent and AskUserQuestion tool calls, executing postwrite-hook.sh, agent-ledger-add.sh, ask-user-question-hook.sh and activity-hook.sh (4 commands). From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured

SubagentStop

08

jie-worldstatelabs/stagent

Hook

Runs when a subagent finishes, executing agent-ledger-remove.sh. From jie-worldstatelabs/stagent.

25 3mo ago A tokens not measured