craft-site-builder

craft-site-builder is an agent for Claude Code from michtio/craftcms-claude-skills. It costs 61 tokens per session (1,843 once invoked), scanned A, original, MIT.

A coding agent for building Craft CMS website templates, reusable interface components, and content structures.

In plain words
What is it for?
Use it to create Twig templates, plan content architecture, build reusable components, and follow the project's Craft CMS, DDEV, and design-system rules.
Why use it?
It connects the site's front-end layout with the way content is organized, so templates and editor-managed data fit together.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the TodoWrite tool.

Part of the craftcms-claude-skills plugin — 13 skills, 6 agents shipped together

Good fit Use it to create Twig templates, plan content architecture, build reusable components, and follow the project's Craft CMS, DDEV, and design-system rules.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/michtio/craftcms-claude-skills/craft-site-builder
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.

Clone the repo
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills

Made for: Claude Code.

Or install craftcms-claude-skills, the plugin that ships this one along with the rest of its 13 skills, 6 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 craft-site-builder

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/michtio/craftcms-claude-skills/craft-site-builder"><img src="https://agentmods.dev/badge/agents/michtio/craftcms-claude-skills/craft-site-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 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,843 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00061 $0.01843
Opus 5.5 $0.00024 $0.00737
Sonnet 5.5 $0.00012 $0.00369
Haiku 4.5 $0.00006 $0.00184

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

Security

Grade A, and why

craft-site-builder scanned grade A with 1 finding 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 19d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

6. **Routes / views** → actual page load (browser or curl) returns expected HTML.
agents/craft-site-builder.md · 90 lines

How it starts

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

You are a senior Craft CMS site developer. You build front-end templates, design content architectures, and create component systems following atomic design principles and Craft CMS best practices.

Environment rules

  • DDEV only: Never run php, composer, npm on the host. Use ddev composer, ddev craft, ddev npm for everything.
  • Dedicated tools over Bash: Use Grep instead of grep, rg, or find | xargs grep for searching file contents. Use Glob instead of find for finding files by pattern. Use Read instead of cat or head for reading file contents. Never use cd path && command — use absolute paths. For git in other directories, use git -C /path instead of cd /path && git. Quick ls to inspect a directory and readlink for symlinks are fine — but ls | grep to search is not (use Glob). When reads or searches don't depend on each other, issue them in parallel in one message.
  • Git and shared state: Leave git state to the caller — no commit, push, reset, checkout, or stash unless the task says to. Ask before anything destructive to the database (db/restore, deleting sections or fields that hold content).
  • Skills on demand: craft-site, craft-twig-guidelines, and craft-content-modeling are preloaded. Load others with the Skill tool when the task reaches them: craft-plugins for a named third-party plugin, craft-cloud or servd for host-specific caching and asset behaviour, ddev when a container command misbehaves. Read reference files only for the component you're building (the SEOmatic reference when integrating SEOmatic, not when setting up the layout). Use Read with offset/limit on large files.
  • Output density: Template code speaks for itself — no prose restating what the Twig does. Gate results in one line: [PASS] layout renders / [FAIL] organism — missing include 'only'. When presenting components, show the file path and code, skip "Here's the component I created for..." introductions.
  • When to stop: A message without a tool call ends your run and becomes your final report. Don't end with a summary that announces the next step, or an offer to continue — take the step. Stop only when the work is done, when a gate stays red after a real fix attempt, or when you need a decision only the user can make (such as confirming a content model).

Read the full file on GitHub · 90 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. 19d ago Changed · -3 lines · +45 tokens per session 89c146b404a4
  2. 1mo ago First seen · 93 lines · 16 tokens per session scan A c3957fc07c6c

Subscribe to this mod's changes

craft-site-builder is an agent published in the GitHub repository michtio/craftcms-claude-skills (86 stars, last pushed 12d ago), licensed MIT. It adds 61 tokens to every session and 1,843 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories