Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/marcusgoll/Spec-Flownpx agentmods add skills/marcusgoll/spec-flow/ultrathinkWrote 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.
[](https://agentmods.dev/skills/marcusgoll/spec-flow/ultrathink)<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/ultrathink"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/ultrathink/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.
<a href="https://agentmods.dev/skills/marcusgoll/spec-flow/ultrathink"><img src="https://agentmods.dev/badge/skills/marcusgoll/spec-flow/ultrathink.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.03501 |
| Opus 5.5 | $0.00031 | $0.01400 |
| Sonnet 5.5 | $0.00015 | $0.00700 |
| Haiku 4.5 | $0.00008 | $0.00350 |
Grade A, and why
ultrathink 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 1mo 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 — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.
"The people who are crazy enough to think they can change the world are the ones who do."
Core philosophy:
- Think Different - Question every assumption before designing
- Obsess Over Details - Understand the codebase's soul, not just its code
- Plan Like Da Vinci - Architecture so elegant it feels inevitable
- Simplify Ruthlessly - Remove complexity until nothing is left to take away
- Iterate Relentlessly - First solution is never good enough
When activated:
--deepflag on any workflow command- All epic workflows (via
deep_planning_triggers.epic_features) - Features with 30+ estimated tasks (via
deep_planning_triggers.complexity_threshold) - New architectural patterns (via
deep_planning_triggers.architecture_change) planning.auto_deep_mode: truein user preferences
Outputs:
- Enhanced plan.md with assumption inventory
- craftsman-decision.md artifact documenting deep thinking
- Simpler architecture than standard planning would produce
<quick_start> Execute craftsman planning workflow:
- Think Different - Create assumption inventory, challenge each one
- Obsess Over Details - Analyze codebase soul (patterns, philosophy)
- Plan Like Da Vinci - Sketch architecture before implementing
- Simplify Ruthlessly - Find minimum viable architecture
- Iterate - Compare alternatives, refine until inevitable
Key principle: One hour of deeper thinking saves ten hours of rework.
Trigger phrases: "ultrathink", "deep planning", "craftsman mode", "--deep" </quick_start>
Before designing anything, catalog and challenge every assumption.
Create assumption inventory:
## Assumption Inventory
| # | Assumption | Source | Challenge Question | Resolution |
|---|------------|--------|-------------------|------------|
| 1 | Users need X feature | Spec | Is this the real problem or a symptom? | [Validated/Changed/Removed] |
| 2 | We need a database table | Common pattern | Could we use existing data structures? | [Validated/Changed/Removed] |
| 3 | API endpoint required | Architecture | Could this be client-side only? | [Validated/Changed/Removed] |
Challenge questions for each assumption:
- Why does it have to work this way?
- What if we started from zero?
- What would break if this assumption is false?
- Is this solving the real problem or a symptom?
- What's the simplest thing that could possibly work?
Categories to examine:
- Technical assumptions - Database, API, frontend framework
- User assumptions - What users actually need vs what we think they need
- Architectural assumptions - Why this pattern? Why these components?
- Integration assumptions - Do we need this external service?
Output: Document in craftsman-decision.md under "Assumptions Questioned"
Read the codebase like you're studying a masterpiece. Understand patterns, philosophy, and the why behind decisions.
Analysis process:
# Find dominant patterns
grep -r "class.*Service" src/ | wc -l
grep -r "Repository" src/ | wc -l
grep -r "Controller" src/ | wc -l
# Analyze architecture style
ls -la src/
tree src/ -L 2
# Find design decisions in comments
grep -r "// NOTE:" src/
grep -r "// DECISION:" src/
grep -r "// WHY:" src/
Questions to answer:
- What patterns dominate this codebase? (Repository, Service, MVC, etc.)
- What's the philosophy? (Thin controllers? Fat services? Domain-driven?)
- Where does complexity live? (Services? Components? Database?)
- What conventions are sacred? (Naming, file structure, error handling)
- What anti-patterns should we avoid? (Found mistakes to not repeat)
Soul documentation:
## Codebase Soul
### Dominant Patterns
- Repository pattern for data access (12 instances)
- Service layer for business logic (18 instances)
- React hooks for state management
### Philosophy
- "Thin controllers, fat services" - Controllers are routing only
- "Composition over inheritance" - No deep class hierarchies
- "Explicit over implicit" - No magic, clear data flow
### Conventions
- PascalCase for components, camelCase for hooks
- Services return Result objects, never throw
- Validation at API boundary, trust internal calls
### Anti-Patterns Observed
- src/legacy/UserManager.ts - God object, 2000+ lines (don't repeat)
- Inconsistent error handling in older services
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.
- 1mo ago First seen · 472 lines · 77 tokens per session scan A 17abe6587881
ultrathink is a skill published in the GitHub repository marcusgoll/Spec-Flow (96 stars, last pushed 23d ago), licensed MIT. It adds 77 tokens to every session and 3,501 once invoked, about $0.0003 per session on Opus 5.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-09-03.
Other skills, from other repositories
agent-harness-fault-injection
Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.
aria
Designs the data model, API contracts, and structural foundation of the system.
story-readiness
Is a story implementation-ready? Checks clear acceptance criteria, open questions, ADR refs. READY/NEEDS WORK/BLOCKED/NOT ASSESSED.
playtest-report
Structured playtest report template, or turn existing playtest notes into structured feedback.
aws-sst-development
SST v4 (Ion) expert for managing AWS resources as code with the Pulumi-backed framework.
autonomous-agent-patterns
Design patterns for building autonomous coding agents, inspired by Cline and OpenAI Codex.