webcake-landing-mcp: Instructions file for Codex

AGENTS.md

webcake-landing-mcp AGENTS.md is an instructions file for Codex, OpenCode from vuluu2k/webcake-landing-mcp. It costs 1,161 tokens per session, scanned A, original, MIT.

Instructions for an MCP server that generates landing pages. They require gathering page details, avoiding invented facts, validating pages, previewing changes, and preserving unrelated existing content.

In plain words
What is it for?
Creating or editing landing pages, including collecting requirements, checking page data, previewing updates, and applying targeted changes.
Why use it?
They reduce made-up content and accidental changes to pages. Validation and dry runs help catch problems before changes are saved.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

This is vuluu2k/webcake-landing-mcp's own configuration. It tells Codex and OpenCode 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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/vuluu2k/webcake-landing-mcp

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/vuluu2k/webcake-landing-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/vuluu2k/webcake-landing-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,161 This file is loaded in full into every session.
When invoked 1,161 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.01161 $0.01161
Opus 5 $0.00580 $0.00580
Sonnet 5 $0.00232 $0.00232
Haiku 4.5 $0.00116 $0.00116

Measured 8d ago against content hash 93fbb455d215, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

webcake-landing-mcp AGENTS.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 8d 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.

AGENTS.md · 62 lines

How it starts

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

AGENTS.md — webcake-landing-mcp

Rules for AI agents using this MCP and working on this repo.

Runtime rules (when an LLM uses the webcake-landing tools)

These are also served to the client via the server instructions (see src/domains/landing/instructions.ts) and the get_generation_guide tool. In short:

  1. Intake first. Before generating a new page, ask the user 3–6 concrete questions (goal/page type, brand + tone + language, sections in order, primary CTA + destination, form fields, colors/logo URLs, desktop+mobile or mobile-only, which organization) and confirm a short outline. Don't assume.
  2. No invented facts. Never make up prices, phone numbers, addresses, or statistics — ask or leave a placeholder.
  3. Validate before persisting. Always validate_page and fix every error before create_page / update_page.
  4. Dry-run first. create_page and update_page default to dry_run=true. Show the dry-run; only send dry_run=false after the user confirms.
  5. Edit surgically. For an existing page: get_page → change ONLY what was asked → keep every other element, its id, and coordinates → validate_pageupdate_page. Never regenerate the whole tree for a small change.
  6. Organizations. Call list_organizations, ask which to use, default to the is_default org. Endpoints are owner-scoped (only the account's own pages).
  7. Model invariants. Popups are a top-level popup array (not inside page); content lives in specials (not styles); colors are rgba(); top/left/width/height/fontSize are numbers (px); form inputs need a unique specials.field_name.

See .claude/skills/webcake-landing/SKILL.md for the full workflow and docs/page-element-schema.md for the element model.

Repo / dev rules (when editing this codebase)

  • TypeScript, ESM, Node 18+. Source in src/, build to dist/ via npm run build (tsc + scripts/copy-assets.mjs, which mirrors every src/**/*.json into dist/).
  • After any change: npm run build then npm run smoke (must print ALL GOOD) before committing.
  • Each element is ONE descriptor in src/domains/landing/elements/<category>.ts (docs + container/ field flags + defaultName + factory seed + example); CONTAINER_TYPES/FIELD_TYPES/the catalog/ createElement derive from it. When the model changes, update the descriptor AND the elementType enum in src/domains/landing/page-schema.json (+ validate.ts only for a new semantic rule), then rebuild + smoke.
  • New tools go in a src/tools/*.ts group; backend HTTP calls in src/persistence/webcake-client.ts; element knowledge + default node shapes in src/domains/landing/elements/; validation in src/domains/landing/validate.ts; domain-agnostic primitives in src/core/.
  • Two transports share createServer() (src/server.ts): stdio (default) and a remote Streamable-HTTP server (node dist/index.js serve [--port N] [--env local|staging|prod], src/http.ts). In HTTP mode credentials are per-request via headers (x-webcake-jwt / Authorization: Bearer, x-webcake-env, x-webcake-org-id, …; see src/persistence/config.ts#configFromHeaders), falling back to env — so a hosted server is multi-user.
  • node dist/index.js login (src/auth/login.ts) grabs the JWT via the browser (a localhost loopback receives a redirect from the Webcake /mcp-connect endpoint that reads the jwt cookie) and saves it to ~/.webcake-landing-mcp/auth.json. readConfig precedence: per-request overrides → env → that file. WEBCAKE_ENV / --env (local|staging|prod, the ENVIRONMENTS table in config.ts) supplies the default API + app base URLs; explicit WEBCAKE_API_BASE / WEBCAKE_APP_BASE still win.
  • Never commit secrets. The JWT is read from the WEBCAKE_JWT env var only — never hard-code a token, account, or page data in the repo. Scan before pushing (the repo is public).
  • The backend endpoints this MCP calls live in landing_page_backend (LandingPageWeb.V1.AiController, scope /api/v1/ai).

Read the full file on GitHub · 62 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. 8d ago First seen · 62 lines · 1,161 tokens per session scan A 93fbb455d215

Subscribe to this mod's changes

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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens