AGENT SKILL

cc-launch-workflows

On Claude Code, once the planning stage is completed, and if the user prompts you to use this skill, launch the execution of the plan as a workflow.

License 许可
MIT
所属仓库
dotlas/skills
最近更新
2026-10-27
Stars
★ 2
Forks
0

01 前言 Front Matter

name
cc-launch-workflows
description
On Claude Code, once the planning stage is completed, and if the user prompts you to use this skill, launch the execution of the plan as a workflow.

03 SKILL.md 正文

After planning is complete and the user asks to execute, launch the plan as a background workflow of fresh Sonnet worker subagents, with the current agent (you) as orchestrator. If you do not have necessary context, you must launch “Explore” subagents to gather the required information before launching the workflow.

Ultracode: create a workflow based on the current active conversation’s plan. You are the manager / orchestrator and the subagents of the workflow are the workers.

Key Attributes of the workflow declaration:

  • The model used for implementation must be Sonnet only, for every worker. If you cannot guarantee Sonnet, you must resolve this with the user. Every agent() call in the workflow script must pass { model: 'sonnet' } explicitly. The Workflow tool defaults each worker to the planning session’s model, so workers silently inherit that expensive model unless you override. This is the one place you deliberately ignore the default workflow tool’s “omit model” preset. Set an appropriate effort too. Look at the effort matrix below to decide per-worker effort levels.
Worker Effort Type of Problem Example Use-Cases
medium Pure mechanical changes. File locations, what code to add or change are all resolved already, and its just low cognitive effort to implement. Add a new utility function, refactor a function, add a parameter to an endpoint, etc. When the worker doesn’t see more than 10 or so simple / small files.
high Lower mechanical, higher cognitive load when making changes or adding code. Adding a new endpoint, adding a new feature, creating a new table, etc. When the worker needs to know how the codebase is strung up so that it doesn’t trip any wiring.
xhigh Mission critical workloads, or highly cognitive code changes that require presence and mindfulness. Adding a new page, building a new notebook or subdir, adding code for authentication or authrorization / security workloads, etc. When the worker needs to seriously consider surfaces and blast radius without causing regressions.
  • The context must be fresh for each worker, and only relevant context should be passed to launch each worker. Common information that is required for all workers can be passed as a shared context or through a common file on disk.
  • If each worker starts with needing to build context itself again, the prompt and context injected is not complete enough.

How to create the workflow:

  • You may use parallel tasks where applicable to speed up the execution. Try to logically validate and isolate subagent work when they work in parallel so they don’t have race conditions on the same files.
  • Tasks need to be atomic and independent where possible. No worker should have an overload of work or context. If a worker has too much work, you must break it down into smaller tasks and launch more workers.
  • Dependent tasks can be chained with the right dependencies. You must ensure that the workers are launched in the right order and that the output of one worker is passed to the next worker as input either through you or through a common file on disk. Return structured data via a schema on agent(), and use pipeline() so item B’s stage 2 gets item A’s stage-1 result directly. Reserve the shared file for large/common context.
  • Where necessary, add a review subagent at the end of the workflow that validates the work of all ancestor agents and if the goal has been met.
  • Do not make a worker wait on a long-running task that lives outside Claude — an async job on another platform, an external run you would poll until it completes, or anything that cannot return within a couple of minutes. When a step depends on such a task, do not chain further workflow tasks behind it. Instead, launch a background task yourself (outside the workflow) that wakes you when the external task finishes, then define a new workflow for whatever comes after.

You must launch the workflow as a background task / process so that the current conversation is not blocked. Launched workflows must be viewable by the user at /workflows in Claude code. Any blockers to setup or launch the workflow can be resolved by asking the user for more information or context.

Do-Nots

  • Do not ask the user to do your work for you.
  • Do not use worktrees to maintain state across subagents.
  • If the skill is invoked, do not ignore it if you feel you can do it without subagents or workflows. Talk it over with the user first, using AskUserQuestion, or by a direct chat message.

04 同仓库更多 Skills

dotlas
dotlas/skills

where-were-we

Provide the user with a refresher of existing chat turns. Useful when the user wants to understand where we stand in the conversation.

★ 2
dotlas
dotlas/skills

update-global-dotlas-skills

Sync the globally-installed dotlas/skills catalog and prune stale remnants. Runs the documented global install command, then detects skills that were installed from dotlas/skills but no longer exist in the catalog and removes them (with confirmation). Use when the user wants to update, refresh, or clean up their global Dotlas skills, or invokes /update-global-dotlas-skills.

★ 2
dotlas
dotlas/skills

unpack

Explain an unfamiliar thing plainly and from first principles, structured so the reader sees why it is true. Use when someone is trying to understand something — a dense or jargon-heavy passage, a baffling error, an unfamiliar mechanism, a codebase, or a document — asks to break something down ("walk me through this", "what does this actually mean"), or wants their intent turned into a precise instruction for another agent. Trigger on confusion or a request to understand, not on difficulty alone; technical or long content is not itself a signal.

★ 2
dotlas
dotlas/skills

sum

Use when the previous response is too technical, complex, or jargon-heavy and needs a clear, plain-language explanation

★ 2
dotlas
dotlas/skills

slack

Compose a Slack message, or digest a Slack thread into compact context. Use when the user asks to reply to a person or channel, write a Slack post, or catch up on a thread without reading the whole transcript. This skill covers how to write well for Slack — both jobs share the same standard.

★ 2
dotlas
dotlas/skills

plan-with-me

Collaborative, human-in-the-loop planning for something new that spans several parts and needs human judgement at each fork. A brainstorming partner that funnels — each fork opens up the real options, then narrows to a decision, surfacing caveats and breaking points, and co-authoring the plan instead of guessing alone. Fits any domain where you plan something new against existing context. Resolves one decision at a time, each with a recommendation, then emits a lightweight plan to hand off for implementation. Use when planning alone would make wrong assumptions, or the user wants to shape something new together.

★ 2