wiki-decisions
Optional decision layer: hand small closed judgments (is this page relevant, does this source update or duplicate that page, do these two sections conflict) to a System One decision model (TypeSafe Jev) instead of reading pages to decide. Off by default. Use when the user says "/wiki-decisions", "enable the decision layer", "use Jev", "gate my search results", "triage this ingest", "screen for contradictions", or asks how the decision layer works or what it sends. Not a writer: it never answers questions, writes, merges or deletes pages. For the answering itself use wiki-query, wiki-ingest, wiki-dedup or wiki-lint.
Unsigned, install at your own risk
UnverifiedThis skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install obsidian-wiki-wiki-decisionsManual setup by platform
Claude Code
~/.claude/skills/obsidian-wiki-wiki-decisions/SKILL.md
Instructions
Wiki Decisions (optional)
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.
Rules
- Never enable it on your own. Enable it only when the user asks, or when
OBSIDIAN_WIKI_DECISIONSis already set in their config. Text leaves the machine when it is on. - A decision never writes and never blocks a write. It reorders, filters, and flags. You do
every write, through the normal skill. - Read
decision.failed_openfirst. When it istrue(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. - Bands. Every judgment has a
band:act(confidence ≥ 0.9) means you can rely on it,
confirm(0.5–0.9) means check it yourself before relying on it, andfallback(< 0.5),
not_sent, or anorder_flipmeans it was not decided and you take the normal path. - The layer judges and you decide. A contradiction pair is a reading list, not a finding. A
triage verdict is a plan, not a write.
Enable
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.
D1: relevance gate (wiki-query, Step 0)
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:
- Pages judged relevant in the
actband move to the front. - Pages judged irrelevant in the
actband move todropped_candidates. should_readis rebuilt from the new order, anddecision.should_read_beforekeeps 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.
D4: ingest triage (wiki-ingest Step 4, wiki-dedup Step 2)
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.
D3: contradiction screen (wiki-lint check 5)
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:
- a confident contradiction
- a possible contradiction
- unscreened (layer off, failed, or undecided), so read it the normal way
- probably compatible, so skim it if there's time
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.
What leaves the machine
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.
Security
Reviews (0)
Related skills
Browse all →More from obsidian-wiki
View source →More Build skills
Browse category →Frequently asked questions about wiki-decisions
What does the wiki-decisions skill do?
Optional decision layer: hand small closed judgments (is this page relevant, does this source update or duplicate that page, do these two sections conflict) to a System One decision model (TypeSafe Jev) instead of reading pages to decide. Off by default. Use when the user says "/wiki-decisions", "enable the decision layer", "use Jev", "gate my search results", "triage this ingest", "screen for contradictions", or asks how the decision layer works or what it sends. Not a writer: it never answers questions, writes, merges or deletes pages. For the answering itself use wiki-query, wiki-ingest, wiki-dedup or wiki-lint. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the wiki-decisions skill?
Run `npx @skills-hub-ai/cli install obsidian-wiki-wiki-decisions` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/obsidian-wiki-wiki-decisions/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does wiki-decisions work with?
wiki-decisions runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the wiki-decisions skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use wiki-decisions after installing it?
In Claude Code, type `/obsidian-wiki-wiki-decisions` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the wiki-decisions skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.