se-skills: Command for Claude Code

.claude/commands/se-goal.md

se-goal is a command for Claude Code from ddddjaak/se-skills. It costs 50 tokens per session (519 once invoked), scanned A, original, MIT.

A command that runs a complete systems-engineering workflow toward a stated goal. Systems engineering is the process of defining requirements, designing a system, documenting it, reviewing the work, and checking that the parts remain connected.

In plain words
What is it for?
Use it for end-to-end work such as turning a product requirements document or chip datasheet into requirements, architecture, reviewed specifications, and a traceability matrix.
Why use it?
It removes the need to guide the agent through each workflow stage separately. The command can retry corrections when checks fail and asks for help only when it is genuinely stuck.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is ddddjaak/se-skills's own configuration. It tells Claude Code how to work on se-skills itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything se-skills configures →

Part of the se-skills plugin — 16 skills, 6 commands, 5 agents, 1 hook, 3 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to ddddjaak/se-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ddddjaak/se-skills/main/.claude/commands/se-goal.md
Clone the repo
git clone --depth 1 https://github.com/ddddjaak/se-skills

Made for: Claude Code.

Or install se-skills, the plugin that ships this one along with the rest of its 16 skills, 6 commands, 5 agents, 1 hook, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for se-goal

README.md
[![agentmods](https://agentmods.dev/badge/commands/ddddjaak/se-skills/se-goal/github.svg)](https://agentmods.dev/commands/ddddjaak/se-skills/se-goal)
Your own site
<a href="https://agentmods.dev/commands/ddddjaak/se-skills/se-goal"><img src="https://agentmods.dev/badge/commands/ddddjaak/se-skills/se-goal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for se-goal

Your own site · 80×15
<a href="https://agentmods.dev/commands/ddddjaak/se-skills/se-goal"><img src="https://agentmods.dev/badge/commands/ddddjaak/se-skills/se-goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 519 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.00519
Opus 5 $0.00025 $0.00260
Sonnet 5 $0.00010 $0.00104
Haiku 4.5 $0.00005 $0.00052

Measured 9d ago against content hash 53d2429ef6f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

se-goal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/se-goal.md · 51 lines

What it actually says

/se-goal — Autonomous SE Workflow

Overview

This command triggers Autonomous Goal Mode. You give a clear end-goal, and the AI runs the complete SE workflow chain autonomously — requirements decomposition → architecture design → specification authoring → adversarial review → traceability validation. It self-corrects when reviews find issues. It only asks you when genuinely stuck.

This is the "give a goal, AI goes to work" pattern. Not "help me step by step" — "do it all."

Usage

/se-goal <your goal>

Examples

/se-goal 完成温度传感器方案的完整SE流程,PRD在docs/inputs/prd.md
/se-goal from this datasheet to a reviewed spec and traceability matrix
/se-goal 端到端:从需求分解走到追溯矩阵,芯片是PMIC
/se-goal complete the full SE workflow for the motor controller, inputs are in docs/inputs/

What Happens

  1. PLAN — AI parses your goal, scans for inputs, reports the planned chain ONCE
  2. ACT — Auto-executes skills in order: requirements → architecture → specs → review → traceability
  3. OBSERVE — Runs each skill's verification checklist
  4. REFLECT — If checks pass → next phase. If checks fail → auto-fix and retry (max 3x). If stuck → asks you.

Stop Conditions

  • SUCCESS: traceability-matrix passes with zero gaps
  • 🚨 ESCALATE: 3 consecutive retries fail in the same phase
  • ⏱️ BUDGET: 20+ skill executions (asks whether to continue)
  • ⏸️ PAUSE: You say "stop", "pause", or "wait"

Progress Format

✅ Define  complete — 23 requirements (REQ-001 ~ REQ-023)
✅ Design  complete — 5 modules, 12 interfaces
⏳ Document in progress — spec-authoring (attempt 1)…

No per-phase prompts. Just reports and continues.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 51 lines · 50 tokens per session scan A 53d2429ef6f1

Subscribe to this mod's changes

se-goal is a command published in the GitHub repository ddddjaak/se-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 519 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.