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 datatorag/mcp-gateway --skill site-contentgit clone --depth 1 https://github.com/datatorag/mcp-gatewayWrote 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/datatorag/mcp-gateway/site-content)<a href="https://agentmods.dev/skills/datatorag/mcp-gateway/site-content"><img src="https://agentmods.dev/badge/skills/datatorag/mcp-gateway/site-content.svg" alt="Measured on agentmods" 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.00055 | $0.04010 |
| Opus 5 | $0.00028 | $0.02005 |
| Sonnet 5 | $0.00011 | $0.00802 |
| Haiku 4.5 | $0.00006 | $0.00401 |
Grade C, and why
site-content 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 7d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
- **Component embed via marker**: a doc's markdown can place `<!--setup-instructions-->` How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Site Content
Load codebase-map first if you haven't — it has the one-paragraph summary of these
systems. This skill is the detailed, code-accurate version: exact frontmatter fields,
page conventions, and the checklist for shipping a content change on datatorag.com (a
Next.js App Router site in apps/gateway).
Content systems
Blog, changelog, docs, and skills are markdown-in-repo, not a CMS — no MDX. All four run
on one shared loader, apps/gateway/src/lib/content-collection.ts; the four
near-identical hand-rolled copies it replaced had already drifted apart in their fallback
handling, which is why it exists.
Each collection is declared with defineCollection<T>({ dir, parse, sort }). The loader
reads content/<dir>/*.md from path.join(process.cwd(), "content", ...), parses
frontmatter with gray-matter (matter()), derives the slug from the filename, hands
each file to the collection's own parse as a ParsedFile ({ slug, data, content }),
drops any file whose parse returns null, applies sort, and returns
{ getAll, getBySlug } — the slug lookup is Map-backed. The cache is per collection and
populated once, with the same "content is static at deploy time" meaning as before: a
markdown edit does nothing on a running server; it needs a restart/redeploy (dev server
hot-reload aside).
Read frontmatter through the field.* helpers (field.string, field.number,
field.stringArray) rather than hand-written typeof checks or ?? chains. Divergent
fallback handling between collections is exactly the drift the shared loader removed —
field.stringArray discards a non-array instead of coercing it, and that behaviour should
stay uniform. Body-to-HTML is still each collection's own job (marked.parse(content) as string), because the four differ in how they split the body.
Adding a collection is: a parse function, a defineCollection call, and a type. Do
not add a fifth loader.
Blog — apps/gateway/src/lib/blog.ts
Slug = filename without .md. Frontmatter fields, with fallback if omitted:
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.
- 7d ago First seen · 260 lines · 55 tokens per session scan C 54a030056262
site-content is a skill published in the GitHub repository datatorag/mcp-gateway (4 stars, last pushed 3d ago), licensed MIT. It adds 55 tokens to every session and 4,010 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). 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…
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…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…