/chitta:shepherdfrom chitta
Autonomous pipeline monitor using a sense-think-act loop. Watches snakemake/nextflow jobs, detects errors, applies fixes from memory, and restarts on failure.
Ships in chitta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Tends long-running pipelines (snakemake, nextflow) using a sense-think-act loop. Detects errors, recalls fixes from memory, restarts automatically, checkpoints progress.
/shepherd <command> [--interval=60] [--max-restarts=3] # Start monitoring
/shepherd status # Check shepherd status
/shepherd stop # Stop monitoring
| Flag | Default | Description |
|---|---|---|
--interval | 60 | Seconds between sense cycles |
--max-restarts | 3 | Max automatic restarts before escalating |
--notify | true | Send notifications on events |
--auto-fix | true | Attempt automatic fixes from memory |
--session | auto | Target session: "auto", "current", or session name |
--isolate | auto | Session isolation: "auto", "yes", "no" |
--isolate=auto picks isolation by job type (SLURM/remote-SSH/multiple parallel
pipelines get an isolated session; quick local or interactive jobs don't). Read
reference/configuration.md before implementing this decision — it has the full
condition table and the shouldIsolate logic.
zellij_mcp/chitta tools via ToolSearch, check for
an existing long_task to resume, decide session isolation, create the
monitoring pane, and launch the pipeline.--interval, with a pre-flight
health_check and session-liveness check each cycle, until done or paused.Read reference/initialize-and-loop.md before implementing any of the steps
above — it has the full pseudocode, including every mcp__zellij_mcp__* and
mcp__chitta__* call.
Read reference/patterns-and-tools.md for known snakemake/nextflow error
signatures, the expected status-line output format, and the full MCP tool list.
Read reference/resume-protocol.md when resuming a shepherd task after a
disconnect or session restart.
/shepherd dashboard opens an interactive control center across all active
shepherd tasks — view task details or pane output, restart/stop/escalate a
pipeline, or view learned habits. Read reference/dashboard.md for the full
implementation before building or running it.
What SKILL.md sets; muted values are Claude Code's defaults
bash $CLAUDE_PLUGIN_ROOT/hooks/shepherd-stop-hook.shBashbash $CLAUDE_PLUGIN_ROOT/hooks/shepherd-prompt-hook.shThree short reads, in order
Other plugins' skills for the same job
npx claudepluginhub genomewalker/chitta --plugin chitta31 skills in this plugin
/antahkaranaMulti-perspective reasoning through cognitive voices/cc-soul-daemonStart, stop, or check the chittad daemon/cc-soul-mcpConfigure chitta MCP server for direct tool access (mcp__chitta__*)/cc-soul-setupSet up chitta with a source build when a compiler is available, or pre-built binaries/cc-soul-shutdownGracefully stop the chitta daemon/cc-soul-updateUpdate chitta binaries (builds from source, falls back to pre-built)