build-and-compile

build-and-compile is a skill for Claude Code, Codex from vstorm-co/pydantic-deepagents. It costs 15 tokens per session (553 once invoked), scanned A, original, MIT.

A guide for building software projects and fixing problems with libraries, compilers, and other required packages. It covers common projects written in languages such as C++, Python, Rust, Go, and JavaScript.

In plain words
What is it for?
Use it to compile programs, install project dependencies, build multi-language projects, and diagnose failed builds.
Why use it?
It helps identify how a project is built and work through missing packages, version conflicts, compiler errors, and linking failures.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compile programs, install project dependencies, build multi-language projects, and diagnose failed builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vstorm-co/pydantic-deepagents/build-and-compile
About the project

Pydantic Deep Agents is a self-hosted terminal AI assistant and Python framework for building coding, research, and other AI agents. It gives agents tools such as file access, shell commands, planning, memory, sub-agents, sandboxed execution, and MCP connections, and supports different models.

vstorm-co/pydantic-deepagents · 1,061 stars · on GitHub · vstorm-co.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vstorm-co/pydantic-deepagents --skill build-and-compile
Clone the repo
git clone --depth 1 https://github.com/vstorm-co/pydantic-deepagents

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-and-compile

README.md
[![agentmods](https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/build-and-compile/github.svg)](https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/build-and-compile)
Your own site
<a href="https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/build-and-compile"><img src="https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/build-and-compile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-and-compile

Your own site · 80×15
<a href="https://agentmods.dev/skills/vstorm-co/pydantic-deepagents/build-and-compile"><img src="https://agentmods.dev/badge/skills/vstorm-co/pydantic-deepagents/build-and-compile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 553 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00553
Opus 5 $0.00008 $0.00277
Sonnet 5 $0.00003 $0.00111
Haiku 4.5 $0.00002 $0.00055

Measured 11d ago against content hash b46aaa35d5b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

build-and-compile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/cli/skills/build-and-compile/SKILL.md · 58 lines

What it actually says

Build & Compile

Strategies for building code and resolving dependency issues.

Build System Detection

Check for build files in order:

  • Makefilemake (read it first to understand targets)
  • CMakeLists.txtcmake -B build && cmake --build build
  • pyproject.toml / setup.pypip install -e .
  • package.jsonnpm install && npm run build
  • Cargo.tomlcargo build --release
  • go.modgo build ./...
  • No build system → compile directly (gcc, g++, rustc, etc.)

Compilation Strategies

C/C++

  • Always read the Makefile/CMakeLists first
  • Common flags: -O2 -Wall -lm -lpthread
  • Missing headers → apt-get install lib<name>-dev
  • Linking errors → check library order (dependencies last: -lfoo -lbar -lm)

Python

  • Use virtual environments when possible
  • pip install -e . for editable installs
  • Missing modules → check requirements.txt, pyproject.toml
  • Version conflicts → read the actual error, pin versions

Multi-language projects

  • Build dependencies first (C libraries before Python bindings)
  • Check for Cython, SWIG, or FFI bridges
  • Environment variables often needed: LD_LIBRARY_PATH, PYTHONPATH

Dependency Resolution

  1. Read the FULL error message — the missing dependency is usually named
  2. Search for the package: apt-cache search <name>, pip search <name>
  3. Install the minimum needed — don't install everything
  4. If a package is unavailable, check for alternatives or build from source

Common Build Failures

Error Likely Cause Fix
fatal error: foo.h: No such file Missing dev headers apt-get install libfoo-dev
undefined reference to Missing library at link time Add -lfoo flag
No module named 'foo' Missing Python package pip install foo
command not found: make Build tools missing apt-get install build-essential
version 'GLIBC_X.Y' not found Binary built for newer system Rebuild from source
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 58 lines · 15 tokens per session scan A b46aaa35d5b2

Subscribe to this mod's changes

build-and-compile is a skill published in the GitHub repository vstorm-co/pydantic-deepagents (1,061 stars, last pushed 19d ago), licensed MIT. It adds 15 tokens to every session and 553 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.