Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add ojCezarFerreira/Grimoire/plugin install grimoireWrote 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/ojcezarferreira/grimoire/grimoire-know)<a href="https://agentmods.dev/skills/ojcezarferreira/grimoire/grimoire-know"><img src="https://agentmods.dev/badge/skills/ojcezarferreira/grimoire/grimoire-know/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/ojcezarferreira/grimoire/grimoire-know"><img src="https://agentmods.dev/badge/skills/ojcezarferreira/grimoire/grimoire-know.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00027 | $0.00926 |
| Opus 5 | $0.00014 | $0.00463 |
| Sonnet 5 | $0.00005 | $0.00185 |
| Haiku 4.5 | $0.00003 | $0.00093 |
Grade C, and why
grimoire-know scanned grade C with 1 finding 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 9d 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.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
2. If `.grimoire/PROJECT.md` exists in the project root, read it for project context. If it does not exist, proceed without it and, at the end of the run, suggest the user run `grimoire-init` once to enrich future answer What it actually says
[Required Reading]
- Read
${CLAUDE_PLUGIN_ROOT}/GRIMOIRE-CONVENTIONS.md. Only§ Skill composition,§ Project contextand§ Historic(read-only consumption) apply to this skill.§ TDD,§ Sub-agent spawningrules for execute/quick,§ Commits,§ IDE-aware review,§ User-facing language, and§ Pause-point patterndo not apply — this skill is pure Q&A and never mutates the repo, makes no commits, and creates no pages. - If
.grimoire/PROJECT.mdexists in the project root, read it for project context. If it does not exist, proceed without it and, at the end of the run, suggest the user rungrimoire-initonce to enrich future answers (non-blocking — never refuse to answer becausePROJECT.mdis missing). - If
.grimoire/HISTORIC.mdexists, read it for recent-page context. If older context seems relevant to the question, browse.grimoire/bag/historic/(newest suffix first). Missing → proceed without it.
[Objective] Answer the following question about the repository or the application it builds, faithfully and read-only:
$ARGUMENTS
[Hard constraints — read-only]
- Never use
Write,Edit,NotebookEdit, or any file-mutating tool against the consumer project. - Never run shell commands that mutate state (
git commit,git push,git checkout -b, file creation/deletion, package installs, etc.). Read-onlyBash(ls,cat,git log,git diff,git status,find,grep) is allowed. - Never create a page folder under
.grimoire/pages/and never write to.grimoire/HISTORIC.mdor.grimoire/PROJECT.md. - Never make commits.
- When uncertain, say so plainly instead of guessing.
[Phase 1: Question analysis]
- Classify whether the question is answerable from the repo alone, requires web research, or both.
- Identify which files or directories are most relevant to the question without reading more than needed.
- Decide upfront whether the sub-agent will need
WebSearch/WebFetch, so it can be briefed accordingly.
[Phase 2: Investigation]
- Spawn one general-purpose sub-agent with
Read,Grep,Glob, read-onlyBash,WebSearch, andWebFetch. - Brief the sub-agent with a self-contained prompt that includes the user's question, the relevant files/dirs identified in Phase 1, and explicit instructions to:
- Inspect only the files needed to answer the question.
- Use
WebSearch/WebFetchwhen the answer depends on facts outside the repo (third-party libs, standards, recent docs, API behavior). - Collect every URL it actually consulted.
- Flag any claim it is not confident about, instead of guessing.
- Return a structured response with: (a) the answer, (b) an "uncertain about" list (empty if none), and (c) the source links it used (empty if none).
[Phase 3: Response] Render the sub-agent's findings to the user in chat:
- Direct answer first. Lead with the answer to the question — no preamble.
- Uncertain about. Include this section only if the sub-agent's "uncertain about" list is non-empty; mark it clearly so the user can verify those claims.
- References. Include this section at the end only when the sub-agent actually consulted the web, listing each URL on its own line. If no web sources were used, omit the section entirely.
- No file changes, no commits, no
HISTORIC.mdupdates.
[Phase 4: Cleanup]
Nothing to clean up — this skill is fully ephemeral. If .grimoire/PROJECT.md was missing during Phase 1, remind the user that running grimoire-init once would enrich future answers. End.
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.
- 9d ago First seen · 47 lines · 27 tokens per session scan C bbf094ebb68c
grimoire-know is a skill published in the GitHub repository ojCezarFerreira/Grimoire (2 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 926 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…
next-cache-components-optimizer
Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…