/obsidian-wiki:wiki-decisionsfrom obsidian-wiki
Optional decision layer that hands small closed judgments (relevance, duplication, contradiction) to a TypeSafe Jev model instead of reading pages to decide. Off by default; enables filtering, reordering, and flagging of wiki content.
Ships in obsidian-wiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A decision model answers a closed question with calibrated probabilities and writes no text. Code prepares the options, the model picks, and you act only on confident answers. You still read, write, and answer. The layer only reorders, filters, and flags what you look at first, so you open fewer pages to make the same small decisions.
It is off by default. With it off, every command below prints exactly what it printed before.
OBSIDIAN_WIKI_DECISIONS is already set in their config. Text leaves the machine when it is on.decision.failed_open first. When it is true (missing key, timeout, HTTP error,
invalid answer), the output is the plain non-decision result. Carry on with the normal skill and
ignore the decision fields. Mention it to the user only if they asked for the layer.band: act (confidence ≥ 0.9) means you can rely on it,
confirm (0.5–0.9) means check it yourself before relying on it, and fallback (< 0.5),
not_sent, or an order_flip means it was not decided and you take the normal path.export TYPESAFE_API_KEY=... # from console.typesafe.ai; never commit or echo it
export OBSIDIAN_WIKI_DECISIONS=typesafe # or pass --decide on a single command
obsidian-wiki decide status --pretty # config check; makes no network call
decide status shows key_present, never the key. Thresholds: --decide-act and
--decide-confirm (or OBSIDIAN_WIKI_DECISIONS_ACT / _CONFIRM). --no-decide forces the layer
off for one command.
obsidian-wiki graph-query "$OBSIDIAN_VAULT_PATH" "<question>" --decide --pretty
The gate runs on the ranked candidates before you open any page body. It changes three things:
act band move to the front.act band move to dropped_candidates.should_read is rebuilt from the new order, and decision.should_read_before keeps the old list.Everything else keeps its lexical position, and each candidate carries a
decision: {band, verdict, p_relevant}. Treat a likely_irrelevant verdict as "skip unless
nothing else answers." When decision.all_dropped is true, the vault probably has no answer, so
say so, or run one broader query before giving up. Structural intents (hubs, bridges, …) are
never gated.
obsidian-wiki decide triage <source-file> --vault "$OBSIDIAN_VAULT_PATH" --decide --pretty
Code ranks the existing pages against the source, and the model labels each one update,
duplicate, or unrelated. Here is how to read the output:
verdict | Meaning | What you do |
|---|---|---|
update_existing | At least one page will change (act band) | Read the shortlist in order and update those pages |
duplicate_skip | A page already says everything the source says | Confirm with one read, then skip or just add the source to sources: |
new_page | Every candidate is unrelated (or there were none; decided_by: code) | Plan a new page as usual |
undecided | No confident answer | The normal Step 4 planning |
skip lists the pages judged unrelated in the act band, which you don't need to open. For
dedup, pass a vault page as the source: its own page is excluded, and a duplicate in the act
or confirm band is a candidate pair for Step 3. It never merges anything itself.
obsidian-wiki decide contradictions --vault "$OBSIDIAN_VAULT_PATH" [--entity <page>] --decide --pretty
Code pairs sections on different pages that mention the same entity: pages under entities/, or
the page named by --entity. The model labels each pair. Read to_read in priority order:
skipped pairs were confidently judged compatible. You decide whether a contradiction is real
and record it as the wiki-lint fix describes. The screen never edits pages.
Only with the layer on, and only to https://api.typesafe.ai (or a loopback URL for testing):
| Check | Sent | Not sent |
|---|---|---|
| D1 gate | the query, plus each candidate's title, summary, and tags under ids P0, P1, … | paths, page bodies, pages tagged visibility/pii |
| D4 triage | the first 1,500 characters of the source body (after the frontmatter), plus candidate titles and summaries | paths, candidate bodies, visibility/pii pages |
| D3 screen | the entity title, plus both sections' page titles, headings, and text (up to 1,200 characters each) | paths, other sections, visibility/pii pages |
Emails, URLs with credentials, and token-shaped strings are masked before sending. Every decision
records backend, model, latency_ms, thresholds, sent (true, false, or null when a
timeout leaves it unknown), and a payload summary of what the request held. TypeSafe's data
handling: https://docs.typesafe.ai/legal.
Full reference: docs/decisions.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub ar9av/obsidian-wiki --plugin obsidian-wiki42 skills in this plugin
/claude-history-ingestIngest Claude Code conversation/session history into Obsidian as distilled knowledge. Use for importing or mining past Claude sessions, .claude data, project/session history, or audit logs.
/code-understandMap the load-bearing files, symbols, callers, and dependencies of an unfamiliar codebase before making changes. Use for architecture orientation, impact analysis, what-would-break questions, or finding callers. Uses CodeGraph when available and a dependency-free builtin fallback.
/codex-history-ingestIngest Codex CLI conversation/session history into Obsidian as distilled knowledge. Use for importing or mining ~/.codex sessions, rollout files, indexes, or transcript logs; use wiki-agent for targeted topic-only recall.
/copilot-history-ingestIngest GitHub Copilot CLI/session history into Obsidian as distilled knowledge. Use for importing or mining Copilot history; not for general Copilot help, simple session search, or backup.
/cross-linkerFind and add missing cross-references between wiki pages. Use when pages are disconnected or after large ingestion. This modifies pages to add links; use wiki-lint for report-oriented structural auditing.
/daily-updateRun or configure the daily wiki maintenance cycle: check source freshness, refresh the index and hot.md, and manage its scheduled 9 AM launchd/systemd/cron reminder. Use for daily or morning wiki refresh or scheduler setup and verification.
Other plugins' skills for the same job