Skip to content

About

πŸ§‡ One batter, every repo β€” reusable AI agent & skill definitions rendered into harness-native files (.claude/, .codex/, .agents/)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

WaffleStack

WaffleStack β€” a stack of golden waffles with an animated syrup pour

Reusable AI agent and skill definitions, distributed shadcn-style but update-safe.

Sponsor on GitHub Support on Buy Me a Coffee


One canonical source repo, rendered into harness-native files inside each consuming project β€” the same batter, baked fresh wherever you need it. Every supported harness gets both agents and skills: Claude Code, OpenAI Codex, and the cross-tool .agents/ directory.

Where it fits: wafflestack is the update-safe distribution layer for agent process and skills content β€” consumer-owned files under a lock manifest, drift detection via doctor, and explicit, diffable upgrades with versioned migrations. It carries content across repos and harnesses and keeps it current; it doesn't produce that content (that's a process pack like gstack) or run it (that's an always-on agent runtime).

For ignored generated skills in worktrees or fresh clones, follow the pre-session preparation guide. It covers T3, Codex desktop, plain Git, pinned toolkit versions, and private-overlay policy.

Vocabulary

  • waffle β€” an individual installable item: an agent, a skill, or a mod (a Claude Code plugin from the toolkit's marketplace, enabled in .claude/settings.json for the claude target only).
  • stack β€” a named group of waffles.
  • syrup β€” the generic files/ payload a stack can also carry (CI workflows, scripts, config), rendered verbatim to any repo-relative path with the same {{key}} substitution, lock tracking, and drift detection.

Quick start

Guided (recommended)

Let your coding agent drive the whole setup. Kick it off either way:

Agent prompt β€” paste to your coding agent:

Set up wafflestack in this repo: run `npx github:dustinkeeton/wafflestack setup` and
follow the playbook it prints. Ask me which stacks to enable before you render.

Inline shell (Claude Code / Codex) β€” type in the prompt (the ! prefix runs the command in-session and feeds its output back to the model; --yes keeps npx non-interactive):

! npx --yes github:dustinkeeton/wafflestack setup

setup prints an agent playbook plus a generated inventory of every stack, config key, and prerequisite. The agent then detects targets, asks which stacks to enable, fills .waffle/waffle.yaml, renders, runs doctor, and reports what it did.

The labels wafflestack's workflows and skills gate on are listed once β€” table plus a copy-paste gh label create bootstrap β€” in schema/SETUP.md Β§ Required labels.

Manual

cd your-project
npx github:dustinkeeton/wafflestack setup             # writes a starter .waffle/waffle.yaml if missing + prints the playbook
# edit .waffle/waffle.yaml: pick stacks, fill in config values
npx github:dustinkeeton/wafflestack#vX.Y.Z render     # X.Y.Z = latest release tag; renders harness files + lock

release resolution.

Commands

Command What it does
setup (alias init) Write a starter .waffle/waffle.yaml if none exists (never overwrites one), then print the agent-driven install playbook + generated toolkit inventory. --gitignore also appends overlay/local-lock ignores.
list Show every waffle and syrup file per stack with its status; --interactive for a TTY multi-select, --check-prereqs to probe the prerequisites a row would add.
toggle Pick which rendered skills an agent may invoke on its own (disable-model-invocation, per project): TTY picker, or --disable/--enable <skill>; writes .waffle/waffle.yaml and re-renders.
render (alias bake) Regenerate every managed file from source + config, prune stale ones, write the lock.
install [ref…] Add stacks/items to .waffle/waffle.yaml, pull dependencies, then render. Bare = render.
upgrade Move an install across toolkit versions: print CHANGELOG, run migrations, re-render, doctor.
doctor Diff managed files against the lock; report edits, missing files, env gaps. Exit 1 on drift.
report Print redacted diagnostics (lock, config keys, doctor summary) for an upstream toolkit bug report; --json for machines.
config [key-prefix] Look up the config keys this selection can set β€” value, source file (default / waffle.yaml / waffle.local.yaml), default and constraints; an exact key prints the full default and description. Read-only.
state Print the resolved state β€” every behavioral key with its value, layer and tokens, the delegate run files, lock status and drift; --json for the documented document; --board adds open milestones, epics and In Progress / In Review items via gh.
eject <item> Stop managing an item β€” its files stay and become project-owned; drops it from include:. install <item> un-ejects it.
uninstall Remove the whole install (reports until you pass --yes; keeps hand-edited files).
reinstall Re-render the same selection from clean; --clean --yes for a full reset.
avatars <sync|status> Keep Gravatar in sync with the installed agent roster.
validate Toolkit-developer lint: manifests, frontmatter, placeholders, and agent refs.
help Print usage and a one-line description of every command and flag.

Run npx github:dustinkeeton/wafflestack help for the full flag detail on any command.

Some guidance

  1. Never edit rendered files β€” render overwrites them. Put additions in .waffle/extensions/{agents,skills}/<name>.md and parameters in .waffle/waffle.yaml.
  2. Account-specific values (bot identities, board IDs) go in .waffle/waffle.local.yaml β€” gitignored, merged over the committed config, and never propagated: the lock hashes the canonical render, so every teammate's lock is byte-identical.
  3. Updates are re-renders β€” until they aren't. Patch/minor tags are a plain render; a breaking tag needs upgrade. See Updating.
  4. doctor is the CI drift gate β€” run it on PRs to fail the build on any hand-edited managed file. Add --allow-missing when some renders are gitignored, --verify-render to also catch config changes that were never re-rendered.

Deciding what to commit? Committing vs. gitignoring the rendered output walks the trade-off.

Hit a toolkit bug? Report it upstream, not in your own tracker: /waffle-report <what went wrong> (from the wafflestack stack) collects wafflestack report's redacted diagnostics β€” config keys only, no overlay, no absolute paths β€” shows you the exact payload, and files it against the toolkit's issue forms on your yes. No gh auth? It prints the body and a prefilled new-issue URL instead.

Want the state at a glance? The wafflestack stack also ships the toolkit's first Claude Code mod, waffle-view. Render enables it in your .claude/settings.json (the wafflestack marketplace, pinned to your waffle.toolkitRef release, plus enabledPlugins["waffle-view@wafflestack"], beside your own keys); Claude Code offers the install the next time you trust the repo, or run /plugin install waffle-view@wafflestack (outside a rendered repo: claude plugin marketplace add dustinkeeton/wafflestack first). The marketplace entry turns on auto-update, and if your install still falls behind, wafflestack doctor prints the claude plugin update command that catches it up. Then type /waffle-view to toggle a pane showing every behavioral key's effective value and source layer, the delegate run files, lock status, and doctor drift β€” all read through wafflestack state --json, refreshed as you work. The pane narrows to the last /skill you typed (a Skill-tool call the model makes does not move it; a /name that is not a toolkit skill reads as the full view), and the values it shows include your gitignored waffle.local.yaml overlay. An Open in Cursor button at the bottom opens the repo in your editor; set config: { waffleView: { editor: code } } (or zed, idea, subl, or an argv array like [code, --new-window]) to pick another, and a launcher that is missing shows an inline error.

Updating

WaffleStack ships as git tags (vX.Y.Z), versioned from a consumer's point of view:

Bump Example Means for you How to take it
patch 0.5.0 β†’ 0.5.1 content-only fixes … render
minor 0.5.0 β†’ 0.6.0 new stacks/items, additive config … render
major renamed/removed item, new required key, changed layout needs a migration … upgrade

The … is always a pinned spec (npx github:dustinkeeton/wafflestack#vX.Y.Z) β€” unpinned commands refuse. Full detail β€” the upgrade command, migrations, pin-moving, and release resolution β€” lives in Upgrades and release resolution.

Learn more

License

Β© 2026 Dustin Keeton. Licensed under the Apache License, Version 2.0.


Claude token spend (automated runs)


A WaffleWorks project

About

πŸ§‡ One batter, every repo β€” reusable AI agent & skill definitions rendered into harness-native files (.claude/, .codex/, .agents/)

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages