npx claudepluginhub shallow-dusty/claude-plugins --plugin trainhubDefined in hooks/hooks.json
Edit|Writefor f in $CLAUDE_FILE_PATHS; do case "$f" in */weights/*|*/runs/*|*/results/*|*/datasets/*|*/checkpoints/*) echo "BLOCK: trainhub 保护 — 禁止直接修改 weights/ runs/ results/ datasets/ checkpoints/ 下的文件。这些是训练产物,应由训练脚本写入。" >&2; exit 2;; esac; done; exit 0Blocks Write/Edit tool calls on .team/team.json and .team/task-state.json files in PreToolUse hook. Enforces cmux-team create-task/update-task/close-task CLI usage via shell command with jq/grep check, exits 2 to prevent edits.