Agent skill

Bolt Build

by bytedance in bytedance/bolt

A skill your agent uses when working on the Bolt repository and you need to configure or compile code correctly and efficiently.

Apache-2.0Auto-check passed

Install Bolt Build

skills CLI
$ npx skills add bytedance/bolt --skill bolt-build -a claude-code

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

GitHub CLI
$ gh skill install bytedance/bolt bolt-build --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/bytedance/bolt.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/bolt-build .claude/skills/bolt-build && 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
bolt-build
GitHub stars
179
Token cost
~909 tokens
SKILL.md length
428 words
Files
1
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when working on the Bolt repository and you need to configure or compile code correctly and efficiently.

  • Works in 3 steps: Locate the edited *.cpp file's directory. → Find CMakeLists.txt in that directory… → Find the target with the edited *.cpp…
  • Working on the Bolt repository and you need to configure
  • SKILL.md covers Workflow, Core rule, Configure and When to reconfigure, plus 5 more sections
  • Calls cmake and make

What it does

Bolt Build is an agent skill from bytedance/bolt. Use when working on the Bolt repository and you need to configure or compile code correctly and efficiently. This skill defines the canonical Bolt build workflow, including when and how to run make, cmake --build ..., and when build reconfiguration is necessary due to added files and test or build target changes.

Its SKILL.md is about 910 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with C++. The licence is Apache-2.0.

When your agent uses it

  • Working on the Bolt repository and you need to configure
  • Compile code correctly and efficiently

Example prompts

  • “/bolt-build”

Workflow steps

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

  1. Locate the edited *.cpp file's directory.
  2. Find CMakeLists.txt in that directory (or the nearest parent directory).
  3. Find the target with the edited *.cpp file in its source list.

What it can do on your machine

Read from SKILL.md and the folder at commit bad5205. 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:

    • cmake
    • make

    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

Bolt Build loads about 909 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 428 words of instructions outside code blocks.

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

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

The full file from bytedance/bolt at commit bad5205, republished under its Apache-2.0 licence (© bytedance). 428 words, ~909 tokens.

Download SKILL.mdSave it as .claude/skills/bolt-build/SKILL.md (or your agent's skills folder).
name
bolt-build
description
Use when working on the Bolt repository and you need to configure or compile code correctly and efficiently. This skill defines the canonical Bolt build workflow, including when and how to run `make`, `cmake --build ...`, and when build reconfiguration is necessary due to added files and test or build target changes.

Bolt Build

Use this skill for any Bolt task that requires configuring or compiling the repository for binaries tests, or benchmarks

Workflow

  • Configure the repository using instructions from the "Configure" section ONLY if necessary
  • Compile the project using instructions from "Compile" section
    • Wait for all units to finish. If compilation exits early, check the error
    • If killed (e.g. due to OOM), restart the build, but lower the number of jobs by adding the --parallel flag and specify a lower number than the machine's available cores. If the build is repeatedly killed to due OOMs, decrease it after each failure.

Core rule

  • Use cmake --build --preset conan-${BUILD_TYPE} --target ${TARGET} for all routine compilations

Configure

Configuration sets up the _build directory with the correct files to allow cmake and ninja to compile all files in the project.

When to reconfigure

Run make <TARGET> BOLT_CONAN_CONFIGURE_ONLY=1 again only if:

  • The required build type is different from the current one
  • The desired target does not exist in the current configuration
  • You need to include or exclude tests and the current configuration does not match Configure only if any of these conditions are met
  • debug info is not available in the existing binary and the goal is to debug with GDB, or the user requests debug build.

Otherwise, just use the existing configured build.

Configuration Command

To configure a build, run:

bash
make <TARGET> BOLT_CONAN_CONFIGURE_ONLY=1

This chooses the active configuration, including:

  • Build type: debug, release, or relwithdebinfo
  • Whether tests are included for that target/configuration
  • Available targets are listed in the Makefile in the root of the project.
    • If building tests, usually need *_with_test
    • If building benchmarks, usually need benchmarks-*
Show full SKILL.md (159 more words)Show less

Compile

If the build is already configured for the needed target and build type, compile with:

bash
cmake --build --preset conan-${BUILD_TYPE} --target ${TARGET}

Valid preset suffixes:

  • debug
  • release
  • relwithdebinfo

Detecting the current build type

Check _build/.build_type to determine the currently configured build type:

bash
cat _build/.build_type

This returns one of: debug, release, or relwithdebinfo.

Use this to decide whether you can reuse the existing preset or need to reconfigure for a different build type.

Working rules

  • Prefer the narrowest target that validates the change.
  • Reuse the current configured preset whenever possible.

Finding the narrowest target

To identify the smallest target that contains an edited compilation unit:

  1. Locate the edited *.cpp file's directory.
  2. Find CMakeLists.txt in that directory (or the nearest parent directory).
  3. Find the target with the edited *.cpp file in its source list.

Example:

  • Edited file: bolt/core/execution/ExecutionPlan.cpp
  • Check: bolt/core/execution/CMakeLists.txt (or bolt/core/CMakeLists.txt)
  • Look for: add_library(bolt_core ... ExecutionPlan.cpp ...) or add_executable(bolt_core_tests ...)
  • Build: cmake --build --preset conan-release --target bolt_core

This ensures you compile only what's necessary to validate your change.

© bytedance, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/bolt-build of bytedance/bolt.

Open the folder on GitHubat commit bad5205

Compare with similar skills

Bolt Build 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.

Bolt Build compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bolt Build this skillbytedance/bolt179—~909Automated safety check: PassApache-2.0
Paddle BuildPaddlePaddle/Paddle24k—~1kAutomated safety check: PassApache-2.0
Fory Releaseapache/fory4.6k—~2.9kAutomated safety check: PassApache-2.0
ONNX Runtime Shape Inference Safety Auditmicrosoft/onnxruntime22k—~3.3kAutomated safety check: PassMIT
Code Audit3stoneBrother/code-audit8921 repos~2.7kAutomated safety check: PassNone
Qt C++ Code Reviewx-tools-author/x-tools1.1k2 repos~4.3kAutomated safety check: PassBSD-3-Clause

Similar skills

  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Fory Release

    apache/fory

    Prepare an Apache Fory release candidate from a clean release branch, including the version bump, RC tag, JVM staging, ASF source artifacts, SVN upload, and vote email.

    4.6k GitHub stars~2.9k tokensUpdated yesterday
    Auto-check passed
  • Official

    Finds and fixes out-of-range output writes in ONNX Runtime operator shape-inference functions where a getNumOutputs guard admits too few outputs.

    22k GitHub stars~3.3k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    892 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Qt C++ Code Review

    x-tools-author/x-tools

    Read-only review of Qt6 C++ code that combines a deterministic lint script with six parallel analysis agents and reports only high-confidence issues.

    1.1k GitHub starsUsed in 2 repos~4.3k tokens
    DevelopmentAuto-check passed
  • Translation

    doxygen/doxygen

    Keeps all Doxygen and Doxywizard translations up to date across three mechanisms: translator C++ classes (src/translatorxx.h), Qt .ts locale files for the Doxywizard GUI (addon/doxywizard/i18n/)…

    6.6k GitHub stars~5.2k tokensUpdated 8 days ago
    Writing & ContentAuto-check passed

Works with

Questions about Bolt Build

What does Bolt Build do?

A skill your agent uses when working on the Bolt repository and you need to configure or compile code correctly and efficiently. Bolt Build is an agent skill from bytedance/bolt. Use when working on the Bolt repository and you need to configure or compile code correctly and efficiently.

When should I use Bolt Build?

Bolt Build fits situations like: working on the Bolt repository and you need to configure; compile code correctly and efficiently.

How do I install Bolt Build in Claude Code?

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

How do I install Bolt Build in Codex?

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

Can I use Bolt Build 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 bytedance/bolt --skill bolt-build -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bolt-build, .gemini/skills/bolt-build, .github/skills/bolt-build and .opencode/skills/bolt-build in your project.

What does Bolt Build need to run?

Going by SKILL.md and its folder, Bolt Build needs the command-line tools its instructions call (cmake and make).

Does Bolt Build 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 Bolt Build 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 Bolt Build use?

Bolt Build is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bolt Build use?

About 909 tokens (SKILL.md is roughly 3.6k 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 Bolt Build?

Skills that share tags, products or a category with Bolt Build: Paddle Build (PaddlePaddle/Paddle, 24k stars), Fory Release (apache/fory, 4.6k stars), ONNX Runtime Shape Inference Safety Audit (microsoft/onnxruntime, 22k stars) and Code Audit (3stoneBrother/code-audit, 892 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bolt Build?

bytedance (a GitHub organization) maintains it in bytedance/bolt, which has 179 GitHub stars. The repository was last updated on October 9, 2026.

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