precedent

precedent is a skill for Claude Code from tonydzi/second-brain-starter-kit. It costs 65 tokens per session (982 once invoked), scanned A, original, MIT.

A decision-history search that checks journals, rejected proposals, rules, and related notes before a new choice is proposed.

In plain words
What is it for?
Use it to find what was decided, why it was accepted or declined, and what condition would justify revisiting it.
Why use it?
It prevents the team from reconsidering a decision that was already made or repeating an idea that was rejected.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the second-brain-skills plugin — 100 skills shipped together

Good fit Use it to find what was decided, why it was accepted or declined, and what condition would justify revisiting it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonydzi/second-brain-starter-kit/precedent
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 tonydzi/second-brain-starter-kit --skill precedent
Clone the repo
git clone --depth 1 https://github.com/tonydzi/second-brain-starter-kit

Made for: Claude Code.

Or install second-brain-skills, the plugin that ships this one along with the rest of its 100 skills.

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 precedent

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/precedent/github.svg)](https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/precedent)
Your own site
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/precedent"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/precedent/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 precedent

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/precedent"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/precedent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 982 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.00065 $0.00982
Opus 5 $0.00032 $0.00491
Sonnet 5 $0.00013 $0.00196
Haiku 4.5 $0.00006 $0.00098

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

Security

Grade A, and why

precedent 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.

skills/precedent/SKILL.md · 64 lines

How it starts

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

/precedent — have we decided this already? (find the precedent before deciding)

Cheap insurance BEFORE a new structural choice or proposal: maybe there is already a verdict on this topic (accepted / rejected / deferred) — so we do not re-pitch something already declined, nor re-decide what is decided. This is the "RECALL before activity" rule applied to the DECISION layer.

What to pull up (cheap → expensive; stop as soon as you find it)

  1. The declined journal (first — the most frequent hit): memory $USERPROFILE/.claude/projects/<project>/memory/declined-decisions.md — what was rejected or deferred, why in the owner's own words, and Revisit-if (the condition under which it can come back).
  2. The accepted-decisions journal (vault): grep $OBSIDIAN_VAULT/02-Decisions/ (subfolders by domain) and any decision-* files in the vault.
    grep -rinl "<topic/keywords>" "$OBSIDIAN_VAULT/02-Decisions"
    
  3. The Bible (rules for all actors): grep reglament-* / protocol-* in the vault — maybe a standing rule already closes the question.
  4. Semantic top-up (if the exact grep is empty but the topic was clearly discussed): the /ask skill (RAG over the vault) — it catches phrasings grep missed.

What to give back to the operator

A short verdict, not a dump:

  • A precedent EXISTS → what was decided · when · why · a link to the note. If it was REJECTED, name the Revisit-if: reopen ONLY if the condition is met, or explicitly as a trade-off ("there is no other way") — never silently re-pitch.
  • No precedent → say exactly that: "I found no decision on this" (after checking the RIGHT drive/folder — an empty result is often "looked in the wrong place", not "no data"), and then go decide from scratch (for strategic questions, via the Alpha Protocol R+DR).

When to call it

  • Before I propose a new field / script / structure / rule / automation (per show-before-after).
  • When the operator says "I think we discussed this".
  • At the start of the Alpha Protocol — as part of the RECALL step.

Read the full file on GitHub · 64 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 First seen · 64 lines · 65 tokens per session scan A fa501984a621

Subscribe to this mod's changes

precedent is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (6 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 982 once invoked, about $0.0003 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-09-09.

Related

Other skills, from other repositories

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens

save

Save a user-selected answer, decision, insight, or session summary into an Obsidian vault as one reviewed transaction. Use only when the user explicitly asks to preserve specific conversation content, not when they supply a file or URL to ingest. Triggers: /save, save this, save that answer, file this conversation…

AgriciDaniel/claude-obsidian · 80 tokens

wiki-fold

Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…

AgriciDaniel/claude-obsidian · 76 tokens

wiki-mode

Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…

AgriciDaniel/claude-obsidian · 83 tokens

wiki-cli

Detect and use the official Obsidian command-line interface for read-only vault access; use for wiki-cli, Obsidian CLI, Obsidian read, Obsidian search, vault transport, which transport, transport detection, backlinks, tags, or Obsidian command line. Mutations always go through the claude-obsidian transaction core.

AgriciDaniel/claude-obsidian · 74 tokens