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 agentmods add skills/vedantggwp/grimoire/presentnpx skills add vedantggwp/grimoire --skill presentgit clone --depth 1 https://github.com/vedantggwp/grimoireWhat 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 | $0.00067 | $0.01206 |
| Opus 5 | $0.00034 | $0.00603 |
| Sonnet 5 | $0.00013 | $0.00241 |
| Haiku 4.5 | $0.00007 | $0.00121 |
Grade A, and why
present 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 — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
present
Generate a study-oriented static frontend from compiled wiki content and the design configuration.
Prerequisites
- A grimoire workspace must exist — check for
SCHEMA.md. If missing, tell the user to run/grimoire:newfirst. - The
wiki/.compile/directory must exist with JSON artifacts. If missing, tell the user to run/grimoire:compilefirst. - The
_config/design.mdfile should exist. If missing, use defaults (midnight-teal palette, editorial typography, subtle motion, comfortable density).
Step 1 — Locate the Grimoire
- Look for
SCHEMA.mdin the current directory first - If not found, ask the user for the workspace path
- Verify
wiki/.compile/exists and containsnotes.json,graph.json,analytics.json - Read
SCHEMA.mdfor topic and scope context
Step 2 — Run the Present Script
Execute the static site generator:
node ${CLAUDE_PLUGIN_ROOT}/dist/present.js {workspace-path}
This reads:
_config/design.md— palette, typography, motion, density settingswiki/.compile/*.json— compile artifacts (notes, graph, analytics)wiki/*.md— article content (converted to HTML)wiki/log.md— changelog entries for feed mode
And generates a complete static site in {workspace}/site/:
| File | Mode |
|---|---|
site/index.html |
Hub page with mode navigation and wiki stats |
site/read/index.html |
Linear reading — articles in reading order with TOC |
site/graph/index.html |
Graph exploration — force-directed concept map |
site/search/index.html |
Search + answer — full-text search with results |
site/feed/index.html |
Changelog — timeline of ingest/compile activity |
site/gaps/index.html |
Gap map — coverage visualization by topic |
site/quiz/index.html |
Flashcard — auto-generated Q&A from article content |
site/assets/style.css |
Generated CSS from design config |
If the script fails, show the error and stop.
Step 3 — Preview (CHECKPOINT)
After generation, tell the user how to preview:
What ships with it
4 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.
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 First seen · 151 lines · 67 tokens per session scan A b6c86309089f
present is a skill published in the GitHub repository vedantggwp/grimoire (2 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 1,206 once invoked, about $0.0003 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-31.
Other skills, from other repositories
linkly-ai
Search, browse, read, and take notes across the user's documents indexed by Linkly AI — local files and linked cloud libraries. Use when the user asks to 'search my documents', 'find files about a topic', 'read a local document', 'what's in this folder', 'list the files in that library', 'browse document outlines'…
clinical-q-and-a
快速回答普通教育性医学问题与常见误区。默认用一份国内现行权威指南/共识完成轻量核验并立即作答;不用于个体诊疗、处方剂量、精确推荐定位、药品高风险事实、医保监管或跨版本比较。.
book-to-skill
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent skills, extracting frameworks, mental models, principles, techniques, and anti-patterns. Use when the user wants to study a document through GitHub Copilot CLI, Amp, Claude Code, or Hermes…
guideline-section-expansion
用户反馈里最常见的两句话是「指南查到了但展不开」和「能不能把指南总结成流程」。本 skill 处理这两件事,并把它们严格限定为学习产物。.
guideline-learning-diagnosis
当用户要求评估自己对某份指南的掌握情况、制定指南学习/备考计划、梳理薄弱章节、 做教育性小测,或学习指南中的诊断标准、鉴别框架和流程关系时使用。 本技能只做学习诊断与诊断标准教学,不对具体患者作疾病诊断、治疗、处方、剂量、 急诊处置或医保报销判断。.
guideline-update-reminder
为基层医生学习小助手生成专业指南更新提醒。适用于每3天一次或按需输出与医生科室、亚专业、职称深度和基层场景相关的指南、共识、规范、临床路径或质控标准更新。只提供学习提醒和权威信源,不输出临床行动、疾病SOP、个体患者建议、药物剂量或院内流程变更。.