respawn-llc/kent/kent-workflows
Claude Code and agent skill by respawn-llc/kent
- community
Checking that the SKILL.md file is still in the repository.
How to use the Kent CLI to author and edit Kent workflow graphs — nodes, edges, transitions, parameters, context modes, and project links. Use when the user asks to define, build, inspect, or modify Kent workflows.
Install
npx vskill@latest install respawn-llc/kent/kent-workflowsSKILL.md
- A workflow is a graph of node states connected by transition branches.
- A task is a durable user-facing unit of work moving through one workflow. It directly owns its Current Nodes: normally one, or several during parallel fan-out.
- A node is a visible workflow state.
startis where tasks are created,agentnode runs Kent sessions,joinwaits for parallel branches of a group, andterminalis a sink where automation stops. - An edge connects a transition group to a target node. A transition group is selected by a
transition_id; if the group has multiple edges, it fans out to parallel target nodes. - Model-facing keys such as node keys, edge keys, transition IDs, and parameter keys must be stable and use lowercase Latin characters. Prefer
implementation_finished,review_verdict,to_done,needs_changesover display labels with spaces. - Humans perceive workflows as Kanban boards where each node is a column.
Authoritative command details are the live CLI: kent workflow --help
Workflow prompting rules
In addition to general prompting rules, you MUST pay attention to these important workflow considerations:
- Workflow agents run in a fresh session. They do not receive ANY information from the current session, including what the user said, what you answered, tool results, file contents, command outputs, ideas, context, or historical info; they are different from you. It's easy for you to fall into the trap of assuming that the workflow agents will know what you know. When you write a prompt, run a fresh, cheap
kent runsubagent and give it the target prompt to review; do it at least once, correct the prompt, then repeat until no ambiguity exists. Ask the subagent what is unclear or underspecified and what else it needs to complete the provided task, from its perspective. This will help you step into the shoes of a workflow agent. Do this for every prompt you write, without exception.
- Workflow prompts are not piles of task-specific requirements. They run as reusable instructions across hundreds of varying tickets. The more text there is in the prompt, the higher its cumulative cost and the higher the chance the agent gets confused. Prompts must be punchy, to the point, practical, and focused. Never add things like "for this specific task do this, otherwise that"; never mention task IDs or add any information or instructions that do not apply universally across all possible tickets and projects the target workflow will be used for; do not add historical context like "Documentation remains consistent" or useless comparisons like "Write real tests, not change detectors".
- Avoid piling on more and more "rules" and conditionals; changes should be removal-first. Every rule distracts the agent and increases cognitive load. Ask: "Would I be able to handle all of these requirements in my head?" The more specific the agent's task is, the better. Discuss with the user how smart the model they plan to use is, and define the desired level of node granularity for the model to be able to handle the work. Prefer removing rules, reducing their number, or enforcing them, rather than adding more and more exclusions and conditions.
- Caveat: Assume every past instruction has a historical precedent. If the user has an instruction, don't remove it just because it breaks the rules above or just because it became inconvenient. Instead, ask them why the instruction exists and what it accomplished. They have insight and memories you do not have.
- Be careful with your words: agents are a monkey's paw. Assume every instruction will be taken literally. Examples:
- The word "only" in "Read the plan file only once" will cause the agent to never re-read the file even if it changed and needs updates.
- The wording "Address review findings" will cause the agent to keep addressing even invalid, wrong, or conflicting review results infinitely.
- The wording "Open the PR to main" will force the agent to open a PR even if one already exists, even if no work was done, and even if main is not the correct branch for the repo the workflow is used in.
So proactively run review agents on your prompts, eliminate ambiguity, and never add instructions or restrictions speculatively only to discover that they backfire during other tasks. If you're not confident, propose edits via ask_question before making them.
- For messy real-world work, give the agents an escape hatch instruction - what to do when a problem happens, e.g. to ask the user, to execute a transition backwards, or to record evidence and proceed without changes.
- Make your prompts idempotent where the graph topology involves loops. Consider this scenario: an
implementerbuilds a feature, but then areviewerreturns it to theplannerto adjust the requirements. When theplannerfinishes, it sends the task back to theimplementerusing the same prompt as before, but the situation has changed: the worktree already contains a previously finished implementation. Because of that, the 2nd implementer will see the existing code and an adjusted plan (without knowing what edits were made and why), get confused, and throw away good code or produce a broken merged implementation. Your prompts in cycles must consider every path the task might take at every point. Carefully use reasoning and review subagents to make sure the workflow topology does not create confusing situations due to prompt reuse.
These rules are a lot to take in; don't try to hold them all in your head or you'll forget some of them. Use subagents and write verification checklists for yourself before making edits to stay on track.
Verification checklist
This isn't optional for significant changes. Ask subagents to check this:
- [ ] Each workflow prompt makes sense on its own without any other context besides the Kent task and default environment info
- [ ] There are no instructions in any of the prompts that another agent can misinterpret in malicious or undesirable ways
- [ ] Each prompt inside cycles makes sense even on the 2nd+ iteration and the workflow prefers narrow loops to prevent the issue
- [ ] There is guidance for every agent in a loop on how to break the cycle, like asking the human a question, rejecting a finding by talking to the reviewer via parameters, or taking another route
- [ ] There is no point where caches are invalidated in the entire workflow
- [ ] If the workflow is reusable, every prompt and script in it works even across repos, projects, tech stacks and task types
- [ ] No prompt violates any other
promptingrules
Build A Workflow
To create a workflow, inspect its generated start/terminal graph, add nodes and edges, link it to a project, then validate it. Use graph inspect/apply when deletion, rewiring, or several related changes must be saved together.
For validation modes, use draft while authoring, task_creation before creating tasks, and execution for final handoff to the user. Draft workflows can be saved and linked while semantic validation fails. Validate before task creation as a best practice.
To understand what --agent roles are available (the reminder in your memory might not list all of them), inspect the repo-local and user global config.toml files. More info in the kent-dogfooding skill.
Important CLI behavior:
- Workflow commands support
--jsonfor scripting, but JSON is very verbose, so avoid defaulting to it. workflow createauto-creates the initial backlog/start and done/terminal shape; inspect it after creation to avoid adding duplicate start or terminal nodes.workflow list --project <path-or-id>discovers linked workflows for a project.- Agent-targeting edges require
--prompt <text>. Omit--promptfor edges targetingstart,join, orterminalnodes, as there's nobody to prompt. - Script nodes use
--kind script --script-path <path>and can appear anywhere an agent node can appear. Absolute paths resolve on the Kent server; relative paths resolve against the task managed worktree when the script runs. - Link, unlink, and set project defaults with
kent workflow link,kent workflow unlink, andkent workflow default. This sets up bindings between a project (repo, workspace) and a workflow, and enables reuse of workflows. --transition-description <text>sets the model-facing transition description on the edge's transition group. The agent will see it when it completes the task. Use it to tell the agent when to pick this transition over its siblings.--param <key>=<description>(repeatable onedge addandedge update) declares a transition parameter the source agent must produce when taking the transition. Onedge update, passing--paramreplaces the full parameter set;--clear-paramsremoves all parameters. Omitting both preserves existing parameters.- Treat workflow deletion as high impact because it cascades through the workflow's links, tasks, and graph. Review the deletion preview before confirming.
- Workflows have no version control or recovery, so be careful with changes. By default, ask the user for every change you're about to make to an existing workflow, especially prompting changes. Take backups of topology and prompts before changing the workflow a lot.
Edit Existing Workflows
Use node and edge commands for focused changes:
Use the public graph commands for complete-graph edits:
Validate the workflow with kent workflow validate after each meaningful graph change. Non-atomic edits may result in broken states that fail validation and won't let you proceed, so for batched edits prefer the apply syntax.
Context And Approval
Each agent-facing edge requires a context mode:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingprompts/skills/kent-workflows/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/respawn-llc/kent/kent-workflows)