For all your projects — add this repository's skills/ to ~/.vibe/config.toml and sync agents/ into ~/.vibe/agents/ with rsync, as in Quick start (no --delete if you keep private profiles in ~/.vibe/agents/; symlink and agent_paths alternatives are in agents.md). Vibe uses the first skill it finds with a given name and searches skill_paths before a project's .vibe/skills/ and .agents/skills/. If your config sets enabled_skills, add the skills you want to it.
For one project — put the same lines in that project's .vibe/config.toml (the folder must be trusted), or copy individual skill directories (e.g. skills/code-review/) into the project's .agents/skills/ so everyone on the project gets them. Copies carry metadata.version, so you can compare them with this repository.
Project rules for /code-review
The skill's generic checks are the same everywhere; what catches most regressions is the project's own rules. Add them to .agents/code-review.md in the project — facts, named audit targets, files to skip, lint commands, and rules with the failure each one prevents. The file format is documented at the end of SKILL.md. For a plugin or theme, keep .agents/ and .vibe/ out of release zips (.distignore, .gitattributes export-ignore).
Fewer approval prompts
Quickest: put the read-only commands on the allowlist, grant the folders the agent reads outside the project (next paragraph) and start with vibe --agent wp-frontend-builder. --smart-approve does nothing next to a custom agent (see Smart approve below). --auto-approve (alias --yolo) skips every prompt, so use it only on a throwaway site. Vibe 3.1.2 splits a chain on |, ; and && and checks each command against the allowlist, so grep … | head -5 runs without a prompt when both commands are allowed. Shell variables ($X) and redirects (>) always prompt. When a prompt does come, choose "Allow for remainder of this session".
Paths outside the project. A command that names a path outside the working directory prompts for that path, even when the command is on the allowlist: another theme, ~/code/aludra, the WordPress core files of a local site, a screenshot on the Desktop. The grep pattern in grep -o '/Users/you/Desktop/shot.png' counts too, because Vibe checks every argument that looks like a path. Grant whole folders in ~/.vibe/config.toml, in both the shell and the read_file allowlist, with absolute paths:
[tools.bash]
allowlist = [
"vibe-path:directory_recursive:/Users/you/code",
"vibe-path:directory_recursive:/Users/you/.config/valet/Sites",
"vibe-path:directory_recursive:/Users/you/Desktop",
"vibe-path:directory_recursive:/private/tmp",
"vibe-path:exact:/Users/you/.vibe/config.toml",
"sed -n",
"jq",
"\"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome\" --headless=new",
"node /Users/you/code/windfinder/skills/html-page-review/measure.mjs",
"python3 -m http.server 8765 --bind 127.0.0.1",
"wp option get",
"wp option list",
"wp post list",
"wp post get",
"wp plugin list",
"wp theme list",
"wp --info",
# … the other commands
]
[tools.read_file]
allowlist = [
"vibe-path:directory_recursive:/Users/you/code",
"vibe-path:directory_recursive:/Users/you/.config/valet/Sites",
"vibe-path:directory_recursive:/Users/you/Desktop",
"vibe-path:directory_recursive:/private/tmp",
"vibe-path:exact:/Users/you/.vibe/config.toml",
]Raise the shell timeout while you are in [tools.bash]: the default default_timeout = 30 kills a full-page Chrome screenshot or a magick slice of a 9,000px image before it finishes, and the agent then retries. default_timeout = 120 gives them room; max_timeout_seconds caps what the agent may ask for per command. A command that hangs (a bare npm run validate waiting for input) then takes up to two minutes to fail.
The vibe-path:exact: grant for ~/.vibe/config.toml lets the agent read that one file without a prompt: wp-frontend-builder reads skill_paths there to find the toolbox folder (for measure.mjs, probe.html, frame.html) and supports_images to know whether the model can see screenshots. It grants that file only, not the rest of ~/.vibe.\n\nThe measure.mjs entry allows that one script by its full path, not node in general: node -e … and any other script still prompt. It starts its own headless Chrome with a throwaway profile, only reads the page and prints measurements, so it is safe to allow. Write the path out in full; Vibe matches the start of the command.
The /private/tmp grant is for screenshots: wp-frontend-builder and html-page-review write them to /tmp, and the agent reads every one back with read_file, so without the grant each visual check prompts. On macOS /tmp is a link to /private/tmp and Vibe follows links before it compares, so the grant has to name /private/tmp; it then covers /tmp/… paths too. An older "/private/tmp/*" entry covers the files in the folder but not the folder itself, so cd /tmp still prompts. On Linux, where /tmp is a real folder, grant /tmp.
The Chrome entry is for the screenshots themselves: a visual check takes one headless Chrome command per width, so a design pass runs a few dozen of them. Vibe matches an entry against the start of the command, quotes included, so the entry covers only Chrome started with --headless=new as its first option, which is how the toolbox writes the command; Chrome with other options first, such as a remote-debugging port, still prompts. On Linux the entry is google-chrome --headless=new or chromium --headless=new. The wp entries are the read-only wp-cli calls the agent makes to check the local site (front page settings, Contact Form 7 forms, plugin list). Writes such as wp post update, wp option update, wp eval and wp db keep prompting. Vibe treats echo === as shell syntax it cannot read and prompts for it, while plain echo and echo --- pass, so wp-frontend-builder separates outputs with echo ---.
A grant only clears the path check. The command still needs its own allowlist entry, and an allowed command may then do anything it can in that folder. So allow sed -n, not sed, or sed -i edits any file in a granted folder without asking. The same goes for magick (ImageMagick), which the agent uses to crop screenshots into sections for comparison: allowing it stops those prompts, but magick writes its output file without asking, so it can overwrite an image in any granted folder, a theme's assets/ included. Leave it off the allowlist if you would rather approve each crop. For a single session, vibe --add-dir DIR makes the folder part of the working directory instead. [tools.grep] takes no allowlist: the agent searches through the shell.
Approvals come from the [tools.bash] allowlist in Vibe's config, not from a skill's allowed-tools. Put the commands the skill runs in the project's .vibe/config.toml so everyone on the project gets the same approvals. A project allowlist replaces the one in ~/.vibe/config.toml, so include the read-only basics too — the Setup section of code-review's SKILL.md has a starting list.
Model: Mistral Large 4 with image support, and a cheap approval classifier
Model. For theme work, use Mistral Large 4 (mistral-large-4). Mistral describes it as multimodal, with a vision encoder and a 1M-token context, so one model can build, fix and compare screenshots, and a long block-theme conversion fits in one session. Add supports_images = true to its entry. Vibe sends images only to models whose entry has it, whatever the model itself can do:
active_model = "large-4"
[[models]]
name = "mistral-large-4"
alias = "large-4"
provider = "mistral"
thinking = "high"
supports_images = trueEvery [[models]] entry needs a name, a provider and an alias. An entry without them is not a usable preset.
Check that images arrive. After setting it up, ask the agent to open one of your photos and describe it, and compare that with the photo. A model that receives no image can still write a confident description.
GLM 5.3 is text-only. GLM 5.3 (zai-glm-5-3, served through the Mistral provider) gave the author fast coding runs on the Kadewerk case study, but it takes no images. On a demo, a GLM session reported checking 21 photos by eye and described most of them wrongly, and a later GLM run reported a section-by-section visual match for a block theme whose hero text was unreadable. If you use it, switch with /model to a model with supports_images = true for every step that needs eyes: checking photos, screenshot comparisons and the ux-designer review. Mistral lists GLM 5.3 Flash (zai-glm-5-3-flash) as multimodal; it has not been tried with this toolbox.
Pinning a model to one agent. A profile can set its own model with active_model = "large-4" as its first line, so only that agent runs on it. Keep such a variant out of this repository and generate it from the base profile, because a hand-edited fork stops receiving the toolbox's changes: the instructions, the skills list and the rules that came with each release. After every git pull, regenerate it, then /reload:
{ echo 'active_model = "large-4"'; sed 's/^display_name = "WP Frontend Builder"$/display_name = "WP Frontend Builder (Large 4)"/' ~/code/windfinder/agents/wp-frontend-builder.toml; } > ~/.vibe/agents/wp-frontend-builder-large.tomlSetting active_model in ~/.vibe/config.toml instead (above) needs no copy and never goes stale.
Smart approve. Start with vibe --smart-approve (or vibe --agent smart-approve, or press Shift+Tab in a session). Vibe still applies your allowlist and denylist first, then classifies each remaining tool call, runs the ones it judges safe and asks before risky ones. It is a classifier, not a sandbox: a call judged safe runs with your account's access, so use ask or an isolated environment for untrusted code. With no setting, Vibe picks a small Mistral model as the classifier if one is available, otherwise your session model, which adds cost and latency to every tool call when that is GLM or Large. Pin a small classifier instead (docs):
[utility_models]
smart_approve = "classifier"
[[models]]
name = "mistral-small-latest"
provider = "mistral"
alias = "classifier"smart_approve must be the alias of one of your [[models]] presets (or active for the session model). To make smart approve the default, set default_agent = "smart-approve". That applies when you start vibe without --agent. Smart approve is an agent of its own: Vibe runs the classifier only while the active agent is smart-approve. vibe --agent wp-frontend-builder --smart-approve runs wp-frontend-builder with ordinary prompts (checked with Vibe 3.1.2), so the toolbox agents need the allowlist and path grants above.
Stalls, timeouts and retries: reading vibe.log
API-side stalls and retries are logged in ~/.vibe/logs/vibe.log. Read it with grep, never print
the whole file:
grep "Retrying model completion" ~/.vibe/logs/vibe.log
grep -c "ClassifierTimeout" ~/.vibe/logs/vibe.logWhat the events mean, from a day with 20 retries on mistral-large-4-0:
StreamStalledError— no model output withinapi_timeoutseconds — blocks the session for that whole time. Withapi_timeout = 720.0in~/.vibe/config.toml, one stall costs 12 minutes. A value around 120–180 s makes a stall cost 2–3 minutes instead; the risk of lowering it is that slow long generations get cut off, so the value stays your decision.- HTTP 520 and 504 from Cloudflare in front of
api.mistral.airetry on a flat 30 s backoff (520) or under 1 s (504) and surface as "502 errors" in the UI.ReadError/ConnectErrorconnection drops retry on their own. smart_approveClassifierTimeoutevents (10 s each) are harmless: they only add approval latency while the API is degraded.
Tool hygiene: edit tool, process IDs, signatures
Small tool mistakes each cost a retry mid-run:
- Use the edit tool, not
sed, for any value containing|, quotes or$(var:preset|…breaks a sed pattern silently). Pass long values via files, not inline quoting. - Copy process IDs from the tool output, never retype them.
- Check a tool's signature before its first call in a session.
Real-browser access (/real-browser-control)
The skill drives the user's real, logged-in Chrome through real-browser-mcp (MIT) — a local MCP server plus an MV3 extension over a localhost WebSocket. It needs two pieces beyond skill_paths: the extension loaded in Chrome (recommended: unpacked from the pinned clone at chrome://extensions → Developer mode → Load unpacked → extension/; the store listing exists but has a thin review base) and a [[mcp_servers]] stdio entry in ~/.vibe/config.toml running the clone's built mcp-server/dist/index.js. Full steps: skills/real-browser-control/SKILL.md.
Project instructions: AGENTS.md, not a system prompt
Vibe loads AGENTS.md files on top of its built-in system prompt; that is the place for project rules. system_prompt_id in config.toml replaces the built-in prompt — tool use, planning and editing instructions included — and is rarely what you want. See Mistral Vibe: AGENTS.md vs a custom system prompt.