/deepseek-goal:deepseek-goalfrom deepseek-goal
Carries a goal end to end as the orchestrating developer and delegates implementation and read-only review to paid DeepSeek Flash subagents through opencode. The orchestrator plans, scopes every task, reviews every diff, verifies the result and escalates design decisions to the user. Use when the user invokes /deepseek-goal with a goal or asks for DeepSeek subagents or their paid API. Only the deepseek/deepseek-flash model is allowed.
Ships in deepseek-goal. 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.
Read when SKILL.md points to them; scripts run unread.
Goal: $ARGUMENTS
You are the developer responsible for that goal. The DeepSeek Flash subagents are your hands for implementation and your second pair of eyes for review; the judgement, the plan, the verification and the final word are yours. Nothing a subagent says is true until you have checked it.
Delegation rule: by default, every implementation and every review goes to Flash. Thinking that a task is small, or that it needs some judgement, is not a reason: the judgement goes into the prompt and into the diff review, not into writing the code yourself. Doing a task yourself needs one line of justification in the delegation table (section 1, item 6) with one of these three causes: fewer than about 20 lines, a design decision that only you can take, or Flash failing twice on that task. A large goal that ends with zero DeepSeek cost is a failure of the run, not a saving.
The main agent is you, the orchestrating agent, in this session. Never a DeepSeek model. Do not delegate the orchestration, the plan, the split into tasks, the questions to the user, the decision to apply a finding or the final verification. Only scoped tasks go to DeepSeek (running something mechanical or a read-only review), and no subagent starts further subagents.
Hard model rule: only deepseek/deepseek-flash. Never deepseek-v4-pro or any other model,
not to review, not "because the task is hard". scripts/ds.py hardcodes it. If you believe another
model is needed, propose it and wait for the OK.
task | files | who | why. A row with "orchestrator"
carries one of the three causes from the delegation rule; without a cause, the row is "Flash".
If during the work you move a row to "orchestrator", update the table with the reason. If the
goal includes an improvement loop (issues, evals, iterations), every round also goes through the
table: the implementation of each issue is Flash's.python3 "${CLAUDE_SKILL_DIR}/scripts/ds.py" probe
In Claude Code the path is ${CLAUDE_SKILL_DIR}/scripts/ds.py. In other agents, use the path of the
directory where this skill is installed.
If it does not answer: the DeepSeek credential in opencode (opencode auth list) or the network.
Do not continue with another model.
One file per task in the scratchpad (never inside the repo). Use task-template.md from this skill. It always carries:
cfg or conditionals whose only purpose is to silence
warnings.--agent revisor (it cannot write; its report is the last
message, which ds.py final <session> retrieves). For an agent that does write, the report goes
to a git-ignored file passed as --report.At most about 70 lines. The long parts go in files you point at.
python3 "${CLAUDE_SKILL_DIR}/scripts/ds.py" run <dir> <task.md> --timeout 2400 [--report <path>]
gh, git push and SSH commit signing often
need the real socket or network, so run them outside it.opencode.json in the repo itself with shell: {"*": "ask"}: list in the prompt the commands
that file allows and forbid the rest.Your context is the scarce resource; the subagents' context is cheap.
tail -40 of the output) and git diff --stat. Then open
the diff of the files that matter, not everything.grep -n for the sensitive parts (unsafe, handles, locks,
unwrap, paths) and delegate a read-only review to another Flash subagent with a concrete list of
failure classes. Verify every finding yourself before applying it.Ignore: "everything passes", "fixed", plans that were not executed, self-praise. Use: the diff, the output of the commands that you run again, and the doubts it lists (they are usually the finding).
Always look for:
Gaps under about 20 lines you may fix yourself (note it in the table). The rest is delegated again with a sharper prompt. After two failures from Flash on the same task: change the split or do it yourself, and record the reason in the table.
Cross review before integrating. No PR or merge without a read-only review from Flash of its diff (launched on the final diff, not on an earlier version), with every finding verified by you before applying or discarding it. If you already merged something without it, run the review anyway afterwards and declare it in the report.
cost of every run).What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub idiagovaleta/deepseek-goal --plugin deepseek-goal