starlight-base

starlight-base is a skill for Claude Code, Codex from pantheon-org/tekhne. It costs 54 tokens per session (1,733 once invoked), scanned A, original, MIT.

A setup guide for Astro Starlight, a documentation website theme for the Astro framework. It explains how to create the site, configure navigation and branding, and turn Markdown files into pages.

In plain words
What is it for?
It helps start a Starlight documentation site, add it to an Astro project, configure sidebars and logos, and organize documentation pages.
Why use it?
It removes the need to build common documentation features and routing from scratch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps start a Starlight documentation site, add it to an Astro project, configure sidebars and logos, and organize documentation pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pantheon-org/tekhne/starlight-base
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 pantheon-org/tekhne --skill starlight-base
Clone the repo
git clone --depth 1 https://github.com/pantheon-org/tekhne

Made for: Claude Code, Codex.

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 starlight-base

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pantheon-org/tekhne/starlight-base"><img src="https://agentmods.dev/badge/skills/pantheon-org/tekhne/starlight-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,733 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 40
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00054 $0.01733
Opus 5.5 $0.00022 $0.00693
Sonnet 5.5 $0.00011 $0.00347
Haiku 4.5 $0.00005 $0.00173

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

Security

Grade A, and why

starlight-base 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 2mo 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.

skills/documentation/astro-starlight/skills/starlight-base/SKILL.md · 197 lines

How it starts

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

Starlight Base Setup

Starlight is a full-featured documentation theme built on Astro. It ships with routing, search, dark mode, i18n, and accessibility — configure features rather than build them.

When to Use

  • Creating a new documentation site with Astro and Starlight
  • Adding Starlight to an existing Astro project
  • Configuring core options (logo, sidebar, social links, etc.)
  • Setting up content pages and navigation

When Not to Use

  • Custom theming with CSS variables or Tailwind — use starlight-theme instead
  • Overriding built-in Starlight components — use starlight-custom-component instead

Philosophy

Starlight = Astro integration + file-based routing + content collections.

  • One integration, one config object. All options live inside starlight({}) in astro.config.mjs. No separate config file.
  • Files are pages. Every .md / .mdx under src/content/docs/ becomes a URL. File path = URL route.
  • Sidebar and routing are independent. You can have a page with no sidebar entry, or a sidebar entry for any slug. They are not coupled unless you use autogenerate.
  • Configure, do not build. Prefer Starlight's built-in features over hand-rolled replacements.

Quick Start

npm create astro@latest -- --template starlight
npm run dev

To add Starlight to an existing Astro project:

npx astro add starlight

Core Configuration

All options live inside starlight({}). See configuration-reference.md for the full option table.

import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';

export default defineConfig({
  site: 'https://mydocs.example.com', // Required for sitemap
  integrations: [
    starlight({
      title: 'My Docs',
      logo: { src: './src/assets/logo.svg' },
      social: [
        { icon: 'github', label: 'GitHub', href: 'https://github.com/my-org/repo' },
      ],
      sidebar: [
        {
          label: 'Guides',
          items: [
            { label: 'Getting Started', slug: 'guides/getting-started' },
          ],
        },
        { label: 'Reference', autogenerate: { directory: 'reference' } },
      ],
      editLink: { baseUrl: 'https://github.com/my-org/repo/edit/main/docs/' },
      customCss: ['./src/styles/custom.css'],
    }),
  ],
});

Read the full file on GitHub · 197 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. 2mo ago Changed · +48 lines bcaf2df5adf4
  2. 3mo ago First seen · 149 lines · 54 tokens per session scan A 37ec38c272f6

Subscribe to this mod's changes

starlight-base is a skill published in the GitHub repository pantheon-org/tekhne (10 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 1,733 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-09-03.

Related

starlight-base compared with skills from other repositories

starlight-base next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
starlight-basepantheon-org/tekhneSkill102d agoMITA54Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25kyesterdayApache-2.0A60Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25kyesterdayApache-2.0A132Claude Code, Codex
viteantfu/skillsSkill6.1k5d agoMITA49Claude Code, Codex
add-analyticsLeoYeAI/openclaw-master-skillsSkill2.2k10d agoMITA32Claude Code
remotion-best-practicesguanyang/open-agent-hubSkill1.0kyesterdayMITA116Claude Code
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code