agentleFS
dustinkeetondustinkeeton/wafflestack/.claude/skills/waffle-toggle/SKILL.md

waffle-toggle

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Toggle whether an agent may invoke a rendered wafflestack skill on its own judgment (Claude Code's `disable-model-invocation`), per skill and per project. Use when a skill such as /audit or /delegate should fire only as an explicit slash command, or to hand one back to the agent; the choice is persisted in .waffle/waffle.yaml and re-rendered. Pass --disable/--enable — the picker needs a TTY.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not edit the rendered SKILL.md by hand to get the same effect: doctor flags it as drift and the next render overwrites it.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Toggle agent invocation per skill

Wraps wafflestack toggle. Every rendered skill is a slash command; whether an agent may also fire it unprompted is Claude Code's disable-model-invocation frontmatter key. The toolkit renders each SKILL.md byte-for-byte from the stack source, so that key is the stack author's call — until a project overrides it here. The override is a project-level config block:

skills:
  modelInvocation:
    disabled: [audit, delegate]   # rendered with `disable-model-invocation: true`
    enabled: [some-skill]         # rendered WITHOUT the key even though the source sets it

It flows through config → render → lock like every other input, so doctor stays clean and the override is part of the canonical render. Only the claude target has the key: under codex and agents-dir the cross-tool .agents/skills/ copy renders the source unchanged, and the CLI says so.

See the current state

npx --yes github:dustinkeeton/wafflestack toggle

Without a TTY (which is how you, the agent, run it) this prints a table — one row per rendered skill, agent-invocable or slash-only, with (source) or (override) saying who decided — and never opens a prompt. Read it before changing anything: the user may be asking about a skill that is already in the state they want. In a human's terminal the same command opens a checkbox picker (checked = an agent may fire it; enter applies, esc leaves the config untouched).

Apply the change

Pass the skills from $ARGUMENTS as flags — repeatable, and either flag skips the picker:

npx --yes github:dustinkeeton/wafflestack toggle --disable audit --disable delegate
npx --yes github:dustinkeeton/wafflestack toggle --enable audit

The CLI writes the block to the committed .waffle/waffle.yaml (never the local overlay — this is shared project policy), keeps it minimal (a skill lands in a list only where it differs from its source), then re-renders so the rendered SKILL.md and the lock move together. Then:

  • rendered N files — done. The rendered skill's frontmatter now carries (or no longer carries) disable-model-invocation: true; the skill is still on the cheat sheet, still user-invocable. If this repo commits its render, commit .waffle/waffle.yaml, the lock, and the rendered skill together.
  • no change — every named skill was already in that state; nothing was written.
  • is not a rendered skill — the name is not in this repo's render. The rendered names are listed; externally installed skills (a harness plugin living outside the repo, say) are out of scope — the toolkit never tracks them.
  • does not render — the selection in .waffle/waffle.yaml already fails (an unresolvable ref, say); the problems are listed. Fix those first, then retry. Nothing was written.
  • A refusal naming a pinned command — the toolkit that ran is not a release; run the exact pinned command it prints. Nothing was written.

Do not edit the rendered SKILL.md by hand to get the same effect: doctor flags it as drift and the next render overwrites it. The config block is the supported knob; /waffle-render re-applies it on every render.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.