Command Palette

Search for a command to run...

Назад к скиллам
скилл № 05155

hook-pipeline

Build a hook pipeline on the user's canvas yourself — stages, reviews, loops, parallel branches — out of agentY's own nodes, wired with the execution wire…

БесплатноБез исполняемых скриптов
szprivateот szprivate★ 53 звезды на GitHub

Установить hook-pipeline в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Building a hook pipeline

A hook pipeline is the user's plan, drawn: stages of work, the order they run in, where a person looks, what repeats. You can draw it for them. You build it; they read it and press agentY hooks to run it.

Build, show, stop. Do not run a pipeline in the turn you build it. It is only read from the canvas when the user sends a message, and a plan they have not seen is not theirs yet. End the turn with the pipeline on the canvas and one short list of its stages.

1. Plan the stages first, in the chat

Before any node, write the pipeline as a numbered list and get it right there:

  • One stage = one kind of work with one result. "Write the screenplay", "one reference image per character", "animate the chosen references". If a stage needs an and to describe it, it is two stages.
  • What does each stage read? The value of an earlier stage, a file, a node already on the canvas.
  • Where does a person need to look before money is spent? That is a review. Put one before every expensive stage whose input was just generated.
  • What repeats until it is right? That is a loop, and it needs someone to judge it: a review inside it.
  • What does not depend on each other? Those are branches; they run at the same time, each in its own conversation.

If the user asked for the pipeline in one line, show this list and build it. If they are restructuring one they built, show what changes and wait for their go.

1b. From a conversation that worked

When the user asks to turn a conversation into a pipeline - this one or an older one - do not plan it from memory. Your history is compacted and leaves out which workflow made which file. Call conversation_as_pipeline() (or conversation_as_pipeline(conversation="<words from its title>")). It returns the steps: what was asked, the outputs with the workflow behind each, its params (prompt, model, seed), what it reads (earlier outputs it loaded), used_by_a_later_step, and the user's reaction.

Read the steps as the user's real process, and boil them down:

  • Drop the detours. A step whose outputs nothing read, which the user moved past ("no, go back to the first look"), is not a stage. Several rounds of the same thing ("warmer", "again, less grain") are ONE stage.
  • What the user said becomes the directive. Merge the first ask and every correction that stuck into one brief: "Portrait of the robot, warm rim light, low grain", not "make it warmer". Leave out the specifics of this one run that a re-run should change (a name, a file); say what is needed instead.
  • The workflow that made the kept result is where the stage starts. For a make workflow stage, name it in the directive: "Start from the workflow , which worked: bind the anchor image into its loader, keep the model and settings." If the user wants the canvas to hold the real graph, insert_workflow_into_canvas(workflow) and drive it with a set / sweep parameter stage wired into its prompt (the params ids say which input).
  • reads is the anchor wiring. If step 3's output read step 1's, the stage for step 3 has stage 1's out in an anchor.
  • Where the user chose or corrected, put a human review. Its notes is the question they answered then: "Which of the four looks goes on?"
  • Where they asked for rounds until it was right, put a loop with that review last in the body.
  • Steps that did not depend on each other become branches, with a join where a later step read both.
  • A step with no workflow was made by a tool (a partner or DashScope call, a script): make it a make workflow stage whose directive says which tool to use.

Show the boiled-down plan as a numbered list, each stage saying which steps of the conversation it stands for. Then build it as below.

2. The nodes

node (class_type) what it is settings (params)
AgentYHook a stage of work directive, purpose, remember
AgentYReview who looks at the stage before it reviewer: human or agent; notes
AgentYLoopStart where a loop begins none
AgentYLoopBreak where it ends condition, max_rounds, forward
AgentYJoin where branches meet again none
AgentYEdit cuts the finished shots into one film brief, size (e.g. 1920x1080), fps, length (seconds, 0 = free), format (mp4, mov)

The three purposes of a hook — write them exactly like this, with the spaces:

  • set / sweep parameter — produces the VALUE of the input its out is wired to. One value sets it; several run the graph once each. Use it when a node that does the generating is already on the canvas and the stage decides what goes into it: "three prompts per character, one run each".
  • make workflow — you build and run a whole workflow from the directive. Use it when nothing on the canvas does this stage's work yet: *"upscale
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01edit_canvas_graph
  2. 02set_canvas_node_params
  3. 03delete_canvas_nodes
  4. 04get_canvas_node
  5. 05conversation_as_pipeline
  6. 06insert_workflow_into_canvas

FAQ

Что делает скилл hook-pipeline?

Build a hook pipeline on the user's canvas yourself — stages, reviews, loops, parallel branches — out of agentY's own nodes, wired with the execution wire. Activate when the user asks you to set up, design, build or restructure an automation pipeline or a hook chain ("build me a pipeline that…", "set this up as hooks", "turn this into a workflow I can re-run"), or when a request changes what the stages of an existing chain are. Also when the user asks to rebuild a conversation that worked as a pipeline ("turn what we just did into a pipeline", "rebuild the robot chat as hooks") - see "From a conversation that worked".

Как установить скилл hook-pipeline?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hook-pipeline запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить hook-pipeline с