bazel

bazel is a skill for Codex from OutlineDriven/outline-driven-development. It costs 42 tokens per session (1,881 once invoked), scanned A, original, Apache-2.0.

A guide to using Bazel for C and C++ projects. Bazel is a build and test system; this covers its build files, dependency modules, compiler toolchains, remote execution, sandbox failures, and dependency-graph queries.

In plain words
What is it for?
Use it to write BUILD, MODULE.bazel, and related files; configure C/C++ libraries and programs; register toolchains; debug sandbox failures; and inspect dependency graphs.
Why use it?
It helps diagnose build and test configuration problems without guessing how Bazel's rules, dependencies, or sandbox work.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to write BUILD, MODULE.bazel, and related files; configure C/C++ libraries and programs; register toolchains; debug sandbox failures; and inspect dependency graphs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outlinedriven/outline-driven-development/bazel
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 OutlineDriven/outline-driven-development --skill bazel
Clone the repo
git clone --depth 1 https://github.com/OutlineDriven/outline-driven-development

Made for: 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 bazel

README.md
[![agentmods](https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/bazel/github.svg)](https://agentmods.dev/skills/outlinedriven/outline-driven-development/bazel)
Your own site
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/bazel"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/bazel/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 bazel

Your own site · 80×15
<a href="https://agentmods.dev/skills/outlinedriven/outline-driven-development/bazel"><img src="https://agentmods.dev/badge/skills/outlinedriven/outline-driven-development/bazel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 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.00042 $0.01881
Opus 5 $0.00021 $0.00941
Sonnet 5 $0.00008 $0.00376
Haiku 4.5 $0.00004 $0.00188

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

Security

Grade A, and why

bazel 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 3d 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.

.devin/skills/bazel/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bazel

Bazel for C/C++ projects: BUILD files, Bzlmod dependencies, toolchain registration, remote execution, dependency graph queries, and sandbox debugging. Grounded against Bazel 9.2.0, where Bzlmod is always enabled, all WORKSPACE logic is removed, and every C++ rule loads from @rules_cc.

Contract

Field Bound contract
Trigger The task writes or debugs Bazel BUILD files, cc_library/cc_binary/cc_test rules, Bzlmod dependencies, toolchain registration, remote execution, sandbox failures, or bazel query/cquery/aquery dependency graphs.
Authority Reversible local: writes only BUILD files, MODULE.bazel, .bzl files, and Bazel output directories (bazel-out, bazel-bin); rollback is version control plus bazel clean. No remote mutation.
Side effect Local builds write to the Bazel output base; remote execution and remote cache flags contact a user-supplied endpoint.
Done The requested targets build or test with bazel build/bazel test, or the blocker is reported with the failing command and output.

Inputs

  • Project layout (required): the source tree and where BUILD files should live.
  • Bazel version (required if not inferrable): run bazel version. Bazel 9 removed WORKSPACE and the native C++ rules; instructions below assume Bazel 9.
  • External dependencies (optional): library names; versions come from the Bazel Central Registry.
  • Remote execution endpoint (optional): a user-supplied remote execution or cache service URL.

Procedure

  1. Lay out the workspace. Bazel 9 uses MODULE.bazel as the only dependency file; there is no WORKSPACE. Put a BUILD file in each package directory. Done when: MODULE.bazel exists at the root and each package has a BUILD file.
my-project/
├── MODULE.bazel
├── BUILD
├── src/
│   ├── BUILD
│   └── main.cc
└── lib/
    ├── BUILD
    ├── mylib.cc
    └── mylib.h
  1. Write BUILD rules. Load every C++ rule from @rules_cc; the native cc_library/cc_binary/cc_test rules were removed from Bazel 9. Done when: every target builds with bazel build.

Read the full file on GitHub · 172 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3d ago First seen · 172 lines · 42 tokens per session scan A d94c103dd85b

Subscribe to this mod's changes

bazel is a skill published in the GitHub repository OutlineDriven/outline-driven-development (52 stars, last pushed 3d ago), licensed Apache-2.0. It adds 42 tokens to every session and 1,881 once invoked, about $0.0002 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-09-06.

Related

Other skills, from other repositories

bounded-model-checking-c

Use when C or C++ code needs memory-safety or undefined-behavior guarantees proved with CBMC, or ACSL contracts checked with Frama-C Eva or WP. Not for choosing the proof policy: use proof-driven.

OutlineDriven/odin-claude-plugin · 52 tokens

azure-storage-file-share-py

Manage SMB file shares for cloud-native and lift-and-shift scenarios.

benjaminasterA/antigravity-awesome-skills · 0 tokens

cpp

Use when writing modern C++ (17/20/23). Covers RAII, smart-pointer ownership, move semantics, ranges, concepts, and eliminating undefined behavior with sanitizers.

nimadorostkar/Claude-Skills-collection · 38 tokens

arduino-code-generator

Generate Arduino and embedded C++ snippets for sensors, actuators, buses, state machines, timing, data logging, and hardware abstraction. Use when a user requests implementation code and provide the exact board, framework, toolchain, pins, voltage, memory, and library versions first. Bundled templates target UNO…

wedsamuel1230/arduino-skills · 86 tokens

autosar-swc

AUTOSAR SWC expert. Defaults to Classic AUTOSAR (SWCs, RTE, ARXML, C) and operates in five modes: (1) Component design — decompose a feature into SWC types, define port interfaces, specify runnables and ExclusiveAreas, produce a plain-text composition diagram; (2) Interface definition — SenderReceiver / ClientServer /…

ptsilivis/autonomousguy · 240 tokens

esp32-arduino-embedded-c

Guidance for production-grade ESP32 Arduino and Embedded C/C++ development. Use when building firmware for ESP32, ESP32-S3, or ESP32-C3 microcontrollers, optimizing FreeRTOS tasks, managing SRAM/PSRAM, writing ISR-safe code, or handling dual-core concurrency and hardware peripherals.

hamzabellouch/agent-skills · 71 tokens