claudette / scripts
AGENTS.md91 starsChanged 10 days agoMITView on GitHub
Always launch the app this way: make dev (pass flags as ARGS=--new), or the script directly. Not with bare cargo tauri dev. make run is an alias of make dev.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src-tauri/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- scripts/CLAUDE.mdCLAUDE.md
- src-tauri/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- claudette-debugSkill
- claudetteSkill
- lead-engineerSkill
- pr-reviewSkill
The file
We split this AGENTS.md 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
- Very specific: line 5
Always launch the app this way: make dev (pass flags as ARGS=--new), or the script directly.
- Distinctive: line 15
Use one of the two on any branch that adds a migration.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md 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
Scripts and platform tooling
Dev launcher (dev.sh, dev.ps1 on Windows)
Always launch the app this way: make dev (pass flags as ARGS=--new), or the script directly. Not with bare cargo tauri dev. make run is an alias of make dev.
- Ports: it probes free Vite and debug-eval ports (bases
14253/19432). Vite runs withstrictPort: true, so a race between the probe and Vite fails loudly. The base moved off Tauri's stock 1420 because other templates' dev scripts can rebind that port under a running webview. - Discovery file: it writes
${TMPDIR:-/tmp}/claudette-dev/<pid>.jsonso theclaudette-debugskill finds the right instance. - Sidecar: it stages the CLI sidecar with
stage-cli-sidecar.sh. - macOS signing: on macOS it adds
--runner macos-dev-app-runner.sh, which wraps the build in a signed.app(usingsrc-tauri/Entitlements.plist) so TCC grants mic and speech permission to Claudette, not your terminal. It also mirrors the sidecars intoContents/MacOS/, matching release. - Features: the default is
devtools,server,voice,alternative-backends. Override with$CARGO_TAURI_FEATURES;alternative-backendsis always appended. - State isolation: by default it uses your real
~/.claudette/andclaudette.db.--newruns as a fresh, throwaway user.--cloneruns on an rsync'd snapshot of your real state. Git operations in cloned workspaces still hit the real repositories.- Use one of the two on any branch that adds a migration.
--cleandeletes every sandbox under${TMPDIR:-/tmp}/claudette-dev/, including those of running sessions.
mise (non-Nix setup)
mise.tomlpinsrust = "1.94",bun = "latest", andtauri-clifrom npm.make setuprunsmise trust+mise install(skipped inside the Nix devshell),bun installandcargo fetch. Other make targets run throughmise execautomatically when mise is installed and you're not in the Nix devshell. Override withmake RUN= <target>.- The Nix devshell's
check,fmt,run-tests,coverageanddocs-devcommands delegate to make targets, so both paths run the same commands. - On macOS,
mise.tomlforcesCC=/usr/bin/ccand per-target Cargo linkers so-liconv/-lSystemlinks succeed undernix-darwin'sld. Leave those entries alone unless you're fixing them.
Windows
- Cross-compile (Nix devshell):
build-win-arm64/build-win-x64usecargo xwinand needXWIN_ACCEPT_LICENSE=1.deploy-win-arm64/deploy-win-x64build and push to the test VM.
- Ephemeral EC2 (Nix devshell):
aws-win-spinup,aws-win-rdpandaws-win-destroymanage the instance.- State lives in
.claudette/aws-win/. - Defaults are
AWS_PROFILE=dev.urandom.ioandAWS_REGION=us-west-2.
- CI, nightly and release build Windows as a zipped bare
.exe(cargo xwin build --release --features tauri/custom-protocol). macOS produces.dmg; Linux produces.AppImageand.deb.
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.

