reanalyze

reanalyze is a skill for Claude Code, Codex from marcoemrich/agentic_coding_lab. It costs 81 tokens per session (2,934 once invoked), scanned A, original, MIT.

A command for rerunning analysis on existing research runs that match a research question. It recalculates the metrics and proposes updates to the findings.

In plain words
What is it for?
Reanalyzing runs for a selected research question, aggregating their metrics, and reviewing suggested changes to the reported findings.
Why use it?
It refreshes results after the analysis pipeline, configuration, data, or run set changes without starting new experiments.

Skill for Claude CodeCodex

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/marcoemrich/agentic_coding_lab/reanalyze
Any agent
npx skills add marcoemrich/agentic_coding_lab --skill reanalyze
Clone the repo
git clone --depth 1 https://github.com/marcoemrich/agentic_coding_lab

Made for: Claude Code, Codex.

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 reanalyze

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcoemrich/agentic_coding_lab/reanalyze.svg)](https://agentmods.dev/skills/marcoemrich/agentic_coding_lab/reanalyze)
Your own site
<a href="https://agentmods.dev/skills/marcoemrich/agentic_coding_lab/reanalyze"><img src="https://agentmods.dev/badge/skills/marcoemrich/agentic_coding_lab/reanalyze.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,934 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.00081 $0.02934
Opus 5 $0.00041 $0.01467
Sonnet 5 $0.00016 $0.00587
Haiku 4.5 $0.00008 $0.00293

Measured today against content hash 410afc8048e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reanalyze 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 today.

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.

.claude/skills/reanalyze/SKILL.md · 194 lines

How it starts

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

Skill: reanalyze

Re-run analyze-run.sh on every run matching an RQ selector, reaggregate via aggregate-by-query.py, and propose findings updates. No new runs are started — this skill only refreshes existing data.

Typical use cases:

  • Pipeline fix (analyze-run.sh changed, verification adapter added)
  • Manual run cleanup (crash runs deleted, runs re-added)
  • ESLint/SonarJS config change affecting smell metrics
  • New fields added to metrics.json

Argument

  • RQ-N (e.g. RQ-prompt-known-kata) or a direct path to an RQ dir.
  • If not given: ask back ("Which RQ? e.g. RQ-prompt-known-kata").
  • RQ dirs live in four subtrees: research/questions-claude/<chapter>-*/, research/questions-opencode/<chapter>-*/, research/questions-cross/<chapter>-*/, and research/workflow-dev/<chapter>-*/. The chapter prefix is an ordering label; the stable id is the frontmatter id: (a slug like RQ-prompt-known-kata). Resolve it to a path by exact-line id-grep across all subtrees:
    RQ_DIR=$(grep -rlE "^id:[[:space:]]*RQ-prompt-known-kata[[:space:]]*$" \
               research/questions-claude/*/README.md \
               research/questions-opencode/*/README.md \
               research/questions-cross/*/README.md \
               research/workflow-dev/*/README.md \
             2>/dev/null | head -1 | xargs -r dirname)
    

Phases

Run sequentially. On errors in any phase, stop and ask the user, do not skip ahead.


Phase 1 — Resolve & Match

  1. Resolve the RQ path into $RQ_DIR via the id-grep in "Argument" above. On no match, ask the user; on multiple, take the first and inform.
  2. Read $RQ_DIR/README.md — parse frontmatter for controls and factors (needed to build the selector).
  3. Find all matching runs in experiments/runs/:
    for d in experiments/runs/*/; do
        jq -e 'select(
            .kata == "<expected>" and
            .workflow == "<expected>" and
            (.model | test("<model-pattern>"))
        )' "$d/metrics.json" > /dev/null 2>&1 && echo "$d"
    done
    
    The selector logic mirrors aggregate-by-query.py: kata = kata_base + "-" + prompt for each prompt value (from factors or controls), model from factors or controls, workflow from controls. Match against .kata, .workflow, .model in each run's metrics.json.
  4. Report: "Found N runs matching RQ-X selector."
  5. If N == 0: STOP — "No matching runs found. Check that experiments/runs/ contains runs with the expected kata/workflow/model."

Read the full file on GitHub · 194 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. today Changed · +12 lines 410afc8048e7
  2. 4d ago First seen · 182 lines · 81 tokens per session scan A 261c3f8e8220

Subscribe to this mod's changes

reanalyze is a skill published in the GitHub repository marcoemrich/agentic_coding_lab (11 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 2,934 once invoked, about $0.0004 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