asm-build — Claude Code skill: what it does, how to install
asm-build is a Claude Code skill for building, testing, and improving assembly software. It activates around target-specific code, package reuse, and measured optimization.
AGPL-3.0-or-later ★ 560 updated 2026-11-17
npx skills add stubbi/asm --skill asm-build -a claude-codeWhat asm-build does
asm-build guides assembly work through the Asm package registry and command-line tool. It separates the ISA, operating system, ABI, minimum OS, and CPU features for a target, then helps select an exact package release and artifact. Native projects use asm build, asm test, and asm run; a foreign test can be built with asm test --target TARGET --no-run.
The Asm MCP adapter is read-only. It can inspect targets and packages or compare supplied measurements, but it does not build, execute, install, publish, or certify results. Local assembly builds can read included files, so they are not isolated security boundaries. Native CLI work needs a supported host and the required Asm tools, with asm doctor run before build commands. Cross-assembly requires the fixed GNU or LLVM tools described by the project contract.
What it helps with
- build and test an assembly project for an explicit target
- separate ISA, ABI, OS, and CPU-feature requirements
- inspect a compatible package release and its ABI constraints
- compare optimization candidates by time, memory, and executable size
- compile a foreign target's tests without running them locally
Example prompts for the agent
- Build the native assembly project with
asm build, then run its tests. - Find a package compatible with this ISA and inspect the exact release before choosing it.
- Compile tests for
TARGETwithout execution usingasm test --target TARGET --no-run.
How to install asm-build
1Skills CLI (Vercel)
npx skills add stubbi/asm --skill asm-build -a claude-code2Manually: put the files in place
~/.claude/skills/asm-build/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/asm-build/
1Skills CLI (Vercel)
npx skills add stubbi/asm --skill asm-build -a codex2Manually: put the files in place
.agents/skills/asm-build/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add stubbi/asm --skill asm-build -a cursor2Manually: put the files in place
.cursor/skills/asm-build/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install stubbi/asm skills/asm-build2Manually: put the files in place
.github/skills/asm-build/SKILL.md1Skills CLI (Vercel)
npx skills add stubbi/asm --skill asm-build -a gemini-cli2Platform CLI
gemini skills install https://github.com/stubbi/asm --path skills/asm-buildManually: put the files in place
.devin/skills/asm-build/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about asm-build
How do I install asm-build in Claude Code?
Run npx skills add stubbi/asm --skill asm-build -a claude-code, then install the skill file at ~/.claude/skills/asm-build/SKILL.md.
What does asm-build do?
The skill supports assembly builds, tests, target checks, package inspection, and measured optimization work. It keeps correctness checks separate from performance comparisons and ties the result to explicit build and test commands.
What does asm-build need to work?
Native CLI work needs a supported host and the required Asm tools; run asm doctor before build commands. Cross-assembly needs the fixed GNU or LLVM tools from the project contract, while MCP functions require a connected Asm MCP adapter.