agentleFS
ignromanovignromanov/llm-obsidian-wiki/skills/answer/SKILL.md

answer

Skill17 starsChanged 6 months agoMITView on GitHub

This skill should be used when wiki-advisor needs to answer a user question by searching the wiki, retrieving cited claims, and composing an answer with [[wikilink]] references. Triggers on "what do we know about X", "what did we decide", "answer from the wiki", "find in vault".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. ajayjohn/tars-work-assistant★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository8 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    READ ONLY from wiki/, NEVER from raw/

    line 33
  2. Distinctive:

    DO NOT use WebFetch / WebSearch

    line 34
  3. Distinctive:

    DO NOT fabricate — if knowledge absent, flag "wiki-researcher should be invoked"

    line 35
  4. Very specific:

    DO NOT edit pages outside wiki/synthesis/

    line 36
  5. Distinctive:

    Read full body only if claims insufficient

    line 53
  6. Very specific:

    Write wiki/synthesis/<slug>.md with filed_from_query: <YYYY-MM-DD> and key_claims

    line 63
  7. Very specific:

    Add to hot.md: update-hot.sh --section operation --content "wiki-advisor: filed synthesis on <topic>"

    line 64
  8. Distinctive:

    Do NOT pad with general knowledge

    line 69
  9. Very specific:

    Every non-trivial claim has [[wikilink]]

    line 73
  10. Distinctive:

    DO NOT read raw/ (three-layer invariant)

    line 80
  11. Distinctive:

    DO NOT go to web (researcher's job)

    line 81
  12. Distinctive:

    DO NOT fabricate — flag instead

    line 82
  13. Distinctive:

    DO NOT edit non-synthesis wiki pages

    line 83
  14. Distinctive:

    DO NOT write synthesis for trivial questions (one-shot answer suffices)

    line 84

≈ “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

Answer — Query + Cite

Purpose

Answer user questions using only the wiki/ subtree as the source of truth. Compose answers with [[wikilink]] citations. For non-trivial questions, save synthesis to wiki/synthesis/<topic>.md.

Used by wiki-advisor only.

Trigger phrases

  • "what do we know about X"
  • "what did we decide about Y"
  • "answer from the wiki"
  • "find in vault"
  • "summarize what's filed under Z"

Inputs

  • User question (free text)

Outputs

  • Inline answer with [[wikilink]] cites
  • Optionally: wiki/synthesis/<slug>.md (if non-trivial: ≥3 source pages OR new framing)

Hard contract

  • READ ONLY from wiki/, NEVER from raw/
  • DO NOT use WebFetch / WebSearch
  • DO NOT fabricate — if knowledge absent, flag "wiki-researcher should be invoked"
  • DO NOT edit pages outside wiki/synthesis/

Workflow

  1. Parse intent:
    • Factual ("what is X") → retrieve concept + cite
    • Comparative ("X vs Y") → retrieve comparison page or build synthesis
    • Decision-needed ("which should I use") → retrieve decision pages, surface trade-offs
  2. Hub-route:
    • Start at wiki/index.md
    • Identify domain hub (wiki/<cluster>.md)
    • Drill to relevant concepts/decisions
  3. Multi-stage retrieval with claim-level granularity:
    • ${CLAUDE_PLUGIN_ROOT}/scripts/wiki-search.sh --vault $VAULT_PATH --query "<query>"
    • For each candidate page, read key_claims first
    • Read full body only if claims insufficient
  4. Compose answer:
    • State conclusion concisely
    • Each non-trivial claim followed by [[wikilink]]
    • Hedge with confidence: "according to [[X]] (confidence: medium)..."
    • Surface contradictions explicitly: "but [[Y]] disagrees on..."
    • Surface open questions: "open question — see [[Z]]"
  5. If non-trivial (≥3 source pages OR new cross-page synthesis):
    • Write wiki/synthesis/<slug>.md with filed_from_query: <YYYY-MM-DD> and key_claims
    • Add to hot.md: update-hot.sh --section operation --content "wiki-advisor: filed synthesis on <topic>"
  6. If knowledge absent:
    • Say so explicitly
    • Flag: "wiki-researcher should be invoked for [topic]"
    • Do NOT pad with general knowledge

Quality gate

  • Every non-trivial claim has [[wikilink]]
  • Open questions surfaced when relevant
  • Synthesis pages have filed_from_query and key_claims
  • Confidence stated explicitly when claims are uncertain

Anti-patterns

  • DO NOT read raw/ (three-layer invariant)
  • DO NOT go to web (researcher's job)
  • DO NOT fabricate — flag instead
  • DO NOT edit non-synthesis wiki pages
  • DO NOT write synthesis for trivial questions (one-shot answer suffices)

Scripts used

  • ${CLAUDE_PLUGIN_ROOT}/scripts/wiki-search.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/page-context.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/section-browse.sh
  • ${CLAUDE_PLUGIN_ROOT}/scripts/create-page.sh (for synthesis)
  • ${CLAUDE_PLUGIN_ROOT}/scripts/update-hot.sh

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.