All skills
SKILL.md / en

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.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. 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/bonsai

Example 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 only

Open 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

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the bonsai skill

bonsai is an Agent Skill from the G10DC/bonsai GitHub repository, which has 0 stars and 0 forks. The skill file is SKILL.md on the main branch: open it on GitHub.

Description: 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.

Repository licence: MIT. Categories: Security. Source updated: 2026-09-01.

Start of SKILL.md

bonsai Write the least code the task actually needs. Minimalism here is a **side effect of necessity**, not golfing: small because it has to be, never because it's shorter. Before writing new code, climb the ladder and **stop at the first rung that satisfies the task**: 1. **Does it need to exist?** No → don't write it (YAGNI). 2. **Already in this…

Install bonsai in 1 command

Claude Code: npx skills add G10DC/bonsai --skill bonsai -a claude-code

Codex: npx skills add G10DC/bonsai --skill bonsai -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

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.

Related skills

  • native-dependency-update (mono/SkiaSharp): Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork. Handles security CVE fixes, bug fixes,…
  • developing-ios-apps (daymade/claude-code-skills): Develops iOS/macOS apps with XcodeGen, SwiftUI, and SPM, including Apple Developer signing, notarization, and CI/CD pipelines. Use when building iOS/macOS apps, fixing…
  • pup (DataDog/pup): Datadog API CLI with 49 command groups, 300+ subcommands. Skills and domain agents for monitoring, logs, APM, security, and infrastructure.
  • azure-devops (sanjay3290/ai-skills): Manage Azure DevOps projects, work items, repos, PRs, pipelines, wikis, test plans, security alerts, variable groups, environments/approvals, branch policies, and…
  • 032-architecture-adr-non-functional-requirements (jabrena/plinth): Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when…
  • secrets-management (aj-geddes/useful-ai-prompts): Implement secrets management with HashiCorp Vault, AWS Secrets Manager, or Kubernetes Secrets for secure credential storage and rotation.

Browse the free Claude skills catalogue