bomly-cli CLAUDE.md

Repository-specific instructions for Bomly CLI, a command-line tool that examines software dependencies for security and other useful information. They cover building, testing, architecture, Git worktrees, and plugins.

In plain words
What is it for?
Working on Bomly CLI code, documentation, release scripts, plugin integrations, and its test suites.
Why use it?
They give a coding agent the project’s boundaries and quality requirements before it changes code. This helps avoid incorrect behavior, incomplete tests, unclear output, and unsafe changes.

Instructions file

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.

agentmods
npx agentmods add instructions/bomly-dev/bomly-cli/claude-md
Clone the repo
git clone --depth 1 https://github.com/bomly-dev/bomly-cli
Per session 7,015 This file is loaded in full into every session.
When invoked 7,015 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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 $0.07015 $0.07015
Opus 5 $0.03508 $0.03508
Sonnet 5 $0.01403 $0.01403
Haiku 4.5 $0.00702 $0.00702

Measured 2d ago against content hash 50a06b233904, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bomly-cli CLAUDE.md 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 2d 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.

Origin

This is a copy

94% identical to bomly-cli AGENTS.md — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 336 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Bomly is a customer-facing, security-sensitive CLI for dependency intelligence. Audience: professional developers, security managers, and CI workflows. Expect high standards: correct behavior, clear output, full logging, and no panics.

This is the main public repository for the Bomly CLI: the engine, auditors, and native detectors (internal/*), the cmd/bomly entry point, user documentation (docs/), release automation, install scripts, the npm MCP wrapper, and the binary-driven smoke test suite. Two kinds of modules live outside this repository:

  • github.com/bomly-dev/bomly-sdk (public, separate repo): the contract both built-in components and external managed plugins implement — domain types, plugin kinds, validation, support metadata, and the shared helper subpackages (system, filecache, logkit, detectorkit, matcherkit, testkit). It has its own tests and releases; this repo pins released versions. Any reference to sdk.<Type> below means that module. Plugin authors start there, with docs/PLUGINS.md, docs/plugins/, and the public plugin template repo.
  • github.com/bomly-dev/bomly-plugin-* (public, one repo per component): external-integration components consumed as ordinary pinned Go modules — the four reachability analyzers (govulncheck, jsreach, pyreach, jvmreach), the osv / depsdev-license / scorecard / grype matchers, and the syft detector. Their implementations are NOT under internal/; changes to them happen in their repos, and Dependabot bumps the pins here. Auditors and all other detectors are Bomly's own logic and stay in this repository.

Build & Test

make build               # build both `bin/bomly` (builtin Syft/Grype) and `bin/bomly-lite`
make build-lite          # go build -tags "bomly_external_syft,bomly_external_grype" -o bin/bomly-lite ./cmd/bomly
make test                # go test ./...
make smoke               # end-to-end tests driving the built binary (slow, requires network)
make smoke ARGS="-update" # regenerate smoke golden files
make fuzz FUZZTIME=5s    # run every registered fuzz target with a short per-target budget
make benchmark           # run the hidden local dependency-graph benchmark
make benchmark-report    # analyze local benchmark artifacts with Copilot CLI
make evidence            # verify the public evidence catalog (test/evidence/cases.json)
make run ARGS="scan"    # go run ./cmd/bomly <ARGS>
make generate            # regenerate config reference, JSON schemas, schema docs, support matrix, and component docs (binary-driven)

Read the full file on GitHub · 336 lines

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. 2d ago First seen · 336 lines · 7,015 tokens per session scan A 50a06b233904

Subscribe to this mod's changes

bomly-cli CLAUDE.md is an instructions file published in the GitHub repository bomly-dev/bomly-cli (11 stars, last pushed 3d ago), licensed Apache-2.0. It adds 7,015 tokens to every session, about $0.0351 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to bomly-cli AGENTS.md, differing in 4 lines, and is treated as a copy.

Related

Other instructions, from other repositories