bonsai
G10DC/bonsai
Bias the agent toward the minimal necessary code before adding — reuse / stdlib / native-platform / one-liner before new code, with grounding (never invent symbols), a never-cut safety clause (validation/errors/security/a11y), and zero-trace output. Opt-in and turn-bounded. Use on feature/bugfix/refactor turns where over-build is a risk; do NOT auto-apply to already-minimal code or to infra/auth/crypto/data-migration work without an explicit ask.
Install bonsai in 1 command
skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.
Claude Code
Run in your terminal, inside the project.
npx skills add G10DC/bonsai --skill bonsai -a claude-code
Codex
Installs into .agents/skills for Codex.
npx skills add G10DC/bonsai --skill bonsai -a codex
claude.ai
No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.
- Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
- In Settings, Capabilities, turn on code execution and file creation.
- Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.
Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist
What it does
Bias the agent toward the minimal necessary code before adding — reuse / stdlib / native-platform / one-liner before new code, with grounding (never invent symbols), a never-cut safety clause (validation/errors/security/a11y), and zero-trace output. Opt-in and turn-bounded. Use on feature/bugfix/refactor turns where over-build is a risk; do NOT auto-apply to already-minimal code or to infra/auth/crypto/data-migration work without an explicit ask.
Source on GitHub: G10DC/bonsaiExample prompt
Paste this after installing. Replace the task with your own.
Use the bonsai skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.
Or let your agent review and install it
Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.
GitHub file
- Path
- SKILL.md
- Source updated
- 01/09/2026
SKILL.md
read onlyOpen the full file on GitHub
Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.
Read SKILL.md on GitHub