astro-content

astro-content is a skill for Claude Code from fusengine/agents. It costs 28 tokens per session (979 once invoked), scanned A, original, MIT.

A content-management tool for Astro's Content Layer, the system for loading and validating content such as Markdown, MDX, CMS data, APIs, or databases. It uses schemas to check that content fields have the expected shape.

In plain words
What is it for?
Use it to manage blog posts, documentation, and product descriptions; load content from external sources; define frontmatter fields; and run Astro's content synchronization workflow.
Why use it?
It keeps structured site content consistent and gives developers type information while editing or loading it. This helps when moving from Astro's older content-collection system.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the fuse-astro plugin — 14 skills, 1 agent shipped together

Good fit Use it to manage blog posts, documentation, and product descriptions; load content from external sources; define frontmatter fields; and run Astro's content synchronization workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fusengine/agents/astro-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 fusengine/agents --skill astro-content
Clone the repo
git clone --depth 1 https://github.com/fusengine/agents

Made for: Claude Code.

Or install fuse-astro, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

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 astro-content

README.md
[![agentmods](https://agentmods.dev/badge/skills/fusengine/agents/astro-content/github.svg)](https://agentmods.dev/skills/fusengine/agents/astro-content)
Your own site
<a href="https://agentmods.dev/skills/fusengine/agents/astro-content"><img src="https://agentmods.dev/badge/skills/fusengine/agents/astro-content/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.

agentmods 80×15 button for astro-content

Your own site · 80×15
<a href="https://agentmods.dev/skills/fusengine/agents/astro-content"><img src="https://agentmods.dev/badge/skills/fusengine/agents/astro-content.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 979 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00028 $0.00979
Opus 5.5 $0.00011 $0.00392
Sonnet 5.5 $0.00006 $0.00196
Haiku 4.5 $0.00003 $0.00098

Measured 1mo ago against content hash 8186e6ce3b3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

astro-content 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 1mo 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.

plugins/astro-expert/skills/astro-content/SKILL.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Also covers MDX authoring with Remark/Rehype plugins and the astro sync workflow for generating collection types. Does not cover form submission via Astro Actions (astro-actions) or SEO metadata generation from content (astro-seo) — those are handled by their own skills.

Astro Content Layer Expert

Type-safe content management with loaders, Zod schemas, and the unified Content Layer API.

Agent Workflow (MANDATORY)

Before ANY implementation, spawn 3 agents in parallel, one Agent call each with a name:

  1. fuse-ai-pilot:explore-codebase - Check existing collections, loaders, and content structure
  2. fuse-ai-pilot:research-expert - Verify latest Content Layer docs via Context7/Exa
  3. mcp__context7__query-docs - Get loader and schema examples

After implementation, run fuse-ai-pilot:sniper for validation.


Overview

When to Use

  • Managing blog posts, docs, or product descriptions in Markdown/MDX
  • Fetching content from a CMS, API, or database with type safety
  • Needing TypeScript autocomplete for frontmatter fields
  • Migrating from Astro 4 legacy content collections

Why Content Layer API

Feature Benefit
src/content.config.ts Single config file at project root
Built-in loaders glob() and file() for local files
Custom loaders Fetch from any external source
Zod 4 schemas Full TypeScript type safety
astro sync Generates types from collections

Core Concepts

Config File Location

The config file moved from src/content/config.ts to src/content.config.ts in Astro 5+.

Read the full file on GitHub · 102 lines

Files

What ships with it

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

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. 1mo ago Changed 8186e6ce3b3f
  2. 1mo ago First seen · 102 lines · 28 tokens per session scan A e2501b45e1e5

Subscribe to this mod's changes

astro-content is a skill published in the GitHub repository fusengine/agents (32 stars, last pushed 5d ago), licensed MIT. It adds 28 tokens to every session and 979 once invoked, about $0.0001 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.