differential-session-runner

differential-session-runner is a skill for Claude Code, Codex from alchemiststudiosDOTai/harness-engineering. It costs 49 tokens per session (1,447 once invoked), scanned A, original, MIT.

A procedure for comparing two implementations, traces, captures, or outputs during debugging and recording the evidence in a reusable session log. It preserves what was compared, what commands were run, and where the first mismatch appeared.

In plain words
What is it for?
Use it to compare an original with a rewrite, a baseline with a candidate, or captured output with regenerated output, then record findings and validation.
Why use it?
It prevents differential debugging findings from being lost in temporary notes and lets another developer continue the investigation.

Skill for Claude CodeCodex

Part of the harness-engineering plugin — 8 skills, 1 command, 1 agent 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/alchemiststudiosdotai/harness-engineering/differential-session-runner
Any agent
npx skills add alchemiststudiosDOTai/harness-engineering --skill differential-session-runner
Clone the repo
git clone --depth 1 https://github.com/alchemiststudiosDOTai/harness-engineering

Made for: Claude Code, Codex.

Or install harness-engineering, the plugin that ships this one along with the rest of its 8 skills, 1 command, 1 agent.

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 differential-session-runner

README.md
[![agentmods](https://agentmods.dev/badge/skills/alchemiststudiosdotai/harness-engineering/differential-session-runner.svg)](https://agentmods.dev/skills/alchemiststudiosdotai/harness-engineering/differential-session-runner)
Your own site
<a href="https://agentmods.dev/skills/alchemiststudiosdotai/harness-engineering/differential-session-runner"><img src="https://agentmods.dev/badge/skills/alchemiststudiosdotai/harness-engineering/differential-session-runner.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,447 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.00049 $0.01447
Opus 5 $0.00024 $0.00724
Sonnet 5 $0.00010 $0.00289
Haiku 4.5 $0.00005 $0.00145

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

Security

Grade A, and why

differential-session-runner 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 5d 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.

skills/differential-session-runner/SKILL.md · 248 lines

How it starts

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

Differential Session Runner

Use this skill when debugging requires a durable evidence trail rather than ad hoc notes.

This skill is for workflows where you are comparing:

  • original vs rewrite
  • implementation A vs implementation B
  • baseline trace vs candidate trace
  • before vs after replay output
  • captured artifact vs regenerated artifact

The goal is not only to investigate. The goal is to leave behind a session artifact another operator or agent can continue.

When to Use

Use this skill when the user asks to:

  • continue a differential debugging session
  • compare two implementations and record mismatches
  • create or update a debugging session log
  • track replay / trace / capture divergence over time
  • document what changed between mismatched and cleared runs

Core Principle

Every differential investigation should produce a reusable evidence packet.

A good session artifact lets another operator answer:

  • what exact artifact was investigated?
  • how was it identified?
  • what commands were run?
  • where did the first mismatch appear?
  • what was learned?
  • what changed?
  • what validation proves the current state?
  • what should happen next?

Preferred Storage

If the repo already has a native evidence location, use it.

Examples:

  • docs/.../sessions/
  • docs/chunks/
  • analysis/.../reports/
  • existing session indexes

If the repo does not already have a native convention, write to:

  • memory-bank/evidence/YYYY-MM-DD_HH-MM-SS_<topic>-session.md
  • optional index: memory-bank/evidence/index.md

Workflow

1. Load the repo's evidence convention first

Before creating anything, search for:

  • playbooks / runbooks
  • session indexes
  • prior session files
  • report directories
  • chunk/evidence templates

Read the relevant guidance and continue the repo's existing pattern.

2. Identify the artifact under investigation

Capture the strongest available identity for the artifact:

  • artifact path
  • SHA256 / content hash
  • commit SHA
  • case name / run id / replay id
  • timestamp if needed

Read the full file on GitHub · 248 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. 5d ago First seen · 248 lines · 49 tokens per session scan A 5f25dd647ab9

Subscribe to this mod's changes

differential-session-runner is a skill published in the GitHub repository alchemiststudiosDOTai/harness-engineering (104 stars, last pushed 5mo ago), licensed MIT. It adds 49 tokens to every session and 1,447 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens