site-assembler

site-assembler is an agent for Claude Code from cogni-work/insight-wave. It costs 21 tokens per session (1,861 once invoked), scanned A, original, Apache-2.0.

A site assembly agent that creates the shared CSS, navigation pieces, and sitemap for a website project.

In plain words
What is it for?
It reads the design variables and website plan, writes the stylesheet, generates navigation partials, and creates sitemap.xml.
Why use it?
It gives separately generated pages consistent styling, common navigation, and a list of site URLs for search engines.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the cogni-website plugin — 6 skills, 3 agents shipped together

Good fit It reads the design variables and website plan, writes the stylesheet, generates navigation partials, and creates sitemap.xml.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add cogni-work/insight-wave
Claude Code
/plugin install cogni-website

Made for: Claude Code.

Or install cogni-website, the plugin that ships this one along with the rest of its 6 skills, 3 agents.

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-assembler

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/cogni-work/insight-wave/site-assembler"><img src="https://agentmods.dev/badge/agents/cogni-work/insight-wave/site-assembler.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,861 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.00021 $0.01861
Opus 5.5 $0.00008 $0.00744
Sonnet 5.5 $0.00004 $0.00372
Haiku 4.5 $0.00002 $0.00186

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

Security

Grade A, and why

site-assembler 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.

cogni-website/agents/site-assembler.md · 174 lines

How it starts

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

You are the site assembly agent for the cogni-website plugin. Your job is to generate the shared infrastructure that ties all pages together: CSS stylesheet, navigation partials, and sitemap.

Input Contract

Your task prompt includes:

  • project_dir (required): absolute path to the website project directory
  • plugin_root (required): absolute path to $CLAUDE_PLUGIN_ROOT
  • website_plan (required): the full website-plan.json content
  • theme_path (required): absolute path to the theme.md file
  • design_variables_path (required): path to design-variables.json

Workflow

1. Read Design Variables

Read design_variables.json to get all color, font, shadow, and radius tokens. This file follows the cogni-publishing/references/design-variables-pattern.md convention.

2. Generate CSS Stylesheet

Write output/website/css/style.css with:

CSS Custom Properties (from design variables)
:root {
  /* Theme colors — pass through all tokens from design-variables.json.
     For each key in the colors object, emit: --{key}: {value};
     Replace underscores with hyphens in key names. */
  --brand-primary: {colors.primary};    /* theme's structural color (e.g. near-black) */
  --secondary: {colors.secondary};
  --accent: {colors.accent};
  --accent-muted: {colors.accent_muted};
  --accent-dark: {colors.accent_dark};
  --background: {colors.background};
  --surface: {colors.surface};
  --surface-dark: {colors.surface_dark};
  --text: {colors.text};
  --text-muted: {colors.text_muted};
  --text-light: {colors.text_light};
  --border: {colors.border};
  /* ... plus any additional color tokens present in design-variables.json */

  /* Website aliases — semantic names used by CSS component classes */
  --primary: {colors.accent};          /* action color for buttons, links, CTAs */
  --primary-dark: {colors.accent_dark}; /* hover/active state */
  --background-alt: {colors.surface};   /* alternate section background */
  --surface-dark-text: #ffffff;
  --surface-dark-muted: {colors.text_light};

  /* Typography */
  --font-primary: {fonts.headers};
  --font-body: {fonts.body};
  --font-mono: {fonts.mono};

  /* Spacing & Radius */
  --radius: {radius}px;
  --shadow-sm: {shadows.sm};
  --shadow-md: {shadows.md};
  --shadow-lg: {shadows.lg};
}

Read the full file on GitHub · 174 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. 1mo ago Changed 52e3a65b0ee1
  2. 1mo ago First seen · 174 lines · 21 tokens per session scan A 1eb9e6f53bd1

Subscribe to this mod's changes

site-assembler is an agent published in the GitHub repository cogni-work/insight-wave (13 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,861 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-09-04.

Related

Other agents, from other repositories

vibe-change-worker

The one persistent implementation writer for a vibe session. Keeps the same context, worktree and branch while planning, implementing all frontend/backend/prototype/component work, fixing reviewed issues, repairing existing tests its change broke and listing the missing tests for engineering at handoff; it writes…

closedloop-ai/claude-plugins · 102 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

ui-color-reviewer

Color-system review — OKLCH usage, tinted neutrals, contrast, palette construction, theme selection (dark/light), status colors, accessibility. Called by ui-reviewer when color changes need deep attention, or directly when the user asks specifically about palette / theme / contrast / accessibility. Dispatch when: a…

RaNDoM6913/claude-code-superkit · 154 tokens

html-build

Build agent — generates lecturevN.html from slidedeck.md and designspec.md, integrates images. Use when: designspec.md is locked (Gate 3 approved) and HTML slide file needs to be produced.

5throck/ai-workspace-standards · 47 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens

ui-ux-designer

Use this agent when the user needs UI/UX execution support including interface implementation, design-system polish, responsive layouts, animations, accessibility review, or design documentation. Examples:\n\n \nContext: User wants to implement a new landing page from an approved direction\nuser: "I need a modern…

opencue/cuecards · 427 tokens