Don't check who's asking; hand each party a capability narrowed to what it may do. Forces include why the allowlist tempts (simple, every framework's default) and why it fails (the component holds everyone's authority and chooses whose to use: a confused deputy). After Tyler Close's "ACLs don't" and Norm Hardy's "The Confused Deputy". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mad skills
How I like code written, reviewed, and committed — written down so the bots I pair with can pick it up without me repeating myself.
These are Agent Skills. Each
description front-loads the words that should trigger it — the things
I actually say, like "retcon", "watch me", or "citation needed".
I keep this repo checked out at .agents/skills/ in a workspace and
symlink .claude/skills and .opencode/skills to it, so Claude
Code and
opencode see the same set.
writing code
- pola — organize all code, tests included, by the flow of authority: each part gets only what its task needs.
- no-ambient-authority — clocks,
RNGs,
fetch, and the filesystem come in as parameters. - io-between-turns — sync I/O is a pointy instrument.
- silent-failures-are-evil — every failure path leaves a trace in the logs.
- lazy-tdd — works the first time? fine. Goofed? You owe a test.
- docs-files-api — README sells and gets you to TADA; CONTRIBUTING has the rest; AGENTS.md links to it. Exported API docs over file docs. Avoid chit-chat.
commits and PRs
- disclose-gen-ai —
Generated-by:trailers, per the ASF generative tooling guidance. - retcon — regroup a PR's net diff into clean per-package commits; the merge result doesn't change.
- yarn-lock-separate-commit —
yarn.lockchanges ship alone.
writing prose
- grice-maxims — say what's needed and no more, only what you can back up, in an order easy to follow.
- hypertext-links — link text says where the link goes; no bare URLs, no "click here".
- citation-needed — back a challenged claim with live links, quoted and dated.
- hackmd-deck — a light talk as a flashback: TADA, then how, then the challenges, tagged for an emoji retro.
- ibis-design — search a design space: issues, positions, and arguments.
- wiring-diagram — who holds what, drawn
like MarkM's ERTP slides: every arrow cites the code, and Mallory
shows what a leak doesn't reach.
TODO: consider copying or adapting its companion for message order,
sequence-diagram-actor-sim (agoric-sdk
.agents/skills/on branchconnolly/ago-1299-agentic-planning-tdd). - obsidian-markdown — the workspace is an Obsidian vault: one line per paragraph, relative links, no file symlinks you expect Obsidian to show.
at the terminal
- discord-agent-workspace — set someone up like this: Claude Code in a workspace folder, messaged from Discord.
- watchme — I record the session with
script -f; read the typescript instead of asking me what happened. - run-confined — run an untrusted installer in
a throwaway systemd user unit that can't see
~/.sshand friends. - what-was-i-doing — where did this file come from? Correlate mtimes with git history across every repo.
- notify-me — desktop notification at the end of a long turn, sticky if I'm stepping away; not every reply.
adding one
Name the directory for the trigger, not the topic. Write the description for the matcher: what I'd say, what I'd be doing, and what it's not for.
Write the body for an agent in the middle of a task. It reads the skill's text, not the pages the skill links to, and it acts on rules, examples, and reasons:
- Body: the rule, an example, and a line of why; the why carries the rule to cases it doesn't spell out. Use terms of art by name ("confused deputy", "POLA"): a known name is a key into what the agent already knows. Quote a source only where its words are the rule.
- Sources: a footer with one line per source: title, link, and a clause saying what's there. It's for people, and for backing a claim when it's challenged (citation-needed).
- History, such as who said what, when, or how the rule came about, goes in the commit message.
For each line, ask: would deleting it change what an agent does? If not, it belongs in the footer or the commit message.
TODO: revise every skill with this in mind.
TODO: revise every skill for flow. Edits tend to be local: a new point gets added where it was needed, without asking how it changes the whole. Read each skill end to end, and rework it so it reads as one document.