Agent skill

Crush Builtin Skills

by charmbracelet in charmbracelet/crush

Explains how the Crush coding agent embeds builtin skills in its binary and how to add or edit one, including the discovery test and build commands.

Custom licenceAuto-check passedAgent Workflows

Install Crush Builtin Skills

skills CLI
$ npx skills add charmbracelet/crush --skill builtin-skills -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install charmbracelet/crush builtin-skills --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/charmbracelet/crush.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/builtin-skills .claude/skills/builtin-skills && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
builtin-skills
GitHub stars
29k
Token cost
~466 tokens
SKILL.md length
162 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Explains how the Crush coding agent embeds builtin skills in its binary and how to add or edit one, including the discovery test and build commands.

  • Works in 4 steps: Create internal/skills/builtin//SKILL.md… → No extra wiring needed — //go:embed… → Add a test assertion in… → …
  • Creating a new builtin skill for Crush
  • SKILL.md covers How It Works, Adding a New Builtin Skill and Existing Builtin Skills
  • Calls go

What it does

Crush ships some skills inside its binary from internal/skills/builtin, so they are always available without user setup. Each lives in its own folder with a SKILL.md, the tree is embedded at compile time, DiscoverBuiltin parses each file and gives it a crush://skills/ path, and the View tool reads those paths from the embedded files rather than from disk. A user skill with the same name overrides a builtin.

To add one, create a folder whose name matches the name field in the YAML frontmatter, write the instructions in markdown, and add an assertion to TestDiscoverBuiltin in internal/skills/skills_test.go; no extra wiring is needed. Then run go build and the internal/skills tests. The page lists the current builtins: crush-config for configuration help, crush-hooks for writing and debugging hooks, and jq for using the jq JSON processor.

When your agent uses it

  • Creating a new builtin skill for Crush
  • Editing an existing skill under internal/skills/builtin
  • Understanding how embedded skills are discovered and overridden

Example prompts

  • “Add a builtin skill to Crush that explains how to use ripgrep, including the test assertion.”
  • “How does a user skill override a builtin one in Crush?”

Requirements

  • A checkout of the Crush repository
  • A Go toolchain

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Create internal/skills/builtin//SKILL.md with YAML frontmatter
  2. No extra wiring needed — //go:embed builtin/* picks up new directories
  3. Add a test assertion in TestDiscoverBuiltin in
  4. Build and test: go build . && go test ./internal/skills/...

What it can do on your machine

Read from SKILL.md and the folder at commit df5b024. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Crush Builtin Skills loads about 466 tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 162 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~466

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 162 words (~466 tokens).

“Crush embeds skills directly into the binary via internal/skills/builtin/. These are always available without user configuration.”

— opening of SKILL.md by charmbracelet, Custom licence
name
builtin-skills

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/builtin-skills of charmbracelet/crush.

Open the folder on GitHubat commit df5b024

Compare with similar skills

Crush Builtin Skills next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Crush Builtin Skills compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Crush Builtin Skills this skillcharmbracelet/crush29k—~466Automated safety check: PassCustom licence
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0
SkillAnything Skill GeneratorAgentSkillOS/SkillAnything471—~1.9kAutomated safety check: PassMIT
LubanLearnPrompt/luban-skill959—~3.1kAutomated safety check: PassMIT
Build Cs Skillcodestable/CodeStable1.1k—~3kAutomated safety check: PassNone
ShellLM Skill Authorlaude-institute/headlong1.2k—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • SkillAnything Skill Generator

    AgentSkillOS/SkillAnything

    Generates a complete agent skill for a target tool, API, library or workflow through a seven-phase pipeline that ends with testing, tuning and packaging for several platforms.

    471 GitHub stars~1.9k tokensUpdated 6 mo ago
    Agent WorkflowsAuto-check passed
  • Luban

    LearnPrompt/luban-skill

    鲁班(Luban)——Skill打磨工坊。把一个"能用的Skill"打磨成"能被理解、能被安装、能被传播、能被验证、能持续进化"的公共Skill资产。

    959 GitHub stars~3.1k tokensUpdated 3 mo ago
    Agent WorkflowsAuto-check passed
  • Build Cs Skill

    codestable/CodeStable

    CodeStable skill authoring and evolution protocol. An agent skill from codestable/CodeStable.

    1.1k GitHub stars~3k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • ShellLM Skill Author

    laude-institute/headlong

    Scaffolds new ShellLM skills with the right frontmatter, directory layout and agent-facing writing style, so an agent can extend its own capabilities.

    1.2k GitHub stars~1.3k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • AIDD Skill Authoring Guide

    paralleldrive/aidd

    Guides creating, reviewing or refactoring AI-Driven Development skills so each one stays minimal, composable and named around a single clear function.

    384 GitHub stars~1.1k tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check passed

More from charmbracelet/crush

  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Crush Hook Writer

    charmbracelet/crush

    Helps write, debug and configure Crush hooks in crush.json that block, approve or rewrite tool calls before they run.

    29k GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • JSON Processing with jq

    charmbracelet/crush

    Explains the jq command built into Crush for querying, filtering and reshaping JSON, including its supported flags and where it differs from standard jq.

    29k GitHub stars~746 tokensUpdated today
    Auto-check passed
  • Crush Shell Builtins

    charmbracelet/crush

    Explains how to add a new in-process builtin command to Crush's embedded POSIX shell, so it is intercepted before reaching the OS, with context polling and exit-status rules.

    29k GitHub stars~790 tokensUpdated today
    Auto-check passed

Questions about Crush Builtin Skills

What does Crush Builtin Skills do?

Explains how the Crush coding agent embeds builtin skills in its binary and how to add or edit one, including the discovery test and build commands. Crush ships some skills inside its binary from internal/skills/builtin, so they are always available without user setup.md, the tree is embedded at compile time, DiscoverBuiltin parses each file and gives it a crush://skills/ path, and the View tool reads those paths from the embedded files rather than from disk.

When should I use Crush Builtin Skills?

Crush Builtin Skills fits situations like: creating a new builtin skill for Crush; editing an existing skill under internal/skills/builtin; understanding how embedded skills are discovered and overridden.

How do I install Crush Builtin Skills in Claude Code?

Run `npx skills add charmbracelet/crush --skill builtin-skills -a claude-code`. Or copy the skill folder (.agents/skills/builtin-skills in charmbracelet/crush) into .claude/skills/builtin-skills in your project. Claude Code loads it when a task matches its description.

How do I install Crush Builtin Skills in Codex?

Run `npx skills add charmbracelet/crush --skill builtin-skills -a codex`. Or copy the skill folder (.agents/skills/builtin-skills in charmbracelet/crush) into .agents/skills/builtin-skills in your project. Codex loads it when a task matches its description.

Can I use Crush Builtin Skills in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add charmbracelet/crush --skill builtin-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/builtin-skills, .gemini/skills/builtin-skills, .github/skills/builtin-skills and .opencode/skills/builtin-skills in your project.

What does Crush Builtin Skills need to run?

Going by SKILL.md and its folder, Crush Builtin Skills needs the command-line tools its instructions call (go). Our summary lists: A checkout of the Crush repository; A Go toolchain.

Does Crush Builtin Skills access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Crush Builtin Skills safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Crush Builtin Skills use?

Crush Builtin Skills has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Crush Builtin Skills use?

About 466 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Crush Builtin Skills?

Skills that share tags, products or a category with Crush Builtin Skills: Claude Code Plugin Structure (anthropics/claude-plugins-official, 38k stars), SkillAnything Skill Generator (AgentSkillOS/SkillAnything, 471 stars), Luban (LearnPrompt/luban-skill, 959 stars) and Build Cs Skill (codestable/CodeStable, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Crush Builtin Skills?

charmbracelet (a GitHub organization) maintains it in charmbracelet/crush, which has 28,591 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 11, 2026.

Source: charmbracelet/crush on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.