quote0-burnout-deploy
Skill9 starsChanged 3 months agoMITView on GitHub
Ship latest main to the Quote/0 device via launchd.
- Reads credentials
In this repository3 other files it gives its agents.
- llms-full.txtllms.txt
- llms.txtllms.txt
- quote0-burnout-developSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
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
- Distinctive: line 37
No secrets or account IDs live in this repo — set only machine-local paths.
- Very specific: line 56
Verify isolation: git -C "$DEPLOY_DIR" rev-parse --show-toplevel must return its own path, not the dev checkout.
≈ “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.
Files
Quote/0 Burnout Dashboard — Deployment
Ship the current main to a real Quote/0 device through a launchd job. This
skill is for releasing, not for editing code (that's quote0-burnout-develop).
Deployment runs display.py every 5 minutes from a separate deploy worktree
pinned to a release commit. Dev edits live in the main checkout; the device never
runs the dev checkout, so half-finished work can't hit the screen. Concrete paths
differ per machine — set the variables below for yours, then follow the procedure.
Per-machine variables (configure once, adjust to your environment)
The commands below use these placeholders. Replace them with your own values (or export them in your shell):
| Variable | Meaning | Example |
$DEPLOY_DIR | Deploy worktree path (a checkout separate from your dev tree) | $HOME/Projects/quote0-burnout-deploy |
$DEV_DIR | Your dev checkout (source of .env / .venv symlinks) | $HOME/Projects/quote0-burnout |
$LABEL | launchd job label | com.example.quote0-burnout |
$PLIST | launchd plist path | $HOME/Library/LaunchAgents/$LABEL.plist |
$AGY_CLI | Path to the agy CLI (if not on PATH) | $HOME/.local/bin/agy |
No secrets or account IDs live in this repo — set only machine-local paths.
Prerequisites
git,ghon PATH- A
.envwith your Quote/0 key, device id, and provider keys — symlinked, not copied - A
.venvwithrequests+Pillow— symlinked agyCLI on PATH (or$AGY_CLI) for the AGY provider- The launchd job registered (
$PLIST, label$LABEL)
Deploy worktree (one-time setup)
# Detached worktree so `main` can also be checked out elsewhere without conflict
git worktree add --detach "$DEPLOY_DIR" main
ln -sfn "$DEV_DIR/.env" "$DEPLOY_DIR/.env"
ln -sfn "$DEV_DIR/.venv" "$DEPLOY_DIR/.venv"Verify isolation: git -C "$DEPLOY_DIR" rev-parse --show-toplevel must return its
own path, not the dev checkout.
Release procedure
- Fetch + pin the deploy worktree to latest main (it's detached and does NOT
auto-advance):
git -C "$DEPLOY_DIR" fetch origin main git -C "$DEPLOY_DIR" checkout --detach origin/main - Force a run now (don't wait for the 5-min calendar tick):
launchctl kickstart gui/$(id -u)/"$LABEL" - Verify — read the job's log for a successful push:
A successful push returnstail "$LOG" # $LOG = the log path in your plist, e.g. /tmp/quote0-burnout.log"设备 <device> 图片 API 内容已切换。"(your device id). Also confirm the snapshot is healthy from the deploy dir:
Healthy when a configured live provider reportscd "$DEPLOY_DIR" && set -a && source .env && set +a .venv/bin/python display.py --debug-jsonok=True(e.g.agy ok=True, short=5h, ... [ok]). Note: you mustsource .env— without it DeepSeek and OpenCode reportno key.
launchd lifecycle (macOS)
# Register (modern bootstrap) — ERRORS "5: Input/output error" if the job is DISABLED:
launchctl enable gui/$(id -u)/"$LABEL" # must be enabled first
launchctl bootstrap gui/$(id -u) "$PLIST"
# Force run now (after any release):
launchctl kickstart gui/$(id -u)/"$LABEL"
# Remove:
launchctl bootout gui/$(id -u)/"$LABEL"- The plist uses
StartCalendarInterval(every 5 min), NOTStartInterval(unreliable on macOS).Programpoints at$DEPLOY_DIR/run.sh,WorkingDirectoryat$DEPLOY_DIR. run.shmustsource .envand export$HOME/.local/bin(for theagyCLI) and/opt/homebrew/bin(homebrew tools) on PATH. Without that, AGY and DeepSeek fail silently.RunAtLoadwon't re-fire on aload→unloadcycle if the plist didn't change — usekickstart.
Pitfalls
- The deploy worktree doesn't advance by itself. It's detached+pinned. Always
git -C "$DEPLOY_DIR" checkout --detach origin/mainbefore kicking. - Bootstrap fails "5: Input/output error" → the job is disabled.
launchctl enablefirst, then bootstrap. launchctl listshowsstate = not runningis normal between calendar ticks (it ran and exited, waiting for the next interval), not a failure.- Manual
display.py --debug-jsonwithoutsource .envshowsno keyfor DeepSeek/OpenCode — a test artifact, not a real failure.run.shsources.env.
Verification Checklist
git -C "$DEPLOY_DIR" rev-parse --short HEAD== the commit you want releasedlaunchctl kickstart ...returns 0- The job log shows
图片 API 内容已切换(or已更新) for your device display.py --debug-jsonshows all live providersok=True(AGY included)display.py --previewrenders the expected layout with the new panel(s)
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.

