leeovery/tick/tree/main/.claude/skills/workflow-gates-rows
workflow-gates-rows
workflow-gates mod가 보낸 질문과 답변을 transcript 행으로 그려 플러그인 프롬프트에 대한 Claude Code의 표현을 바꾸고, 대화별로 행을 저장하는 Claude Code 플러그인입니다.
이 mod 소개
workflow-gates-rows는 독립적인 Claude Code 플러그인입니다. Claude Code가 플러그인 자체가 제출한 프롬프트의 행에서는 그 플러그인의 render hook을 실행하지 않기 때문입니다. workflow-gates mod가 보낸 질문과 답변(예: “Approve this task? → yes · Commit and continue to next task”)을 보여 주도록 transcript 행을 다시 그리고 Claude Code의 표현을 대신합니다. 행은 mod가 대화 전용 폴더에 남긴 sent.json 기록과 연결하며, 연결할 수 없는 행에는 답변만 표시합니다. 바뀌는 것은 그리기뿐입니다. 모델은 여전히 Claude Code의 표현을 읽고 ctrl+o로 메시지 전체를 볼 수 있습니다. 그려진 각 행은 ~/.config/workflows/conversations/{session-id}/rows.json(WORKFLOWS_CONFIG_DIR가 설정되면 그 아래)에 message id를 키로 저장되므로, 작업 디렉터리와 관계없이 이전으로 스크롤하거나 재개한 대화가 일관되게 렌더링됩니다. Claude Code가 대화 transcript를 삭제하면 폴더도 제거하지만 session-end hook이 종료를 한 번도 보지 못한 대화는 예외입니다. workflows를 실행하지 않는 대화나 home directory와 WORKFLOWS_CONFIG_DIR가 모두 없는 프로세스에는 폴더를 만들지 않고 행은 Claude Code 방식으로 그립니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add leeovery/tick claude plugin install workflow-gates-rows
원문 / README
workflow-gates-rows
A Claude Code mod that draws the transcript row of an answer the
workflow-gates mod sent as the question and the answer —
Approve this task? → yes · Commit and continue to next task — in place of
Claude Code's framing of a plugin's prompt. It is a plugin of its own because
Claude Code skips a plugin's own render hooks on the row of a prompt that
plugin submitted. It pairs a row with the record the mod leaves in the
conversation's own folder as sent.json as it sends; a row it cannot pair
shows the answer alone. It changes only the drawing: the model reads Claude
Code's framing, and ctrl+o shows the message in full.
Each line it draws is kept in that folder,
~/.config/workflows/conversations/{session-id}/rows.json (under
WORKFLOWS_CONFIG_DIR where that is set, beside the workflows' system
config), under the row's message id, so scrolling back and a resumed
conversation draw the row the same way, wherever the session's working
directory has moved. The folder goes once Claude Code has deleted the
conversation's transcript, and the lines with it, with one exception: a
conversation whose end the session-end hook never saw — the session that first
installed the hook, or one that crashed — keeps its folder. The mod names the
folder the way the workflows' engine does. A conversation that
does not run the workflows has no folder, nor does one in a process that names
neither a home directory nor WORKFLOWS_CONFIG_DIR: there the mod writes
nothing and draws the row as Claude Code does.
동명의 다른 작품
- workflow-gates-rowsleeovery · ★ 3
