Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/qinghaoliqaq/autocoder/spec_driven_implementationnpx skills add qinghaoliqaq/AutoCoder --skill spec_driven_implementationgit clone --depth 1 https://github.com/qinghaoliqaq/AutoCoderWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00069 | $0.01015 |
| Opus 5 | $0.00034 | $0.00508 |
| Sonnet 5 | $0.00014 | $0.00203 |
| Haiku 4.5 | $0.00007 | $0.00102 |
Grade A, and why
spec-driven-implementation 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Spec-Driven Implementation
This skill is the entrypoint for the spec-driven workflow. It does not write code or specs itself — it sequences other skills and enforces the gates between them.
When To Use
Use when:
- The task is large enough that diving straight into code would risk rework (touches 3+ modules, has architectural choices, or affects shared infrastructure)
- The user explicitly asks for "spec-driven", "with a spec", or references the workflow by name
- You're unsure whether to spec or just code — err on the side of spec'ing if a wrong implementation would cost more than 30 minutes to redo
Don't use for:
- One-line fixes / typo corrections
- Routine refactors with obvious scope
- Exploration ("just look at how X works") — use direct tool calls
The Three Phases
Phase 1 — Spec
Invoke the write-tech-spec skill (via the Skill tool, or by
following its instructions inline if you've already loaded it).
Outcome: specs/<id>/TECH.md exists with all required sections,
file:line citations verified, and 80–150 lines.
Phase gate: stop and surface the spec to the user before implementing. Do this by:
- Telling the user where the spec was written.
- Highlighting the most important Risks & Open Questions.
- Asking via
AskUserQuestionwhether to proceed, revise, or abandon.
If the user requests revisions, loop back to write-tech-spec with
their feedback as additional input. Do NOT silently proceed to Phase 2
without explicit go-ahead.
Phase 2 — Implement
Invoke the implement-specs skill against the now-approved spec.
Outcome: code changes committed in step-sized commits, spec updated in the same commits whenever the implementation diverges from what the spec proposed, optional PROJECT_LOG.md / DECISIONS.md maintained.
Phase 3 — Verify & Document
After the last Implementation Plan step:
- Run the full test scenarios in TECH.md's Testing section.
- Invoke the
verifyskill for a build / test sanity sweep. - Append a final PROJECT_LOG.md entry: "spec landed, PRs: …".
- Confirm TECH.md's Current State now describes the new state, not the pre-change state.
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.
- 2d ago First seen · 113 lines · 69 tokens per session scan A bcfe561ac57b
spec-driven-implementation is a skill published in the GitHub repository qinghaoliqaq/AutoCoder (11 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 69 tokens to every session and 1,015 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-30.
Other skills, from other repositories
ha-skill-creator
Create, edit, improve, or audit Hope Agent skills. Use when the user wants to: (1) create a new skill from scratch, (2) edit or improve an existing skill, (3) review or clean up a SKILL.md file, (4) run evaluations to test skill effectiveness, (5) optimize skill descriptions for better trigger accuracy. Trigger…
ha-mac-control
Hope Agent native macOS desktop control — the standard maccontrol status / diagnostics / apps / dock / spaces / snapshot / visual / windows / menu / clipboard / dialog loop, target-first action rules, no-blind-coordinate policy, and recovery for stale AX/window/menu/dialog state. Load whenever using maccontrol, or…
ha-browser
Hope Agent browser automation — the standard status → tabs → snapshot → act loop, stale-ref recovery rules, and what to do when login / 2FA / captcha / camera-prompt / dialog blocks progress. Load this skill whenever you reach for the browser tool. Trigger on: user asks the agent to open / control / click / scrape /…
ha-logs
Self-service diagnostics — query Hope Agent's local SQLite databases (logs / sessions / background jobs) directly via the exec tool to investigate problems, analyze usage, and locate root causes. Trigger on: user reports something broken / failing / slow / stuck / not responding ('X 不工作', 'X 报错', 'X 卡住', '为什么 X 失败'…
ha-pet-import
Safely import, select, switch, or enable a compatible desktop pet in Hope Agent. Resolve packages from any origin, including local folders, zip archives, pet.json plus a sprite, PNG/WebP atlases, chat attachments, repository or cloud files, direct HTTPS artifact URLs, and download pages. Use whenever a user asks to…
ha-data-analytics
Hope-native local-first data analysis and Artifact reporting. Use for CSV/XLSX analysis, KPI readouts, metric diagnosis, product/business analysis, data-quality review, dashboards, charts, analytical reports, 数据分析, 指标诊断, 数据质量, 分析报告, or when the user wants a shareable offline HTML/ZIP/Markdown/PDF result. Produces the…