gsd-forensics

gsd-forensics is a skill for Claude Code from coco-research/coco. It costs 53 tokens per session (555 once invoked), scanned A, original, Apache-2.0.

A post-mortem investigation tool for failed GSD workflows, using Git history, saved artifacts, and workflow state to find what went wrong.

In plain words
What is it for?
Use it to investigate a failed workflow and identify the likely source of the problem.
Why use it?
It helps explain failures after the fact when the cause is spread across commits, files, and recorded state.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to investigate a failed workflow and identify the likely source of the problem.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/coco-research/coco/gsd-forensics
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 coco-research/coco --skill gsd-forensics
Clone the repo
git clone --depth 1 https://github.com/coco-research/coco

Made for: Claude Code.

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 gsd-forensics

README.md
[![agentmods](https://agentmods.dev/badge/skills/coco-research/coco/gsd-forensics/github.svg)](https://agentmods.dev/skills/coco-research/coco/gsd-forensics)
Your own site
<a href="https://agentmods.dev/skills/coco-research/coco/gsd-forensics"><img src="https://agentmods.dev/badge/skills/coco-research/coco/gsd-forensics/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 gsd-forensics

Your own site · 80×15
<a href="https://agentmods.dev/skills/coco-research/coco/gsd-forensics"><img src="https://agentmods.dev/badge/skills/coco-research/coco/gsd-forensics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 555 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.00053 $0.00555
Opus 5.5 $0.00021 $0.00222
Sonnet 5.5 $0.00011 $0.00111
Haiku 4.5 $0.00005 $0.00056

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

Security

Grade A, and why

gsd-forensics 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 2mo 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.

systems/gsd/skills/gsd-forensics/SKILL.md · 57 lines

What it actually says

Purpose: Diagnose failed or stuck workflows so the user can understand root cause and take corrective action. Output: Forensic report saved to .planning/forensics/, presented inline, with optional issue creation.

<execution_context> @$HOME/.claude/get-shit-done/workflows/forensics.md </execution_context>

User input:

  • Problem description: $ARGUMENTS (optional — will ask if not provided)

<success_criteria>

  • Evidence gathered from all available data sources
  • At least 4 anomaly types checked (stuck loop, missing artifacts, abandoned work, crash/interruption)
  • Structured forensic report written to .planning/forensics/report-{timestamp}.md
  • Report presented inline with findings, anomalies, and recommendations
  • Interactive investigation offered for deeper analysis
  • GitHub issue creation offered if actionable findings exist </success_criteria>

<critical_rules>

  • Read-only investigation: Do not modify project source files during forensics. Only write the forensic report and update STATE.md session tracking.
  • Redact sensitive data: Strip absolute paths, API keys, tokens from reports and issues.
  • Ground findings in evidence: Every anomaly must cite specific commits, files, or state data.
  • No speculation without evidence: If data is insufficient, say so — do not fabricate root causes. </critical_rules>
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. 2mo ago Changed · +24 tokens per session 28897ba5640c
  2. 2mo ago First seen · 57 lines · 29 tokens per session scan A 9433fac40ccd

Subscribe to this mod's changes

gsd-forensics is a skill published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 53 tokens to every session and 555 once invoked, about $0.0002 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-09-03.

Related

gsd-forensics compared with skills from other repositories

gsd-forensics next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gsd-forensicscoco-research/cocoSkill323yesterdayApache-2.0A53Claude Code
bisectsjarmak/coding-agent-workflowsSkill73d agoMITA52Claude Code, Codex
agent-merge-conflict-arbiterNousResearch/hermes-agentSkill267ktodayMITA19Claude Code, Codex
git-advanced-workflowswshobson/agentsSkill43k6d agoMITA54Claude Code
resolve-handoffomnigent-ai/omnigentSkill12ktodayApache-2.0A23Claude Code, Codex
reproduce-and-fix-issuesbacknotprop/pstackSkill5.5ktodayMITA48Claude Code, Cursor
pr-autofixAtomicBot-ai/atomic-agentSkill3.6kyesterdayMITA45Claude Code, Codex