wisp-self-test

wisp-self-test is an agent for Claude Code from Samuel0101010/wisp-agentdiff. It costs 108 tokens per session (681 once invoked), scanned A, original, MIT.

A test agent that checks whether wisp-agentdiff's Git worktree hooks run correctly from creation through removal. Hooks are automatic actions triggered by those worktree events.

In plain words
What is it for?
Use it after installation, or when debugging, to create a test change, commit it, and verify that the worktree removal produces a diff.
Why use it?
It shows whether the add-on is wired correctly before you rely on it to capture changes from parallel helpers.

Agent for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions subagents; mentions Claude Code.

Part of the wisp-agentdiff plugin — 1 skill, 1 command, 1 agent, 3 hooks shipped together

Good fit Use it after installation, or when debugging, to create a test change, commit it, and verify that the worktree removal produces a diff.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/samuel0101010/wisp-agentdiff/wisp-self-test
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.

Clone the repo
git clone --depth 1 https://github.com/Samuel0101010/wisp-agentdiff

Made for: Claude Code.

Or install wisp-agentdiff, the plugin that ships this one along with the rest of its 1 skill, 1 command, 1 agent, 3 hooks.

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 wisp-self-test

README.md
[![agentmods](https://agentmods.dev/badge/agents/samuel0101010/wisp-agentdiff/wisp-self-test/github.svg)](https://agentmods.dev/agents/samuel0101010/wisp-agentdiff/wisp-self-test)
Your own site
<a href="https://agentmods.dev/agents/samuel0101010/wisp-agentdiff/wisp-self-test"><img src="https://agentmods.dev/badge/agents/samuel0101010/wisp-agentdiff/wisp-self-test/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 wisp-self-test

Your own site · 80×15
<a href="https://agentmods.dev/agents/samuel0101010/wisp-agentdiff/wisp-self-test"><img src="https://agentmods.dev/badge/agents/samuel0101010/wisp-agentdiff/wisp-self-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 681 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.00108 $0.00681
Opus 5.5 $0.00043 $0.00272
Sonnet 5.5 $0.00022 $0.00136
Haiku 4.5 $0.00011 $0.00068

Measured 3mo ago against content hash 4aaa9f7f3baa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wisp-self-test 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 3mo 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.

agents/wisp-self-test.md · 53 lines

What it actually says

You are the wisp-agentdiff self-test canary.

Your job is to prove the plugin's worktree-hook loop works end-to-end. The isolation: worktree frontmatter above means Claude Code will spawn you in an isolated git worktree, which will fire the WorktreeCreate hook the plugin registers — that hook records you in .claude/wisp-agentdiff-state.json. When you finish, the WorktreeRemove hook captures the diff. For the diff to be non-empty, you MUST commit your edit yourself — Claude Code's WorktreeRemove does not auto-commit uncommitted changes in every Claude Code build, so leaving the file untracked produces an empty diff in the review TUI.

Do exactly this, in order, and nothing else:

  1. Run pwd and git rev-parse --show-toplevel via Bash. If either fails or you are not inside a git worktree, stop and report:

    "wisp-agentdiff self-test could not run: this directory is not a git worktree. Run git init in the project root and re-dispatch."

  2. Write a file wisp-self-test.txt in the current working directory containing exactly this content (replace <ISO> with the current ISO-8601 timestamp):

    wisp-agentdiff hook verification — <ISO>
    
  3. Commit it inside the worktree (this is essential — the review TUI shows the diff between the worktree branch and the base ref, so an uncommitted file produces an empty diff). Run, via Bash:

    git add wisp-self-test.txt && git commit -q -m "wisp-self-test: canary verification"
    
  4. Report a one-paragraph summary that includes:

    • The absolute path of the worktree you ran in (from step 1's pwd).
    • The single file you created and committed.
    • The commit SHA from git rev-parse HEAD.
    • A closing note: "The agent should appear in the TUI labelled wisp-self-test (its subagent_type, derived by v1.3 from the session transcript). The diff is the single-line file above. If your worktrees pile up over time, run wisp-agentdiff prune --dry-run to see candidates and wisp-agentdiff prune to clean them up."

Do not edit anything else. Do not run tests, do not modify config. Five actions total, max.

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. 3mo ago First seen · 53 lines · 108 tokens per session scan A 4aaa9f7f3baa

Subscribe to this mod's changes

wisp-self-test is an agent published in the GitHub repository Samuel0101010/wisp-agentdiff (2 stars, last pushed 6mo ago), licensed MIT. It adds 108 tokens to every session and 681 once invoked, about $0.0004 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-08-31.

Related

wisp-self-test compared with agents from other repositories

wisp-self-test next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wisp-self-testSamuel0101010/wisp-agentdiffAgent26mo agoMITA108Claude Code
verifierAdityaraj0421/gearboxAgent171mo agoMITA39Claude Code
doc-sync-scanRockyHong/super-bootstrapAgent32d agoMITB298Claude Code
architecture-reviewerjhlee0409/omni-harness-kitAgent14mo agoMITA199Claude Code
change-verifierjhlee0409/omni-harness-kitAgent14mo agoMITA104Claude Code
claim-checkerjhlee0409/omni-harness-kitAgent14mo agoMITA139Claude Code
requirement-fidelity-criticjhlee0409/omni-harness-kitAgent14mo agoMITA130Claude Code