wake-template

A reference guide to the folder structure and configuration files of a Wake Commerce storefront template, including pages, components, queries, emails, and assets.

In plain words
What is it for?
Use it to scaffold a template, register components, connect pages to data queries, pair dynamic snippets with queries, configure emails, and reference website assets.
Why use it?
It removes guesswork when creating or changing a Wake storefront by explaining where each part belongs and how the files connect.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/wake-engineering/ai-plugin/wake-template
Any agent
npx skills add wake-engineering/ai-plugin --skill wake-template
Clone the repo
git clone --depth 1 https://github.com/wake-engineering/ai-plugin

Made for: Claude Code, Codex.

Per session 362 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00362 $0.02386
Opus 5 $0.00181 $0.01193
Sonnet 5 $0.00072 $0.00477
Haiku 4.5 $0.00036 $0.00239

Measured 2d ago against content hash ae7c719d1121, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

wake-template 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 2d 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/wake-template/SKILL.md · 108 lines

How it starts

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

Wake Template

Anatomy of a Wake Commerce storefront template. Use this skill whenever a prompt is about how a Wake template is shaped — its folders, its config files, how Pages find Queries, how Snippets are paired with SnippetQueries, how Components are registered, how Emails are wired to event types, and how Assets are referenced.

When to use this Skill

  • Scaffolding a new Wake template project (minimum viable folder tree).
  • Registering a Component in Configs/components.json and understanding its entry shape.
  • Adding a Page and wiring it to a Query via Configs/pages.json.
  • Pairing a Snippet in Snippets/ with a SnippetQuery in Queries/SnippetQueries/ for dynamic rendering via the Storefront SDK.
  • Reading or editing Configs/settings.json and knowing which keys Wake expects (access_token) vs arbitrary developer keys surfaced via {{ settings.key }}.
  • Adding a transactional email under Emails/ and mapping it to a Wake event in Configs/emails.json.
  • Exposing a new CSS / JS / image asset under Assets/ and invoking it with the asset helper.
  • Adding a hotsite variant via pages.json.customs[] + content_for_page.
  • Authoring a Design Studio CMS Block — paired Blocks/<type>.html + Blocks/<type>.schema.json, authorized through pages.json content_for_page[], rendered by wake_content_for_page.
  • Deciding whether new content should be a Block (merchant-editable through the CMS) or a Component (developer-only).
  • Explaining the data flow: Queries → Pages (or Snippets) → injected data.* → Components → Blocks (block_data.*).

Do not use this skill for Scriban syntax inside .html files (use wake-scriban). For GraphQL query shape, schema discovery, or headless consumers of the Storefront API, refer to the Wake docs portal — that surface is outside this skill's scope.

Instructions

1. Root folders — one purpose each

A Wake template is a flat tree of nine top-level folders plus the four JSON files in Configs/. Keep the purpose of each folder in mind before deciding where a new file belongs.

Read the full file on GitHub · 108 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. 2d ago First seen · 108 lines · 362 tokens per session scan A ae7c719d1121

Subscribe to this mod's changes

wake-template is a skill published in the GitHub repository wake-engineering/ai-plugin (2 stars, last pushed 3mo ago), licensed MIT. It adds 362 tokens to every session and 2,386 once invoked, about $0.0018 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 skills, from other repositories

cloudflare-registrar

Cloudflare Registrar: domain availability, prices, registration via mcporter.

steipete/agent-scripts · 20 tokens

etsy-category-listing

Etsy category page scraper: given an Etsy category URL (e.g. https://www.etsy.com/c/jewelry) and optional page number, returns paginated product listings with listingId, shopId, title, url, image, salePrice, originalPrice, currency, rating, reviewCount, shopName, isAd, freeShipping, badge from category and subcategory…

browser-act/skills · 209 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

shopify-functions

Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…

Shopify/Shopify-AI-Toolkit · 61 tokens

shopify-customer

The Customer Account API allows customers to access their own data including orders, payment methods, and addresses.

Shopify/Shopify-AI-Toolkit · 25 tokens