wiki-context-pack
仓库创建 2026年4月6日最近提交 23 天前SkillHot 收录 21 天前
▸ 精选理由
为模型或技能准备精炼上下文,提升检索效率。
这个 Skill 做什么
从 Obsidian 知识库抽取受 token 限制的紧凑上下文包供下游使用。
从 Obsidian 抽出一个受 token 限制的紧凑上下文包,把最相关的页面按结构打包成一个可直接给下游 agent 或技能消费的 markdown 块。不是回答问题,而是生成可复用的输入素材,适合在 token 有限或要喂模型时使用。特点是按重要性剪裁内容并保留引用关系。
▸ 展开 SKILL.md 英文原文
Produce a token-bounded context pack from the Obsidian wiki — a compact, structured slice of the most relevant pages for a topic or recent activity, designed for downstream consumption by another agent or skill. Use when the user says "/wiki-context-pack", "make a context pack", "give me a context slice for X", "pack the wiki for my agent", or "bounded context for Y". Different from wiki-query (which answers a question) — this produces reusable input material for a downstream task.
2.7k
Stars
274
Forks
35
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-context-pack/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Ar9av/obsidian-wiki/main/.skills/wiki-context-pack/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Wiki Context Pack — Bounded Token Retrieval You are producing a focused, token-bounded context pack from the wiki. Unlike `wiki-query` (which answers a question), this skill packages the most relevant wiki knowledge into a single markdown block that a downstream agent, skill, or user can consume directly. ## Before You Start 1. **Resolve config** — follow the Config Resolution Protocol in `llm-wiki/SKILL.md` (inline `@name` override → walk up CWD for `.env` → `~/.obsidian-wiki/config` → prompt setup). This gives `OBSIDIAN_VAULT_PATH` and any QMD variables. 2. Read `$OBSIDIAN_VAULT_PATH/hot.md` if it exists — gives instant context on recent activity. 3. Read `$OBSIDIAN_VAULT_PATH/index.m
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有