agentleFS
sara-star-quantsara-star-quant/presence/skills/outcome-check/SKILL.md

outcome-check

Skill7 starsChanged 7 months agoApache-2.0View on GitHub

When you're about to claim a previous fix worked, or are tempted to repeat an approach Claude Code has tried in this repo before, consult the outcome telemetry. presence tracks every commit Claude made and watches for reverts. Look up "did my last attempt at X stick?" before re-trying.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a similar approach was reverted, acknowledge it explicitly to the user before retrying:

    line 38
  2. Distinctive:

    If the previous attempt landed cleanly, you can reference it as a precedent rather than re-explaining the rationale.

    line 42
  3. Distinctive:

    Read PR comments or external review feedback.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Outcome check: learn from your own past

presence records every commit you make (~/.claude/presence/telemetry/claims.jsonl) and scans for reverts in subsequent sessions (outcomes.jsonl). When you're about to do something you've done before in this repo, check first whether it worked.

When this skill should fire

  • You're about to fix a bug in a file you've previously fixed.
  • You're proposing an architectural change you suspect was tried before.
  • A user asks "didn't you fix this?" or "this looks familiar."
  • You're about to commit something with a message similar to an earlier commit.

How to consult

PRESENCE_ROOT="${CLAUDE_PLUGIN_ROOT:-$(realpath ~/.claude/plugins/presence 2>/dev/null || echo .)}"
PYTHONPATH="$PRESENCE_ROOT/lib" python3 -c "
from _common import read_jsonl, repo_id
from telemetry import claims_path, outcomes_path
rid = repo_id('$PWD')
claims = [c for c in read_jsonl(claims_path()) if c.get('repo') == rid]
outcomes = read_jsonl(outcomes_path())
reverted_shas = {o['sha'] for o in outcomes if o.get('kind') == 'revert'}
for c in claims[-20:]:
    sha = c.get('sha', '?')[:8]
    msg = (c.get('message') or '')[:80]
    fate = '  REVERTED' if c.get('sha') in reverted_shas else '  '
    print(f'{sha} {fate} {msg}')
"

How to apply what you find

If a similar approach was reverted, acknowledge it explicitly to the user before retrying:

"Note: I committed something similar last week (a1b2c3d4) and it was reverted within 24h. Likely cause: <hypothesis>. I'll try a different approach this time, specifically: <how this attempt differs>."

If the previous attempt landed cleanly, you can reference it as a precedent rather than re-explaining the rationale.

What this skill does NOT do

  • Predict whether your next commit will be reverted. presence has no model of code quality; it just records facts.
  • Read PR comments or external review feedback. Only commit-graph signals are tracked.
  • Modify your behavior automatically. The skill helps you make informed choices; the choice is still yours.

Download now (ZIP)

Does it work?

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

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.