ckan-mcp-server: Command for Claude Code

.claude/commands/astro_website.md

create-astro-website is a command for Claude Code from ondata/ckan-mcp-server. It costs 29 tokens per session (2,283 once invoked), scanned A, original, MIT.

A command for creating a static website with Astro, React, Tailwind CSS, and TypeScript. It also sets up common search, accessibility, feed, and installable-web-app files.

In plain words
What is it for?
Use it to start websites with reusable components, responsive styling, SEO metadata, sitemaps, RSS, keyboard support, contrast checks, and PWA files.
Why use it?
It gives a new project a defined structure and standard website foundations without assembling every configuration by hand.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is ondata/ckan-mcp-server's own configuration. It tells Claude Code how to work on ckan-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ckan-mcp-server configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import Layout from '../layouts/Layout.astro';.

Reuse

Borrowing it

Nothing to install: this file belongs to ondata/ckan-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ondata/ckan-mcp-server/main/.claude/commands/astro_website.md
Clone the repo
git clone --depth 1 https://github.com/ondata/ckan-mcp-server

Made for: Claude Code.

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 create-astro-website

README.md
[![agentmods](https://agentmods.dev/badge/commands/ondata/ckan-mcp-server/astro_website.svg)](https://agentmods.dev/commands/ondata/ckan-mcp-server/astro_website)
Your own site
<a href="https://agentmods.dev/commands/ondata/ckan-mcp-server/astro_website"><img src="https://agentmods.dev/badge/commands/ondata/ckan-mcp-server/astro_website.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,283 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.
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.00029 $0.02283
Opus 5 $0.00015 $0.01141
Sonnet 5 $0.00006 $0.00457
Haiku 4.5 $0.00003 $0.00228

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

Security

Grade A, and why

create-astro-website 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 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.

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.

.claude/commands/astro_website.md · 401 lines

How it starts

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

Create Astro Website

Create production-ready static website with modern stack and best practices.

Stack

  • Astro v5+ (output: 'static')
  • React for interactive components
  • Tailwind CSS + typography plugin
  • TypeScript strict mode
  • SEO: RSS feed, sitemap, Open Graph, favicon set
  • Accessibility: ARIA labels, keyboard navigation, WCAG AA contrast
  • PWA ready: manifest.json, multi-format icons

Project Setup

# Initialize Astro project
npm create astro@latest -- --template minimal --typescript strict

# Install integrations
npm install @astrojs/react @astrojs/tailwind @astrojs/sitemap @astrojs/rss
npm install react react-dom tailwindcss @tailwindcss/typography

# Initialize Tailwind
npx tailwindcss init

Directory Structure

src/
  layouts/
    Layout.astro          # Main layout with SEO, Open Graph, favicon
  pages/
    index.astro           # Homepage
    about.astro           # About page with Markdown import
  content/
    about.md              # Markdown content for long-form pages
  components/
    Footer.astro          # Reusable footer
  styles/
    global.css            # Custom Tailwind utilities
  config/
    content.ts            # Centralized content configuration
  lib/                    # Helper functions
public/
  favicon.svg             # SVG favicon (optimized)
  favicon-16.png          # 16x16 PNG
  favicon-32.png          # 32x32 PNG
  favicon-48.png          # 48x48 PNG
  favicon-180.png         # 180x180 Apple Touch Icon
  favicon-192.png         # 192x192 PWA icon
  favicon-512.png         # 512x512 PWA icon
  favicon.ico             # ICO format
  manifest.json           # Web app manifest
  robots.txt

Astro Config

astro.config.mjs:

import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';

export default defineConfig({
  integrations: [react(), tailwind(), sitemap()],
  site: 'https://example.com',
  output: 'static',
});

Read the full file on GitHub · 401 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 · 401 lines · 29 tokens per session scan A c26d2588640d

Subscribe to this mod's changes

create-astro-website is a command published in the GitHub repository ondata/ckan-mcp-server (57 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 2,283 once invoked, about $0.0001 per session on Opus 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.