/zeroshot:zeroshot-graph-designfrom Zeroshot
Guides users through designing a Zeroshot graph via a structured interview, inspecting repository evidence to propose sensible defaults for code-change checks.
Ships in Zeroshot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Help the user design a lean graph they understand and can reuse. Keep the conversation short and opinionated: inspect what you can, propose sensible defaults, and ask about choices that materially change the design. Graph design does not authorize starting a run.
For a local checkout, begin by asking:
I'll assume you want a reusable code-change graph for the repository this skill was called from:
<invoking directory>. Is that right, or do you have a different purpose or repository in mind?
Use the actual invoking directory. In a browser chat without a checkout, ask which repository or purpose the profile should serve and use available host context, attachments, or user-supplied evidence instead of inventing an invoking path. Wait for the answer before proposing a graph. If the user already confirmed the purpose or repository, continue without repeating the question; otherwise keep the task as a per-run input.
Keep target and transport separate. Explicit MCP/plugin access requires the connected Zeroshot
server; when disconnected, help set it up rather than switching to CLI/local execution. Explicit
CLI access, including Platform through --target platform, uses native CLI login without needing
MCP. Use logical tool names below and discover their client-qualified names from the connected
server instead of assuming a host-specific prefix.
Do not ask for harnesses, models, or effort yet.
Read applicable repository guidance, manifests, scripts, CI workflows, test configuration, and enough representative code to identify the stack and normal development workflow. Use read-only inspection; designing a graph does not require running the test suite or changing application code.
Ask for unavailable evidence needed to choose meaningful checks. Label a provisional graph and its unresolved facts; do not claim to have inspected inaccessible files or invent test commands. Missing evidence needed for a runnable profile remains a blocking question.
Infer what the user would almost always check after a code change. Ground the proposal in concrete commands and file paths, and label uncertain assumptions. Distinguish routine checks from checks that depend on the affected code:
For code-change graphs, ask: "How should runs deliver changes: leave them local, push a branch, open a PR, or merge?" Reuse any earlier choice and include delivery in the proposal.
Propose a complete first draft using the evidence. Ask focused follow-ups only where the answer would change the graph; avoid making the user describe facts you can inspect.
Start with an implement/repair worker followed by independent review, looping on actionable feedback until the required reviewers accept. Combine responsibilities when one reviewer can cover them well; add nodes only for distinct work or verification that earns a separate pass.
Parallelize independent work and reviews. Keep overlapping edits and checks that compete for mutable resources sequential unless they have suitable isolation. Avoid routing trees, coordinator layers, and separate planning or reporting agents without a concrete need.
The worker must receive every relevant rejection. Repairs trigger fresh review of the resulting workspace; success requires all required reviewers to accept that version. Keep environment failures distinct from code defects.
Write concise node prompts with the task, responsibility, applicable checks, and expected result. Reviewers inspect and verify without repairing the change; remind them that other nodes may execute concurrently. Keep Git commands out of reviewer prompts; use files and observable outputs. Pass task and feedback through graph inputs rather than repeating them in long prompts. Resolve material ambiguities during the interview because runtime agents are non-interactive.
Leave optional deadlines, budgets, and retry restrictions unset unless requested. Do not copy small loop caps from examples. When the graph format requires finite bounds, derive permissive valid values from the current structural ceilings and the proposed graph's execution counts. Explain those required bounds briefly; preserve mandatory protocol limits and never claim the runtime is unbounded.
Briefly explain the repository evidence behind the verification choices. Then draw the graph in an inline ASCII code block, using only node titles or purposes, forks/joins, and high-level conditions. Omit schemas, field bindings, runtime details, and plumbing from the diagram.
For example, when two independent reviews are useful:
[Implement / repair]
|
+----> [Review code] -----+
| |
+----> [Verify behavior] -+
|
all accept? -- yes --> [Done]
|
no
+----> [Implement / repair]
Immediately below the diagram, show the complete authored instructions for every agent node, each in a labeled fenced text block. Quote them verbatim, including any shared authored instruction text. Do not summarize, elide, or hide instructions behind references. Explain variable inputs outside the quoted text. Structural nodes need no invented prompts.
Invite feedback on the graph and wording. After revisions, show the updated diagram and all current node instructions together so the user can review a complete version. Keep simplifying as you iterate. Wait for the user's acceptance; silence is not acceptance.
Only after the user is happy with both graph and instructions, ask:
Which harness, model, provider, and effort would you like? You can use one configuration for all agent nodes or specify them per node. Effort can also stay at the harness default.
Reuse choices already supplied. Confirm the provider when needed to form a valid harness/provider lane. Keep model identifiers exactly as authored; do not infer providers from model names or invent a model catalog. Resolve incomplete choices before producing a runnable runtime plan.
Accept ordinary model names and resolve their technical IDs from existing configuration or official provider documentation. If the provider is unclear, ask only for the provider; do not ask the user for a model ID.
Prefer a continuing worker session and fresh independent reviewer sessions when supported, unless the user chooses otherwise. If runtime constraints require changing the graph or instructions, show the revision and get agreement on it before finalizing.
For MCP, read get_authoring_catalog for the connected server's graph/runtime schemas and
templates; validate the resulting documents with validate_profile. Use each tool's typed input
schema, without a generic request or action wrapper. For CLI, use installed help and
version-matched documentation as the contract. The official review-loop guide and runtime-plan reference describe the separate graph and runtime documents; check compatibility with the chosen server or installed version.
Produce graph.json and runtime.json in the user's chosen location, or a dedicated local artifact directory if none was specified. When no writable checkout exists, return portable JSON text or downloadable artifacts and say where they exist; do not claim repository writes. Preserve the reviewed node instructions verbatim. Bind every executable node and connect reviewer verdicts and diagnostics to the loop's acceptance condition and repair feedback. Give bound exhaustion and execution failures explicit unsuccessful outcomes.
Use supported validation that does not start a run, subject to repository guidance. Report what was actually validated; JSON parsing alone does not prove graph admission. If Zeroshot or full validation is unavailable, still provide the design and files and state the remaining validation clearly.
Suggest a name and offer local, Platform user, or Platform organization storage. Use platform for
the built-in remote CLI target unless another target is specified. A local profile requires CLI
access; MCP saves to the user's chosen Platform scope.
For MCP:
list_profiles/get_profile in the intended scope. Reuse
the current authorized organization; ask only if the destination is unresolved. Confirm the
name, scope, and any replacement once; an explicit save instruction counts as confirmation.validate_profile, then call save_profile with scope,
name, graph, and runtime. Read it back with get_profile and compare the agreed node
instructions and runtime choices. Retain the draft if validation or saving fails. Only call
set_default_profile when the user requests that default change.list_connections. When values are missing, link to
Platform Connections or a verified browser setup URL. Never request
keys in chat or tool arguments. MCP authorization does not configure runtime providers.initialInput matching its schema, and the source fields a
future run needs: repository, branch, and exact committed revision. Explain that an authorized
run uses submit_profile_run; hand execution to the zeroshot skill only when requested.The remaining save commands apply to CLI access; a successful MCP save needs no CLI installation.
Before asking for login or an organization, check existing access with zeroshot profile list --target TARGET --scope SCOPE. Reuse the session and selected organization; ask only if unresolved. Follow host credential-store guidance if login is needed.
Check name conflicts, then confirm the name, destination, and any replacement once. An explicit save instruction counts as confirmation. Save with zeroshot profile set NAME --graph graph.json --runtime-config runtime.json, adding --target TARGET --scope SCOPE for platform storage. Read back and verify the saved profile; retain the draft and report any failure.
Ask whether the saved profile should become the default, naming the affected scope. If yes, use zeroshot profile default NAME with the matching target/scope flags. Reuse an earlier default decision.
Inspect the effective runtime's required environment/connection fields and existing configuration. If values are missing, ask how the user wants to provide them:
zeroshot connection set KEY --field FIELD with repeated hidden prompts and the correct target/scope. Include every connection field because set replaces the connection.https://app.zeroshot.sh/orgs/ORG_ID/connections?scope=SCOPE using verified values, or link to Platform and direct the user to Connections.Never request secret values in chat or embed them in printed commands. Skip this question when no values are missing.
Finish with a copyable zeroshot run command containing the saved profile selector, title, input file, and target where applicable, plus minimal input JSON matching the graph. Include startup prompts if chosen. Do not start the run unless explicitly requested.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub the-open-engine/zeroshot --plugin zeroshot3 skills in this plugin
/zeroshotUse Zeroshot to prepare, run, observe, or troubleshoot explicit multi-agent software work locally or on Zeroshot Platform. Apply when the user names Zeroshot, including 'zeroshot this' or 'zeroshot it' (this orchestrator, not one-shot prompting), or asks about its CLI; do not route ordinary local work into Zeroshot without that intent./zeroshot-planPlan software work with Zeroshot before it is built, turning a request, issue or idea into an implementation-ready plan with checkable acceptance criteria that a Zeroshot run can build and verify. Use when the user asks to plan work with Zeroshot ("plan this with zeroshot", "zeroshot plan ...", /zeroshot-plan) or accepts the zeroshot skill's suggestion to plan first. Do not use for ordinary planning requests that do not name Zeroshot, the host's own plan mode, running Zeroshot (use the zeroshot skill) or small edits the user asked to make directly.Other plugins' skills for the same job