All skills
dianel555 avatar

/agent-wiki

@90c62aa
by dianeldianel555/dskills65 stars
8

Incremental LLM-friendly wiki generator for Obsidian note vaults. Use when: (1) Building wiki from notes, (2) Ingesting notes to wiki, (3) Obsidian LLM wiki, (4) Incremental knowledge base management. Triggers: 'build wiki from notes', 'ingest notes to wiki', 'Obsidian LLM wiki', 'incremental knowledge base'.

Use this Skill: https://skilld.dev/gh/dianel555/dskills/agent-wiki

This session only. Nothing lands on disk.

templateshomeacademic.md

≈735 tokens on demand. Your agent reads this file only when SKILL.md points to it.

<!-- agent-wiki 首页布局模板 · 学术风。挑选片段贴入 wiki/index.md;_待补充_ 由 agent 填写,🗂 工作区卡片块原样照搬。 -->

cssclasses:

  • agent-wiki-home

Wiki Index

文献阅读记录知识库。待补充:用一段话概述研究主线、规模(主题数 / 来源合计)与阅读目的。

🧭 动态视图(Bases)

可排序 / 可筛选的实时主题表(依赖 Bases 核心插件)。

![[index.base#主题总览]]

📚 主题导航

待补充:由 agent 按研究方向分组,每条注明 [[主题]](篇数 · 范围)。

例 — 一、柔性传感与电子器件:[[柔性压力与触觉传感器]](24)· [[电子皮肤]](10)· [[柔性与可拉伸电子学]](6)…

🔗 主题关系图谱

待补充:以叙述说明主题间的机理 / 材料 / 应用脉络(如传感闭环、凝胶增韧家族、纤维素三联、可持续主线)。

🗂 工作区

<!-- agent-wiki:auto start — generated by gen-home; do not edit inside -->

[!abstract] 由 agent-wiki 自动维护(Dataview 动态卡片) 检索报告 / 图谱 由 Dataview 实时扫描 queries、graphs 文件夹,新增文件自动出现,无需手改。

const root = dv.current().file.folder;
const groups = [
  { title: "🔎 检索报告", dir: root + "/queries", ext: "md" },
  { title: "🕸 图谱", dir: root + "/graphs", ext: "canvas" },
];
const style = dv.container.createEl("style");
style.textContent = `
.aw-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin:.5rem 0 1.25rem}
.aw-card{flex:1 1 168px;max-width:232px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;padding:.7rem .9rem;border:1px solid var(--background-modifier-border);border-radius:12px;background:var(--background-secondary);color:var(--text-normal);text-decoration:none;font-weight:500;box-shadow:0 1px 2px rgba(0,0,0,.06);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.aw-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.12);border-color:var(--interactive-accent)}
.aw-card:focus-visible{outline:2px solid var(--interactive-accent);outline-offset:2px}
.aw-card:active{transform:translateY(0)}
@media (prefers-reduced-motion:reduce){.aw-card{transition:none}}
`;
for (const g of groups) {
  dv.header(3, g.title);
  const files = app.vault.getFiles()
    .filter(f => f.extension === g.ext && f.path.startsWith(g.dir + "/"))
    .sort((a, b) => a.basename.localeCompare(b.basename));
  if (!files.length) { dv.paragraph("_(空)_"); continue; }
  const grid = dv.container.createEl("div", { cls: "aw-grid" });
  for (const f of files) {
    const card = grid.createEl("a", { cls: "internal-link aw-card", href: f.path });
    card.dataset.href = f.path;
    card.setText(f.basename);
  }
}
<!-- agent-wiki:auto end -->

Source: SKILL.md on GitHub

No alerts18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    The agent-wiki skill is a secure, well-architected utility for managing Obsidian knowledge bases. It follows security best practices such as safe YAML loading, HTML sanitization for exports, and strict path-traversal guards.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: LOW · No issues

Signed by skilld at 90c62aa. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Activeupdated 3 weeks ago

README badge

README badge for dianel555/dskills/agent-wiki