astro-7

astro-7 is a skill for Claude Code from fusengine/agents. It costs 39 tokens per session (1,279 once invoked), scanned A, original, MIT.

A guide for building websites with Astro 7, a framework for content-focused sites, or for upgrading sites from Astro 5 or 6. It covers static sites as well as sites that generate pages on request.

In plain words
What is it for?
Use it to start or upgrade an Astro site, configure static, server, or hybrid output, add middleware for authentication or redirects, and set up content-security rules.
Why use it?
It helps choose the right page-generation setup and account for changes between Astro versions.

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 start or upgrade an Astro site, configure static, server, or hybrid output, add middleware for authentication or redirects, and set up content-security rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fusengine/agents/astro-7
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-7
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-7

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fusengine/agents/astro-7"><img src="https://agentmods.dev/badge/skills/fusengine/agents/astro-7.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,279 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.00039 $0.01279
Opus 5.5 $0.00016 $0.00512
Sonnet 5.5 $0.00008 $0.00256
Haiku 4.5 $0.00004 $0.00128

Measured 20d ago against content hash 73c7540a3d1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

astro-7 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 20d 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-7/SKILL.md · 104 lines

How it starts

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

Covers initial project setup and migration from Astro 5/6, including breaking changes and Node 22.12+ requirements. Does not cover Content Layer API details (astro-content), Server Actions (astro-actions), Islands hydration directives (astro-islands), UI framework integrations (astro-integrations), or deployment adapters (astro-deployment) — those live in their own skills.

Astro 7 Expert

Production-ready web framework for content-driven sites with unified dev runtime and Islands Architecture.

Agent Workflow (MANDATORY)

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

  1. fuse-ai-pilot:explore-codebase - Analyze existing routes, layouts, and config
  2. fuse-ai-pilot:research-expert - Verify latest Astro 7 docs via Context7/Exa
  3. mcp__context7__query-docs - Check breaking changes v6→v7

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


Overview

When to Use

  • Building new content-driven websites or blogs
  • Migrating from Astro 6 to version 7
  • Configuring static or server output (hybrid = per-route prerender)
  • Setting up middleware for auth or redirects
  • Leveraging the new Rust compiler for large sites
  • Implementing Content Security Policy (CSP) headers

Why Astro 7

Feature Benefit
Unified Dev Runtime Dev matches production — fewer "works in dev, breaks in prod" bugs
Vite Environment API (Vite 8) Exact production runtime during development
Single Rust Compiler Go compiler removed — one Rust compiler for .astro files, with strict HTML parsing (unclosed tags now error instead of being silently auto-corrected)
Live Content Collections Real-time data from external sources
Built-in Fonts API (stable) Zero-config font loading with performance optimization
CSP Support (stable) Built-in Content Security Policy nonce management
Cloudflare Workers First-class support with workerd runtime in dev
Route caching (stable in 7.0) Top-level cache + routeRules, Astro.cache.set({ maxAge, swr, tags })
Advanced Routing (7.0) Optional src/fetch.ts entrypoint (astro/fetch, astro/hono)

Read the full file on GitHub · 104 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. 20d ago Changed · +2 lines · +5 tokens per session 73c7540a3d1c
  2. 1mo ago Changed 91733b6d7d14
  3. 1mo ago First seen · 102 lines · 34 tokens per session scan A f5b42c3fd39e

Subscribe to this mod's changes

astro-7 is a skill published in the GitHub repository fusengine/agents (32 stars, last pushed 5d ago), licensed MIT. It adds 39 tokens to every session and 1,279 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.