bomly-cli AGENTS.md

Repository instructions for Bomly CLI, a command-line tool that analyzes software dependencies for security and other dependency risks.

In plain words
What is it for?
They help agents build, test, document, and modify the Bomly CLI repository while following its plugin framework and separate SDK contracts.
Why use it?
They give coding agents the project’s rules for architecture, testing, logging, worktrees, plugins, and safe behavior in a security-sensitive codebase.

Instructions file for CodexOpenCode

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/agents-md
Clone the repo
git clone --depth 1 https://github.com/bomly-dev/bomly-cli

Made for: Codex, OpenCode.

Per session 7,006 This file is loaded in full into every session.
When invoked 7,006 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.07006 $0.07006
Opus 5 $0.03503 $0.03503
Sonnet 5 $0.01401 $0.01401
Haiku 4.5 $0.00701 $0.00701

Measured yesterday against content hash f051e42c3347, 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 AGENTS.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 yesterday.

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

Copies of this mod

1 near-identical copy found in the catalogue:

AGENTS.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.

Agent Instructions — Bomly CLI

Guidance for AI agents working 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. yesterday First seen · 336 lines · 7,006 tokens per session scan A f051e42c3347

Subscribe to this mod's changes

bomly-cli AGENTS.md is an instructions file published in the GitHub repository bomly-dev/bomly-cli (11 stars, last pushed 2d ago), licensed Apache-2.0. It adds 7,006 tokens to every session, about $0.0350 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-31.