agentleFS
ddenzuddenzu/karpathy-llm-wiki-second-brain/skills/obsidian-query/SKILL.md

obsidian-query

Skill6 starsChanged 8 days agoMITView on GitHub

Read the user's Obsidian second-brain vault ({{VAULT_PATH}}) to answer questions, from any project or path (read-only, cite sources). TRIGGER — before starting any investigation or judgment, read the vault's index.md FIRST — before grepping code, querying a database, or opening files. If a relevant hub or note exists, read it; if not, stop immediately. SKIP (overrides trigger) — the user already gave the answer · a simple edit or finding a file path · already queried the same topic in this session. Never writes to the vault; filing notes back is done inside the vault with /ingest.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. aiqianqian521/obsidian-skills★ 1same name
    2. rubber-ducks-syndicate/obsidian-documentation-skill★ 0same 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 repository2 other files it gives its agents.

The file

Files
SKILL.md

옵시디언 쿼리 (위키 회상, 읽기 전용)

작업 위치와 무관하게 사용자의 개인 지식 볼트를 읽어서 답한다. 볼트는 이 절대경로: {{VAULT_PATH}}

벡터 RAG·임베딩을 쓰지 않는다 — 인덱스→드릴다운으로 충분하다.

절차

  1. 인덱스 먼저 — index.md(전체 MOC)를 읽어 질문과 관련된 허브·노트를 추린다. 허브 줄의 핵심어로 어느 허브를 열지 정한다. 그 줄만으로 답이 되면 거기서 끝낸다.
  2. 관련될 만한 허브까지 열어보고도 후보가 없으면 종료 — index.md는 허브 위주라 개별 노트가 다 보이지 않는다. 추가 grep으로 볼트를 더 뒤지지 않는다. 대신 ls raw/*.md로 미처리 인박스를 확인해 "위키에 없고 인박스에도 관련 원본 없음" 과 "인박스에 아직 안 넣은 원본이 있음"(= /ingest하면 답이 생길 수 있음)을 구분해 말한다.
  3. 드릴다운 — 통째로 읽는다 — 관련 wiki/ 노트를 1~2개 연다. 통독이 기본이다: 호출 1회로 끝나고, 답이 어디 있는지 맞힐 필요가 없고, 표 밖 단서 문장을 놓치지 않는다. 잘라 읽는 건 아주 큰 허브 노트에서 필요한 주제 외 섹션이 대부분일 때만. 토큰을 아끼려고 자르지 않는다. 목표는 절약이 아니라 빠르고 정확하게 얻는 것이다. 필요하면 raw/·raw/processed/(심링크 포함) 원본까지. 전부 읽기만 한다.
  4. 출처 단 답 — 근거(파일 경로·URL·코드 경로)를 달고, 노트의 updated를 보고 "언제 기준의 지식인지"를 밝힌다. 위키에 근거가 없으면 **"위키에 없음"**이라고 명시한다(지어내지 말 것). 답변 언어는 볼트 CLAUDE.md를 따른다.
  5. 저장 가치가 있으면 — 직접 쓰지 말고 obsidian-capture로 raw/에 던지라고 제안한다.

볼트와 실측이 어긋날 때

  • 실측(코드·DB·문서)이 이긴다. 단 이기는 건 "현재 값"까지다.
  • 실측 1건으로 볼트의 대역·분포를 고치지 않는다 (n=1로 분포를 못 고친다).
  • 볼트는 어디를 볼지와 과거에 뭘 틀렸는지를 주지, 현재 값을 확정하지 않는다.
  • 어긋남을 발견하면 raw/에 남긴다(확정 안 됐으면 열린 질문으로).

하지 말 것

  • 볼트에 쓰지 않는다 — 노트 생성·수정, index.md·log.md 갱신 전부 금지. 이 스킬은 순수 읽기.
  • 근거 없이 답을 지어내지 않는다 — "위키에 없음"이 정답일 때가 있다.
  • 임베딩·벡터 검색으로 빠지지 않는다 — 항상 index.md부터.
  • log.md는 전문을 읽지 않는다 — 볼트에서 가장 큰 단일 파일인 append-only 원장이다. 필요하면 tail(최근) 또는 grep(특정 주제)으로 필요한 줄만.
  • 깊은 정리가 필요하면 볼트에서 /query·/ingest를 쓰라고 안내한다 (이건 quick recall 레인).

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.