site-content

site-content is a skill for Claude Code from datatorag/mcp-gateway. It costs 55 tokens per session (4,010 once invoked), scanned C, original, MIT.

Project-specific instructions for adding or editing content on datatorag.com, including blog posts, changelogs, documentation and landing-page sections. They describe the Markdown files, frontmatter and shared content loader used by the Next.js site.

In plain words
What is it for?
Adding or updating site content, using the correct frontmatter, placing files in the right collections and following the site's content conventions.
Why use it?
They help contributors follow the site's existing content structure instead of creating incompatible files or duplicate loading logic.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the datatorag plugin — 16 skills, 4 agents, 1 hook shipped together

Good fit Adding or updating site content, using the correct frontmatter, placing files in the right collections and following the site's content conventions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/datatorag/mcp-gateway/site-content
Install

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.

Any agent
npx skills add datatorag/mcp-gateway --skill site-content
Clone the repo
git clone --depth 1 https://github.com/datatorag/mcp-gateway

Made for: Claude Code.

Or install datatorag, the plugin that ships this one along with the rest of its 16 skills, 4 agents, 1 hook.

Wrote 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.

agentmods badge for site-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/datatorag/mcp-gateway/site-content.svg)](https://agentmods.dev/skills/datatorag/mcp-gateway/site-content)
Your own site
<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>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,010 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash 54a030056262, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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-->`
.claude/skills/site-content/SKILL.md · 260 lines

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:

Read the full file on GitHub · 260 lines

Changes

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.

  1. 7d ago First seen · 260 lines · 55 tokens per session scan C 54a030056262

Subscribe to this mod's changes

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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

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…

vercel/next.js · 103 tokens

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…

microsoft/vscode · 72 tokens

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…

openai/codex · 114 tokens