haiku-reset-stage

haiku-reset-stage is a skill for Claude Code from gigsmart/haiku-method. It costs 57 tokens per session (678 once invoked), scanned A, original, Apache-2.0.

A tool for clearing one stage of an intent, including its generated work and stored results, so the agent can run that stage again.

In plain words
What is it for?
Use it when a stage needs to be rerun after its instructions, review setup, or configuration changed.
Why use it?
It avoids having to restart the entire intent when only one stage is outdated or incorrect.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the haiku plugin — 31 skills, 2 hooks, 2 MCP servers shipped together

Good fit Use it when a stage needs to be rerun after its instructions, review setup, or configuration changed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gigsmart/haiku-method/haiku-reset-stage
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.

Any agent
npx skills add gigsmart/haiku-method --skill haiku-reset-stage
Clone the repo
git clone --depth 1 https://github.com/gigsmart/haiku-method

Made for: Claude Code.

Or install haiku, the plugin that ships this one along with the rest of its 31 skills, 2 hooks, 2 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 haiku-reset-stage

README.md
[![agentmods](https://agentmods.dev/badge/skills/gigsmart/haiku-method/haiku-reset-stage/github.svg)](https://agentmods.dev/skills/gigsmart/haiku-method/haiku-reset-stage)
Your own site
<a href="https://agentmods.dev/skills/gigsmart/haiku-method/haiku-reset-stage"><img src="https://agentmods.dev/badge/skills/gigsmart/haiku-method/haiku-reset-stage/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 haiku-reset-stage

Your own site · 80×15
<a href="https://agentmods.dev/skills/gigsmart/haiku-method/haiku-reset-stage"><img src="https://agentmods.dev/badge/skills/gigsmart/haiku-method/haiku-reset-stage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 678 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.00057 $0.00678
Opus 5 $0.00028 $0.00339
Sonnet 5 $0.00011 $0.00136
Haiku 4.5 $0.00006 $0.00068

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

Security

Grade A, and why

haiku-reset-stage 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.

plugin/skills/haiku-reset-stage/SKILL.md · 43 lines

How it starts

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

Reset Stage

Wipe ONE stage of an intent and let the engine re-enter it at the elaborate phase on the next tick. The intent's other stages, their approvals, and intent main's history all stay put.

When to use this skill

The intent is fine, but a specific stage produced output that no longer matches what the user wants — usually because the studio's hat instructions, review-agents, or stage config were updated after the stage ran, and the user wants the agent to redo just that stage with the new instructions.

Not the right tool when:

  • The intent's whole premise was wrong from the start — that's /reset-intent.
  • The stage's output has a few specific problems the user wants flagged — that's a feedback revisit, not a reset.
  • The user wants to roll back intent main's git history — that's a manual git revert / git reset, not in scope for this skill.

How to drive it

When the user says "reset the product stage" (or names one stage):

  1. Identify the intent. If no intent slug is known from context, call haiku_intent_list first. If multiple are active and the user didn't name one, ask which intent before proceeding — the same discovery preflight /haiku:haiku-reset-intent does.
  2. Call haiku_stage_reset { intent: "<slug>", stage: "<stage-name>" }. The tool confirms via the SPA picker and lists what's about to be deleted.
  3. After the user confirms, the tool performs the wipe (details below).
  4. The tool returns a message saying to call haiku_run_next — the next tick re-enters the stage at its elaborate phase. The agent picks up the conversation and re-runs the stage's hat sequence.

What gets wiped

  • stages/<stage>/units/*.md
  • stages/<stage>/outputs/, artifacts/, decisions.jsonl
  • stages/<stage>/elaboration.md
  • stages/<stage>/feedback/*.md
  • stages/<stage>/discovery/ contents (the studio's template files are kept; the agent's produced outputs are wiped)
  • The stage's git branch (haiku/<slug>/<stage>). The next haiku_run_next forks it from intent main as needed.

Read the full file on GitHub · 43 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. 9d ago First seen · 43 lines · 57 tokens per session scan A ff332040717b

Subscribe to this mod's changes

haiku-reset-stage is a skill published in the GitHub repository gigsmart/haiku-method (24 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 678 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.