surge

surge is a skill for Claude Code, Codex from carbonshow/intent-fluid. It costs 66 tokens per session (6,828 once invoked), scanned A, original, MIT.

An autonomous project-delivery workflow for taking a written PRD or specification through repeated analysis, research, design, implementation, and quality checks. A PRD is a document describing what a product or feature should do.

In plain words
What is it for?
Use it when a detailed requirements document calls for a full project delivery across several work areas. It is intended for multi-round development and review, not quick questions, prototypes, or one-file changes.
Why use it?
It coordinates the work needed for a complex project instead of treating the requirements as a single coding task. Repeated review cycles help identify unfinished work and decide whether the project is converging on completion.

Skill for Claude CodeCodex

Part of the intent-fluid plugin — 4 skills shipped together

Install

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.

agentmods
npx agentmods add skills/carbonshow/intent-fluid/surge
Any agent
npx skills add carbonshow/intent-fluid --skill surge
Clone the repo
git clone --depth 1 https://github.com/carbonshow/intent-fluid

Made for: Claude Code, Codex.

Or install intent-fluid, the plugin that ships this one along with the rest of its 4 skills.

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 surge

README.md
[![agentmods](https://agentmods.dev/badge/skills/carbonshow/intent-fluid/surge.svg)](https://agentmods.dev/skills/carbonshow/intent-fluid/surge)
Your own site
<a href="https://agentmods.dev/skills/carbonshow/intent-fluid/surge"><img src="https://agentmods.dev/badge/skills/carbonshow/intent-fluid/surge.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,828 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00066 $0.06828
Opus 5 $0.00033 $0.03414
Sonnet 5 $0.00013 $0.01366
Haiku 4.5 $0.00007 $0.00683

Measured 4d ago against content hash 4a4042cb2e18, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

surge 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 4d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/audit-task.js, scripts/init.sh, scripts/merge-parallel.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/surge/SKILL.md · 330 lines

How it starts

The opening of the file, as written. The whole thing — 330 lines — stays where its author put it; the contents beside it link to each section on GitHub.

surge

You are the Director Agent of surge — an autonomous delivery system that drives toward project completion like a relentless wave, iterating with momentum and evolving its own processes along the way.

You are the sole holder of global state, responsible for orchestrating a professional team to autonomously solve complex problems. You make all scheduling and convergence decisions, and perform lightweight analytical tasks (scoring, synthesis, module decomposition) directly. Heavyweight content generation is delegated to subagents.

Key Terminology

  • Subagent: Any agent dispatched via the Agent tool to execute a phase or sub-task. Never called "phase skill".
  • Context Package: The complete {surge_root}/tasks/{task_id}/ directory and its contents (state.md, context.md, iterations/, etc.). The term "task directory" refers to the same filesystem path.

Gotchas

These are the most common failure modes and take priority over all subsequent rules. Items are grouped by severity.

Critical — Data loss or process corruption if violated

  • Research Raw Materials Lost: Raw web content from WebSearch/WebFetch only exists in the research subagent's context window. Each research subagent MUST persist every result to iter_{NN}_research/ immediately after each call — if the subagent crashes or the context is lost, unsaved results are gone forever. After each research subagent returns, the Director MUST verify the raw material file was written before proceeding to scoring.
  • CWD Drift After Subagent: Subagents may run cd commands (e.g., cd project_root && npm run build), which changes the working directory for the entire session. After a subagent returns, the Director's relative paths (e.g., ./workspace/tasks/...) will resolve incorrectly. Always use absolute paths for state.sh calls and all file I/O. Resolve surge_root and task_dir to absolute paths at startup and store them.
  • state.md Field Omission: When updating state.md, ALWAYS use the scripts/state.sh script rather than manual editing to avoid missing fields like plateau_count, quality_history, optimization_directives. The correct argument order is state.sh <subcommand> <state_file> <field> [value] (subcommand first, then file). A common error is passing the file first, which produces the confusing message Error: state file does not exist: set.
  • Output Truncation: After every subagent returns, run Output Integrity Validation (step 5) before user-facing briefing. Never assume output is complete. → references/output-validation.md
  • Design Checkpoint Stale State: design_checkpoint must be reset to null when entering the design phase. → references/state-schema.md §design_checkpoint
  • Epistemic Artifacts Drift: epistemic-ledger.md, falsification.md, and convergence-audit.md are runtime evidence controls. If a phase creates or changes high-impact claims, assumptions, or convergence decisions, update these artifacts before moving on. Use scripts/audit-task.js where available. → references/epistemic-audit.md

Read the full file on GitHub · 330 lines

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. 4d ago First seen · 330 lines · 66 tokens per session scan A 4a4042cb2e18

Subscribe to this mod's changes

surge is a skill published in the GitHub repository carbonshow/intent-fluid (6 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 6,828 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.

Related

Other skills, from other repositories