Skip to main content

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.

v1.0.0New

Unsigned, install at your own risk

Unverified

This 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-decisions
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/obsidian-wiki-wiki-decisions/SKILL.md

Setup guide →
0Save

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_DECISIONS is 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_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.
  • 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, and fallback (< 0.5),
    not_sent, or an order_flip means 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 act band move to the front.
  • Pages judged irrelevant in the 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.

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:

verdictMeaningWhat you do
update_existingAt least one page will change (act band)Read the shortlist in order and update those pages
duplicate_skipA page already says everything the source saysConfirm with one read, then skip or just add the source to sources:
new_pageEvery candidate is unrelated (or there were none; decided_by: code)Plan a new page as usual
undecidedNo confident answerThe 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:

  1. a confident contradiction
  2. a possible contradiction
  3. unscreened (layer off, failed, or undecided), so read it the normal way
  4. 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):

CheckSentNot sent
D1 gatethe query, plus each candidate's title, summary, and tags under ids P0, P1, …paths, page bodies, pages tagged visibility/pii
D4 triagethe first 1,500 characters of the source body (after the frontmatter), plus candidate titles and summariespaths, candidate bodies, visibility/pii pages
D3 screenthe 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.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
wiki-querySearch and synthesize answers from the compiled Obsidian wiki, including cited and multi-hop answers. Use for questions about existing wiki knowledge or fast index-only lookups, and for challenge requests ("challenge this", "argue against X", "poke holes in my plan") that look for the vault's own evidence against a plan. Supports named-vault routing such as wiki-query @work; not for ingesting new sources.0 installswiki-statusReport wiki ingestion/completeness state, pending source delta, structural insights, maintenance equilibrium, or what each recurring job costs. Use for remaining-work/status questions, hubs and bridges, whether maintenance skills still have pending changes, or "what is the wiki costing me" / "cost per job". wiki-digest summarizes learned knowledge instead.0 installswiki-setupInitialize or repair an Obsidian wiki vault's required structure and configuration. Use for new-vault setup, .env/config creation, reconfiguration, or broken setup recovery.0 installsimpl-validatorIndependently check whether an implementation matches its stated goal and return PASS/WARN/FAIL with actionable issues. Use for second-opinion validation of an implementation or generated output.0 installswiki-exportExport the Obsidian wiki graph to JSON, GraphML, Neo4j Cypher, Postgres/SQL, HTML, or OKF bundles. Use when transferring or visualizing wiki data in external tools; wiki-import handles the reverse direction.0 installshermes-history-ingestIngest Hermes agent history into Obsidian as distilled knowledge. Use for importing or mining ~/.hermes sessions, memories, or logs; use wiki-agent for targeted topic-only cross-agent recall.0 installs

More from obsidian-wiki

View source →

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.635 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.535 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.346 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

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.