agentleFS
frostneyfrostney/known-good-route/deep-dive/SKILL.md

deep-dive

Skill0 starsChanged 31 days agoUnlicenseView on GitHub

Establishes the actual cause of something observed by checking what really ran or loaded, trying to break each candidate explanation, and having the result reviewed in a fresh context before reporting it. Use before claiming a cause or proposing a fix for an observed failure, hang, leak, or unexpected agent behavior, when asked why something happened or what is causing it, or when the user runs /deep-dive.

We split this skill into the rules it gives an agent

9 rules. 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start from the record, not the story about it.

    line 22
  2. Distinctive:

    Do not stop at the first explanation that fits.

    line 32
  3. Distinctive:

    Use read-only probes. Diagnosis does not authorize killing processes, releasing locks, editing, rewriting history, or publishing.

    line 41
  4. Distinctive:

    Run two probes on each candidate explanation and keep both results:

    line 46
  5. Distinctive:

    Falsification: look for the observation that would be impossible if the candidate were true, such as an ordering, a timestamp, a load …

    line 48
  6. Distinctive:

    Put the times from every source on one timeline: when each candidate started, when the record last changed, when the symptom began.

    line 55
  7. Very specific:

    Before returning, have the result reviewed in a fresh agent context: a subagent when the host has one, otherwise a separate CLI run such as …

    line 64
  8. Distinctive:

    When you are the reviewer, do not start another review.

    line 85
  9. Distinctive:

    Stop only when one of these holds:

    line 94

“Common” is measured: kept by at least 6 in 10 of the 22 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deep dive

The person should not have to ask you to check what actually happened. Before you name a cause or propose a fix for something observed, establish the cause from the record of what ran, try to break it, and have it reviewed in a fresh context.

Look at what actually ran

Start from the record, not the story about it. Depending on the problem, that is the session transcript and the instructions and skills it actually loaded, logs, CI runs and the revisions they ran on, process and lock state, and the deployed version. A process name, a status message, a teammate's note, a PR description, or a file that should have been loaded is a lead until the record confirms it. So is what the person told you: confirm it in the record and cite the record. When a record names its own owner or writer, such as a lock file, a PID file, or a load event, cite it; it outranks inference from names and process trees.

Do not stop at the first explanation that fits. Raise every candidate the evidence suggests. A cause says why it happened, not only what happened: for each confirmed link, ask what produced or allowed it, such as an instruction, an input, or a check that never ran, and follow that back while the evidence reaches. When the outcome broke a constraint, find where that constraint should have been stated or checked and was not, such as a brief that never said it, and name each fact it left out. There is no fixed number of candidates.

Use read-only probes. Diagnosis does not authorize killing processes, releasing locks, editing, rewriting history, or publishing.

Try to break every candidate

Run two probes on each candidate explanation and keep both results:

  • Falsification: look for the observation that would be impossible if the candidate were true, such as an ordering, a timestamp, a load event, an identical hash, or a probe that tells two candidates apart, and check it.
  • Truthiness: reread each source you cite and confirm it says what you claim, about the object and time you claim. A source that only repeats someone's belief is a lead, not evidence.

Put the times from every source on one timeline: when each candidate started, when the record last changed, when the symptom began. An order a candidate cannot fit rules it out; report the times that decided it.

A candidate that fails either probe is ruled out by the observation that broke it.

Get a fresh review

Before returning, have the result reviewed in a fresh agent context: a subagent when the host has one, otherwise a separate CLI run such as claude -p or codex exec. Use the reviewer the caller names. Read references/fresh-review.md before starting it.

The reviewer gets the symptom, the surviving explanation or the gap, where each piece of evidence lives, and each ruled-out candidate with what ruled it out. It reads the sources itself, tries to break the explanation, and returns agree or disagree with its evidence. A disagreement that holds reopens the investigation.

A review counts only when the reviewer ran and wrote its verdict to a file that you cite by its exact path. Read that file and report the verdict it holds. Before starting it, look through your tools for one that runs a worker, subagent, or command and returns its output, and use that. Recording a request, or waiting when no reviewer was started, is not a review. A read-only boundary on the investigation does not forbid a read-only reviewer; starting one changes nothing. When a route returns no verdict file, try the next one. Without a verdict file to cite, the result is unreviewed, whatever else happened.

When you are the reviewer, do not start another review. Read the named sources yourself, write your verdict and its evidence once, through the verdict tool your host gives you or to a file when it has none, and return that path. A tool that only records a request to write did not write the file; the write counts when it returns the path. Do not also record or copy it anywhere else. That one write is part of the review, not a change to what is under investigation.

Stop

Stop only when one of these holds:

  • One explanation survives both probes and the fresh review, and every other candidate you raised is ruled out with evidence.
  • The evidence runs out. Report what is missing, where you looked, and which candidates remain open, without choosing between them.

Report

Keep it short:

  • the surviving explanation as a cause, back to its earliest supported link, or the gap;
  • the evidence, each item with its source and the value that decides between candidates, such as a timestamp, exit code, hash, load event, or setting;
  • each fact the person stated that the explanation relies on, with the record that confirmed or contradicted it;
  • each ruled-out candidate, including the first explanation that seemed to fit and any the person or a document offered, with the observation that ruled it out;
  • the falsification and truthiness results for each candidate, with the observation each rests on;
  • which reviewer ran, by route and model, its verdict, and the exact path of its verdict file, or that the result is unreviewed.

Propose a fix only after this, and only for the surviving cause.

Download now (ZIP)

  • Other versions23 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 23

    1. zereight/gitlab-mcp★ 2.1ksame name
    2. ZaxbyHub/opencode-swarm★ 517same name
    3. zaxbysauce/opencode-swarm★ 503same name
    4. Joonghyun-Lee-Frieren/oh-my-antigravity★ 214same name
    5. Joonghyun-Lee-Frieren/oh-my-gemini-cli★ 213same name
    6. okou-ai/okou-skills★ 81same name
    7. vm0-ai/vm0-skills★ 77same name
    8. myths-labs/muse★ 37same name
    9. joyehuang/skills★ 9same name
    10. bis-code/claude-toolkit★ 8same name

    13 more not listed

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • Used alongsideProjects with it also use ralplan, trace and 7 more.

    Other files people use alongside this one.

    Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
    • ibahgatSkill

      ralplan

      Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

      Also in 4 projects that use this

    • unlearndevSkill

      trace

      Answer a question about how something works in an unfamiliar codebase by tracing one journey end to end and drawing it as a visual flow diagram, with the exact file and line for every hop and a note of what's uncertain. Use when the user asks "how does X work", "where does X happen", "what happens when a user does X", "trace X", or is finding their way around a codebase they didn't write.

      Also in 3 projects that use this

    • sahinSkill

      execute

      Also in 4 projects that use this

    • snarktankSkill

      ralph

      Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json from this, ralph json.

      Also in 3 projects that use this

    • nicodianskSkill

      brainstorm

      Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.

      Also in 4 projects that use this

    • GitHubSkill

      git-commit

      Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit. Do not use it when the user wants only a commit message and no commit. Do not use it to push, open a pull request, rebase, or change the commit history.

      Also in 3 projects that use this

  • In this repository26 other files it gives its agents.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.