How this skill is triggered — by the user, by Claude, or both
Slash command
/agentflow:report [<target_pane_id>][<target_pane_id>]haikuThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
After a task completes, report the results to the originating tmux pane.
After a task completes, report the results to the originating tmux pane.
[task from ..., pane_id: xxx, loop: xxx] or [fix from ..., pane_id: xxx, loop: xxx] tag$ARGUMENTSloop: true or loop: false from the received tagfalseAll scripts/ paths are relative to the directory containing this SKILL.md file. Resolve them to absolute paths before execution:
SKILL_DIR="$(dirname "$(realpath "${BASH_SOURCE[0]}")")" # 或直接使用本文件所在目录的绝对路径
Use "$SKILL_DIR/scripts/xxx.sh" instead of bare scripts/xxx.sh in subsequent commands.
Use "$SKILL_DIR/scripts/generate_message.sh" to generate the full report message. Do not assemble template content manually.
You must use this script exclusively to generate the message. Never assemble or hand-write it yourself -- this ensures consistent formatting and prevents missing fields.
Required parameters:
--tool-name: Current AI tool name (e.g., Claude Code, Cursor, etc.)--loop: Loop value extracted from the received tag (true or false)--desc: One-sentence summary of the execution result--original-task: Original task content (document path or inline task description)--completed: Number of completed tasks--skipped: Number of skipped tasksOptional parameters:
--unprocessed: Number of unprocessed tasks (omit if none)--evaluate: gate-evaluate assessment conclusion (omit if empty)--skip-reasons: Explanation for skipped items (omit if empty)--issues: Outstanding issues (omit if empty)MSG_FILE=$(bash "$SKILL_DIR/scripts/generate_message.sh" \
--tool-name "{tool_name}" \
--loop "{loop值}" \
--desc "{简要描述}" \
--original-task "{文档路径或内联任务描述}" \
--completed {数量} \
--skipped {数量} \
--unprocessed {数量} \
--evaluate "{gate-evaluate 评估结论摘要}" \
--skip-reasons "{跳过的任务及原因}" \
--issues "{遗留问题说明}")
When everything completes successfully, omit the optional parameters:
MSG_FILE=$(bash "$SKILL_DIR/scripts/generate_message.sh" \
--tool-name "{tool_name}" \
--loop "{loop值}" \
--desc "{简要描述}" \
--original-task "{文档路径}" \
--completed {数量} \
--skipped 0)
Send the generated message file to target_pane_id via the tmux-send skill:
/tmux-send {target_pane_id} {MSG_FILE}
--evaluate, --skip-reasons, and --issues--evaluate and --skip-reasonsnpx claudepluginhub fingergohappy/ai-kit --plugin agentflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.