mac-runtime
Skill8 starsChanged 3 months agoMITView on GitHub
Run a multi-step task on the Mac as a formal plan that is type-checked, executed, verified, and logged - instead of improvising bash step by step. Use for any task with more than two or three steps, anything that ends in an irreversible action (send, pay, post, submit), or anything the user will want to debug afterward. This is Chewbacca's agent runtime.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hud/CLAUDE.mdCLAUDE.md
- agent-setupSkill
- asaSkill
- audio-briefSkill
- call-coachSkill
- clone-siteSkill
- courseworkSkill
- creative-videoSkill
- debuggingSkill
- deep-researchSkill
- demoSkill
- graph-engineeringSkill
- gtm-engineeringSkill
- hudSkill
- interfaceSkill
- jev-browseSkill
- kit-builderSkill
- life-contextSkill
- life-opsSkill
- list-auditSkill
- mac-actSkill
- mac-appsSkill
- mac-briefSkill
- mac-controlSkill
- mac-debugSkill
- mac-followupsSkill
- mac-permissionsSkill
- mac-seeSkill
- peopleSkill
- prospect-briefSkill
- repo-healthSkill
- reviewing-changesSkill
- second-brainSkill
- setupSkill
- shippingSkill
- site-specSkill
- skill-forgeSkill
- skill-trainingSkill
- stack-rulesSkill
- study-guideSkill
- study-systemSkill
- textsSkill
- what-can-this-doSkill
- your-dataSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
stream: - when it runs: now, every, on_text, on_file, on_calendar
- Very specific: line 28
Every parameter is typed. Every irreversible action carries confirm: true in its signature, so the gate is part of the type and cannot be …
- Very specific: line 61
Every step is logged with its status and duration to ~/.chewie/runs/<ts>.jsonl.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
The Chewbacca runtime: plan, execute, verify, log
For anything longer than a couple of steps, do not freehand a sequence of commands. Compile the request into one formal plan, check it, run it, and read the trace.
The reason is arithmetic, not style. Twenty improvised steps at 95% reliability each
is a 36% success rate (see docs/BENCHMARKS.md). A checked plan that stops at the
first failure and gates every irreversible action does not compound errors that way.
This is the Genie / executable-semantic-parser idea (Campagna, Xu, Lam; Liang):
compile intent into a typed, checkable representation that runs or errors cleanly,
rather than letting the model improvise.
The grammar
data/grammar.json defines the command space: stream => query* => action*.
- stream - when it runs:
now,every,on_text,on_file,on_calendar - query - reads, no side effects:
texts,screen,web,app_data,file - action - side effects:
click,type,web_click,web_fill,remind,calendar,send_text,send_email,run_shell
Every parameter is typed. Every irreversible action carries confirm: true in its
signature, so the gate is part of the type and cannot be forgotten.
Write a plan
{
"stream": { "name": "now" },
"query": [{ "name": "texts", "days": 2, "unanswered": true, "direct": true }],
"action": [{ "name": "remind", "title": "Reply to Chen about Saturday" }]
}Run it
chewie plan check plan.json # type-check only, runs nothing
chewie plan run plan.json # execute; confirm-gated actions refuse without --yes
chewie plan run plan.json --yescheck catches a missing or mistyped parameter before anything touches the machine.
run executes queries then actions in order, stops at the first failure, and writes
a trace.
Read what happened
chewie log # the last run, step by step, with timing
chewie log --runs # recent runs
chewie log --json # the raw traceEvery step is logged with its status and duration to ~/.chewie/runs/<ts>.jsonl. When
a task half-worked, this is how you find the step that failed instead of guessing.
When NOT to use a plan
A single read (chewie see, chewie texts, chewie brief) or a single obvious action does
not need the ceremony. The plan runtime earns its keep on multi-step tasks, on anything
irreversible, and on anything the user will want to audit afterward.
The end-to-end pattern
The headline example - research leads, draft outreach, stage, confirm - is one plan:
now
=> web (query LinkedIn / a directory for companies under 50 employees)
=> web (extract contact emails)
=> send_text (text the user the list) [confirm]
=> send_email (staged drafts, one per lead) [confirm]The two outbound steps are confirm: true, so Chewbacca compiles and stages the whole
thing, then stops and shows the user exactly what it will send before a single email
leaves. That gate is in the grammar, not bolted on, which is why it holds even under
"just send them, I trust you."
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
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.

