Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Dianel555/DSkills --skill agent-wikigit clone --depth 1 https://github.com/Dianel555/DSkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dianel555/dskills/agent-wiki)<a href="https://agentmods.dev/skills/dianel555/dskills/agent-wiki"><img src="https://agentmods.dev/badge/skills/dianel555/dskills/agent-wiki/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dianel555/dskills/agent-wiki"><img src="https://agentmods.dev/badge/skills/dianel555/dskills/agent-wiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00089 | $0.07838 |
| Opus 5 | $0.00044 | $0.03919 |
| Sonnet 5 | $0.00018 | $0.01568 |
| Haiku 4.5 | $0.00009 | $0.00784 |
Grade A, and why
agent-wiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 363 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agent-wiki
增量式 Obsidian 笔记仓库 Wiki 生成器,为 LLM 优化的知识库管理工具。
Prerequisites
pip install PyYAML
References (load on demand)
Detailed specs live under references/ in this skill directory — read them only when the task needs them:
| File | Read when |
|---|---|
references/topic-authoring.md |
Authoring/enriching topic pages (type taxonomy, per-type section templates, conflict convention, quality metric detail) |
references/homepage.md |
Working on wiki/index.md (layout templates, managed cards, REST write-through, optional CSS) |
references/site-export.md |
Running/debugging gen-site (design system, page anatomy, determinism guarantees) |
references/index-schema.md |
Consuming/producing index or frontmatter fields (full .wiki-index.json schema, Bases views, capture contract) |
Execution
The skill provides a Python CLI with the following subcommands:
# Initialize wiki structure
python scripts/agent_wiki_cli.py init --vault /path/to/vault
# Scan for changed sources
python scripts/agent_wiki_cli.py scan --vault /path/to/vault
# Plan a batched ingest: split pending sources into rounds (default 20/round)
python scripts/agent_wiki_cli.py plan --batch-size 20 --vault /path/to/vault
# Mark a round complete (verifies every doc in the batch was cache-put)
python scripts/agent_wiki_cli.py batch-done --batch 1 --vault /path/to/vault
# Get cache entry for a source
python scripts/agent_wiki_cli.py cache-get <relative-path> --vault /path/to/vault
# Record ingest result
python scripts/agent_wiki_cli.py cache-put <relative-path> --topics topic1.md,topic2.md --vault /path/to/vault
# Clean up deleted sources
python scripts/agent_wiki_cli.py cleanup --vault /path/to/vault
# Get wiki health status
python scripts/agent_wiki_cli.py status --vault /path/to/vault
# Rebuild the retrieval index (wiki/.wiki-index.json) without writing .base files
python scripts/agent_wiki_cli.py index --vault /path/to/vault
# Backfill source_type frontmatter to match each topic's sources[] file formats
python scripts/agent_wiki_cli.py normalize-source-type --vault /path/to/vault
# Generate Obsidian Bases (.base) views: wiki/index.base + <name>.base master table
python scripts/agent_wiki_cli.py gen-base --name sources --vault /path/to/vault
# Register an Agent-authored research report (wiki/queries/<name>.md) and tag kind: query
python scripts/agent_wiki_cli.py save-report <name> --vault /path/to/vault
# Generate per-topic JSON Canvas knowledge graphs under wiki/graphs/ (one topic or all)
python scripts/agent_wiki_cli.py gen-canvas --topic <name> --vault /path/to/vault
python scripts/agent_wiki_cli.py gen-canvas --all --vault /path/to/vault
# Build/refresh the wiki/index.md skeleton + its managed "工作区" card block
python scripts/agent_wiki_cli.py gen-home --vault /path/to/vault
# Render index.md without writing it, so an MCP-side conditional write can apply it
python scripts/agent_wiki_cli.py gen-home --emit-only --vault /path/to/vault
# Extract raw 作者 rows from each topic's source notes (read-only)
python scripts/agent_wiki_cli.py extract-authors --vault /path/to/vault
# Deduplicated first-author list per topic, for frontmatter backfill (read-only)
python scripts/agent_wiki_cli.py aggregate-authors --vault /path/to/vault
# Compute quality tier distribution and per-topic metrics (read-only)
python scripts/agent_wiki_cli.py quality --vault /path/to/vault
# Identify covered sources vs gaps (read-only)
python scripts/agent_wiki_cli.py coverage --vault /path/to/vault
# Inventory keywords across topics to derive subject categories (read-only)
python scripts/agent_wiki_cli.py keywords --vault /path/to/vault
# Get maintenance worklists: wanted (broken links) and stale topics (read-only)
python scripts/agent_wiki_cli.py worklist --vault /path/to/vault
# Generate static HTML site (optional, requires markdown package)
python scripts/agent_wiki_cli.py gen-site --vault /path/to/vault
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .env.example 1.6 KB
- pyproject.toml 2.1 KB
- README.md 17 KB
- references/homepage.md 7.7 KB
- references/index-schema.md 6.9 KB
- references/site-export.md 3.1 KB
- references/topic-authoring.md 5.1 KB
- scripts/agent_wiki_cli.py 8.5 KB runs code
- scripts/agent_wiki/__init__.py 103 B runs code
- scripts/agent_wiki/authors.py 3.4 KB runs code
- scripts/agent_wiki/bases.py 3.9 KB runs code
- scripts/agent_wiki/batch.py 3.8 KB runs code
- scripts/agent_wiki/cache.py 3.8 KB runs code
- scripts/agent_wiki/canvas.py 8.1 KB runs code
- scripts/agent_wiki/cleanup.py 1.7 KB runs code
- scripts/agent_wiki/cli.py 97 B runs code
- scripts/agent_wiki/commands.py 31 KB runs code
- scripts/agent_wiki/config.py 2.7 KB runs code
- scripts/agent_wiki/coverage.py 2.0 KB runs code
- scripts/agent_wiki/doctor.py 5.1 KB runs code
- scripts/agent_wiki/frontmatter.py 1.3 KB runs code
- scripts/agent_wiki/home.py 8.0 KB runs code
- scripts/agent_wiki/keywords.py 1.9 KB runs code
- scripts/agent_wiki/links.py 15 KB runs code
- scripts/agent_wiki/obsidian_api.py 9.6 KB runs code
- scripts/agent_wiki/plugins.py 2.0 KB runs code
- scripts/agent_wiki/quality.py 7.4 KB runs code
- scripts/agent_wiki/scanner.py 5.6 KB runs code
- scripts/agent_wiki/site.py 39 KB runs code
- scripts/agent_wiki/source_type.py 3.2 KB runs code
- scripts/agent_wiki/wiki_index.py 17 KB runs code
- scripts/agent_wiki/worklist.py 5.6 KB runs code
- templates/home/academic.md 2.9 KB
- templates/home/dashboard.md 2.7 KB
- templates/home/magazine.md 2.5 KB
- templates/query/research.md 787 B
- tests/conftest.py 177 B runs code
- tests/fixtures/sample_vault/attachments/image.png 26 B
- tests/fixtures/sample_vault/课程/双缝实验.md 47 B
- tests/fixtures/sample_vault/课程/量子力学.md 75 B
- tests/test_alias_resolution.py 7.5 KB runs code
- tests/test_authors.py 2.2 KB runs code
- tests/test_backlinks.py 7.0 KB runs code
- tests/test_bases.py 4.7 KB runs code
- tests/test_batch.py 3.0 KB runs code
- tests/test_benchmark_index.py 2.1 KB runs code
- tests/test_cache_strict.py 2.0 KB runs code
- tests/test_cache.py 2.0 KB runs code
- tests/test_canvas.py 8.2 KB runs code
- tests/test_capture.py 5.5 KB runs code
- tests/test_cleanup_init_strict.py 2.1 KB runs code
- tests/test_cleanup.py 1.2 KB runs code
- tests/test_cli.py 5.4 KB runs code
- tests/test_config.py 2.0 KB runs code
- tests/test_coverage.py 7.2 KB runs code
- tests/test_doctor.py 3.9 KB runs code
- tests/test_e2e.py 2.5 KB runs code
- tests/test_evaluate_enhancements.py 17 KB runs code
- tests/test_featured_base.py 4.3 KB runs code
- tests/test_frontmatter.py 1.1 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +17 lines 612dbd131de1
- 3d ago Changed · +4 lines e18a45c0ffd1
- 4d ago Changed · +2 lines d5ef6e7486ee
- 5d ago Changed · +3 lines 5564fcff35d1
- 10d ago First seen · 337 lines · 89 tokens per session scan A c2480c41e28d
agent-wiki is a skill published in the GitHub repository Dianel555/DSkills (64 stars, last pushed 2d ago), licensed MIT. It adds 89 tokens to every session and 7,838 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
baoyu-youtube-transcript
A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.
baoyu-url-to-markdown
Fetch any URL and convert to markdown using baoyu-fetch CLI (Chrome CDP with site-specific adapters). Built-in adapters for X/Twitter, YouTube transcripts, Hacker News threads, and generic pages via Defuddle. Handles login/CAPTCHA via interaction wait modes. Use when user wants to save a webpage as markdown.
self-improve
Extract lessons from the current session, or sweep the project's past sessions when asked, and route them to the appropriate knowledge layer (project AGENTS.md, auto memory, existing skills, or new skills). Use when the user asks to "self-improve", "distill this session", "distill past sessions", "sweep past…
recall-reasoning
Recall the reasoning behind a past change by locating the Claude Code transcript that produced it. Use when the user asks to "recall reasoning", "find reasoning", "look up reasoning", "recall implementation reasoning", "find the rationale", "why did I do X", "recall from transcripts", or "find the transcript for this…
install-memu
Install or uninstall memU for whatever agent you are — identify your host, print its packaged guide, and follow it to wire (or unwire) both seams (record and inject). Use when the user asks to install, set up, integrate, remove, or uninstall memU.
okf-frontmatter
Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs. (1) Teach agents to maintain docs the OKF way — every doc carries a small YAML frontmatter block as the single source of truth (type, title, tags, intent, schemasource, documents); schema details link…