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.
npx skills add cosmix/loom --skill loom-cppgit clone --depth 1 https://github.com/cosmix/loomWrote 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.
[](https://agentmods.dev/skills/cosmix/loom/loom-cpp)<a href="https://agentmods.dev/skills/cosmix/loom/loom-cpp"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-cpp/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.
<a href="https://agentmods.dev/skills/cosmix/loom/loom-cpp"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-cpp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00016 | $0.07636 |
| Opus 5.5 | $0.00006 | $0.03054 |
| Sonnet 5.5 | $0.00003 | $0.01527 |
| Haiku 4.5 | $0.00002 | $0.00764 |
Grade A, and why
loom-cpp 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.
How it starts
The opening of the file, as written. The whole thing — 430 lines — stays where its author put it; the contents beside it link to each section on GitHub.
C++ Language Expertise
Overview
Idiomatic, production-quality C++20/23 for an engineer who already knows the language. The expensive C++ mistakes compile cleanly: dangling views and references, undefined behaviour the optimizer exploits, resources nobody owns, and CMake targets that leak flags into each other. This skill is decision rules and traps. Check a compiler's support table (cppreference "compiler support") before relying on a C++23 library feature.
Tooling
CMake describes the build, Ninja or Make runs it, CTest runs the tests. Keep the repository's generator, presets and package manager.
| Task | Command |
|---|---|
| Configure (out of source) | cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON |
| Configure from a preset | cmake --preset debug (CMakePresets.json, checked in) |
| Build | cmake --build build -j |
| Test, whole suite (the stage gate's) | ctest --test-dir build --output-on-failure -j 8 (--test-dir needs CMake 3.20+); the changed code: ctest --test-dir build -R '<name>' --output-on-failure |
| List registered tests | ctest --test-dir build -N |
| Format | clang-format -i <files>; CI: clang-format --dry-run --Werror <files> |
| Lint | run-clang-tidy -p build (reads compile_commands.json and .clang-tidy) |
| Add a dependency | vcpkg add port fmt (manifest mode, vcpkg.json); Conan 2: the recipe plus conan install . --build=missing |
- vcpkg (toolchain
-DCMAKE_TOOLCHAIN_FILE=$VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake) and Conan 2 (CMakeToolchaingenerator) both hand CMakefind_package(... CONFIG REQUIRED)targets.FetchContentdownloads sources at configure time and needs network access then, which sandboxed sessions may lack; fetch test frameworks through the package manager or the system. - clang-tidy: enable
bugprone-*,modernize-*,performance-*, a prunedcppcoreguidelines-*,misc-const-correctness; setWarningsAsErrors: '*'in.clang-tidyso findings fail the gate. It must see the build's flags, whichcompile_commands.jsonprovides. - A pip-installed
cmakeshim earlier onPATHcan shadow the real CMake suite (itsctestfails withModuleNotFoundError).command -v ctestshows which binary runs. - Multi-config generators (Visual Studio, Ninja Multi-Config) ignore
CMAKE_BUILD_TYPE: pass--config Debugtocmake --buildand-C Debugtoctest.
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.
- 11d ago Changed c773252639a1
- 2mo ago First seen · 430 lines · 16 tokens per session scan A 2f44df3cc4b3
loom-cpp is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 7,636 once invoked, about $0.0001 per session on Opus 5.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-26.
loom-cpp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loom-cppcosmix/loom | Skill | 66 | today | MIT | A | 16 | Claude Code, Codex |
| add-rcpp-integrationpjt222/agent-almanac | Skill | 46 | 2d ago | MIT | B | 93 | Claude Code |
| idiomatic-goTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 137 | Claude Code |
| go-documentationTypeFox/agent-skills | Skill | 5 | 1mo ago | MIT | A | 98 | Claude Code |
| zephyr-jsonksachdeva/zephyr-rtos-ai | Skill | 23 | 5mo ago | Apache-2.0 | A | 68 | Claude Code, Codex |
| gdbbetab0t/skills | Skill | 49 | 6mo ago | MIT | B | 50 | Claude Code, Codex |
| authoring-java-sdk-tasksastronomer/agents | Skill | 464 | 6d ago | Apache-2.0 | A | 152 | Claude Code |