webcake-landing-mcp: Instructions file for Claude Code

CLAUDE.md

webcake-landing-mcp CLAUDE.md is an instructions file for Claude Code from vuluu2k/webcake-landing-mcp. It costs 7,264 tokens per session, scanned A, original, MIT.

Project-specific instructions for Webcake Landing MCP, a server that helps an AI agent create, validate, save, and publish Webcake landing-page data. MCP is a standard way for an AI agent to use tools exposed by a server; this project stores page data but does not render pages itself.

In plain words
What is it for?
Use them when changing page creation or editing tools, section handling, validation, publishing, generated assets, or the server’s build and smoke tests.
Why use it?
They clarify which commands and build steps are required and explain the difference between saving source data and publishing the rendered result. This prevents changes from appearing incomplete or failing to update the preview.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

This is vuluu2k/webcake-landing-mcp's own configuration. It tells Claude Code how to work on webcake-landing-mcp 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 webcake-landing-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to vuluu2k/webcake-landing-mcp. 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/vuluu2k/webcake-landing-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/vuluu2k/webcake-landing-mcp

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 webcake-landing-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/vuluu2k/webcake-landing-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/vuluu2k/webcake-landing-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/vuluu2k/webcake-landing-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/vuluu2k/webcake-landing-mcp/claude-md/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 webcake-landing-mcp CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vuluu2k/webcake-landing-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/vuluu2k/webcake-landing-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7,264 This file is loaded in full into every session.
When invoked 7,264 The same file — it is already loaded in full.
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.07264 $0.07264
Opus 5 $0.03632 $0.03632
Sonnet 5 $0.01453 $0.01453
Haiku 4.5 $0.00726 $0.00726

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

Security

Grade A, and why

webcake-landing-mcp CLAUDE.md 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 10d 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.md · 168 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

An MCP (Model Context Protocol) stdio server that teaches an AI agent how to build a complete Webcake landing-page source JSON from a requirement, validate it, and persist it to a Webcake backend. The server is knowledge + validation + persistence — it does not render pages. The AI agent assembles the full { page, popup, settings, options, cartConfigs } object; create_page saves it and then AUTO-PUBLISHES (build host + publish_html) so the preview renders; the EDIT tools (update_page/add_section/patch_page) save source-only (re-publish via publish_page to refresh the rendered build).

Published to npm as webcake-landing-mcp; runs via node dist/index.js or npx -y webcake-landing-mcp.

Commands

npm run build      # tsc -> dist/ AND copies src/**/*.json -> dist/ (scripts/copy-assets.mjs; both steps matter)
npm run smoke      # offline self-test of factory + validator; MUST print "ALL GOOD". Run after every change.
npm run dev        # tsc --watch
npm start          # node dist/index.js (start the stdio server)
node dist/index.js serve --port 8787   # remote Streamable-HTTP server (Claude custom connector); or PORT env
npm run release    # interactive local publish (scripts/release.js): build+smoke gate, npm version, OTP publish, gh release
npm run release:dry   # dry-run the release flow without publishing

There is no unit-test runner or linter — npm run smoke is the test gate. It exercises the pure logic (factory skeletons, validator, and every LIBRARY example) without an MCP transport. prepublishOnly runs build && smoke, so a broken smoke test blocks publishing.

Build rules (must follow when editing src/)

  1. Each element is ONE descriptor. An element's docs + container/field flags + defaultName + factory seed + example all live in a single object in src/domains/landing/elements/<category>.ts. CONTAINER_TYPES/FIELD_TYPES/the catalog/createElement all DERIVE from these — adding or editing a type is a one-file change. Only src/domains/landing/page-schema.json's elementType enum must be updated alongside; smoke re-checks it against the descriptor keys, so schema drift fails the gate.
  2. Gate every change: npm run build && npm run smoke — must end with ALL GOOD. Editing the schema requires a rebuild (dist/domains/landing/page-schema.json is runtime data copied by the build).
  3. New tools go in a src/tools/*.ts group via server.tool(...), return through the text() helper (src/mcp/response.ts), and register the name in src/domains/landing/instructions.ts + docs/tools.md(+.vi) + the README at-a-glance table + the webcake-landing skill. New HTTP goes in src/persistence/webcake-client.ts.
  4. Mutating tools default to dry_run=true and return a JWT-redacted request preview; only the network when dry_run===false.
  5. stdout is the MCP channel — log with console.error only. ESM/Node16 — relative imports end in .js. Secrets come from WEBCAKE_JWT env only; the repo is public.

Read the full file on GitHub · 168 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. 10d ago First seen · 168 lines · 7,264 tokens per session scan A 509c2974e745

Subscribe to this mod's changes

webcake-landing-mcp CLAUDE.md is an instructions file published in the GitHub repository vuluu2k/webcake-landing-mcp (5 stars, last pushed 15d ago), licensed MIT. It adds 7,264 tokens to every session, about $0.0363 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens