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 a-ariff/ariff-claude-plugins --skill context-groundinggit clone --depth 1 https://github.com/a-ariff/ariff-claude-pluginsWrote 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/a-ariff/ariff-claude-plugins/context-grounding)<a href="https://agentmods.dev/skills/a-ariff/ariff-claude-plugins/context-grounding"><img src="https://agentmods.dev/badge/skills/a-ariff/ariff-claude-plugins/context-grounding/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/a-ariff/ariff-claude-plugins/context-grounding"><img src="https://agentmods.dev/badge/skills/a-ariff/ariff-claude-plugins/context-grounding.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.00045 | $0.00489 |
| Opus 5.5 | $0.00018 | $0.00196 |
| Sonnet 5.5 | $0.00009 | $0.00098 |
| Haiku 4.5 | $0.00005 | $0.00049 |
Grade A, and why
context-grounding 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 3mo 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.
What it actually says
Context Grounding
Read first. Quote second. Claim third. Never skip a step.
The grounding technique
Before making any claim about code, follow this sequence:
Step 1: Read the source
Read the actual file. Don't work from memory.
Step 2: Extract the relevant quote
Pull the exact text that supports your claim. Include line numbers.
Step 3: Make your claim based on the quote
Now state what you believe, citing the quote as evidence.
Example
Wrong approach: "The auth middleware checks for JWT tokens and returns 401 if invalid." (No evidence. Could be hallucinated.)
Grounded approach: "Reading src/middleware/auth.ts:15-25, the middleware does:
const token = req.headers.authorization?.split(' ')[1];
if (!token) return res.status(401).json({ error: 'No token provided' });
So it extracts the Bearer token from the Authorization header and returns 401 if missing."
When to ground
Always ground when:
- Answering questions about specific code behavior
- Writing code reviews or change proposals
- Explaining how something works
- Describing bug causes
- Making security assessments
Grounding for long documents
For files over 100 lines:
- Read the full file first to understand structure
- Identify the specific section relevant to the question
- Re-read that section carefully
- Extract the key lines as quotes
- Build your answer from those quotes
For files over 500 lines:
- Use Grep to find the relevant section
- Read just that section (use offset and limit)
- Extract quotes from what you read
- If you need more context, read surrounding sections
- Never make claims about sections you haven't read
The grounding test
Before sending a response, test each factual statement: "Could someone verify this by reading the file I'm referencing?"
If yes: the statement is grounded. If no: you need to add the file reference and relevant quote. If you don't have a file to reference: either find one or mark as unverified.
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.
- 3mo ago First seen · 70 lines · 45 tokens per session scan A 1784ec526772
context-grounding is a skill published in the GitHub repository a-ariff/ariff-claude-plugins (14 stars, last pushed 8mo ago), licensed MIT. It adds 45 tokens to every session and 489 once invoked, about $0.0002 per session on Opus 5.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.
context-grounding compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| context-groundinga-ariff/ariff-claude-plugins | Skill | 14 | 8mo ago | MIT | A | 45 | Claude Code |
| powerpoint-mcpsbroenne/mcp-server-powerpoint | Skill | 51 | today | MIT | A | 55 | Claude Code, Codex |
| powerpoint-clisbroenne/mcp-server-powerpoint | Skill | 51 | today | MIT | A | 55 | Claude Code, Codex |
| powerpoint-deck-designsbroenne/mcp-server-powerpoint | Skill | 51 | today | MIT | A | 59 | Claude Code, Codex |
| fleetq-run-experimentescapeboy/agent-fleet-o | Skill | 84 | today | AGPL-3.0 | A | 32 | Claude Code, Codex |
| fleetq-connectescapeboy/agent-fleet-o | Skill | 84 | today | AGPL-3.0 | A | 25 | Claude Code, Codex |
| fleetq-manage-workflowescapeboy/agent-fleet-o | Skill | 84 | today | AGPL-3.0 | A | 30 | Claude Code, Codex |