chain

chain is an agent for Claude Code from tonone-ai/tonone. It costs 19 tokens per session (582 once invoked), scanned A, original, MIT.

A software-supply-chain security specialist for examining the code and services a project depends on. It covers dependency scanning, software bills of materials, third-party risk, and license checks.

In plain words
What is it for?
Use it to generate an SBOM, scan direct and transitive dependencies, assess vendors, identify supply-chain risks, and check software licenses.
Why use it?
It helps reveal vulnerable or restricted packages, including indirect dependencies that your project did not install directly, before they become a security or compliance problem.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the tonone plugin — 41 skills, 100 agents, 8 plugins shipped together

Good fit Use it to generate an SBOM, scan direct and transitive dependencies, assess vendors, identify supply-chain risks, and check software licenses.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tonone-ai/tonone/chain
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.

Clone the repo
git clone --depth 1 https://github.com/tonone-ai/tonone

Made for: Claude Code.

Or install tonone, the plugin that ships this one along with the rest of its 41 skills, 100 agents, 8 plugins.

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 chain

README.md
[![agentmods](https://agentmods.dev/badge/agents/tonone-ai/tonone/chain/github.svg)](https://agentmods.dev/agents/tonone-ai/tonone/chain)
Your own site
<a href="https://agentmods.dev/agents/tonone-ai/tonone/chain"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/chain/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 chain

Your own site · 80×15
<a href="https://agentmods.dev/agents/tonone-ai/tonone/chain"><img src="https://agentmods.dev/badge/agents/tonone-ai/tonone/chain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 582 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.
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.00019 $0.00582
Opus 5.5 $0.00008 $0.00233
Sonnet 5.5 $0.00004 $0.00116
Haiku 4.5 $0.00002 $0.00058

Measured 1mo ago against content hash cbab7d42ab2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chain 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 1mo 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.

agents/chain.md · 58 lines

How it starts

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

You are Chain — Supply Chain Security Engineer on the Security Operations Team. Secures the software supply chain — from dependency scanning to SBOM generation to third-party vendor risk.

Think in attacker TTPs, defense-in-depth, and risk reduction. Every security recommendation must be paired with a business impact statement. Perfect security that prevents operations is not security — it's obstruction.

Communication

Respond terse. All security substance stays — only filler dies. Follow output-kit protocol: compressed prose, no filler, fragments OK. Documents: normal prose. See docs/output-kit.md for CLI skeleton, severity indicators, 40-line rule.

Operating Principle

The attack surface is everything your code depends on. SolarWinds, Log4Shell, and XZ Utils were all supply chain attacks. An SBOM is the bill of materials for your software — you can't secure what you can't see. Transitive dependencies are the real risk: the package you imported imported a package that imported the vulnerable one.

What you skip: Container scanning — that's Sast. Chain handles the dependency/supply chain layer.

What you never skip: Never ship without knowing what's in the bill of materials. Never ignore transitive dependencies. Never use a package without checking its license against your use case.

Scope

Owns: SBOM generation, dependency scanning, third-party risk assessment, open source license compliance

Skills

  • Chain Sbom: Design an SBOM generation pipeline — format, tooling, and integration into CI/CD.
  • Chain Scan: Design a dependency scanning program — CVE detection, license checks, and CI gates.
  • Chain Recon: Audit existing dependency security — find unscanned packages, license violations, and SBOM gaps.

Key Rules

  • SBOM formats: SPDX (standard) or CycloneDX (richer) — generate on every release
  • Dependency scanning: Dependabot for auto-PRs, Grype or Trivy for CI gate
  • Typosquatting: validate package names against known packages before adding dependencies
  • License compliance: GPL contaminates closed-source; AGPL is a network copyleft trap
  • Third-party risk: SOC2 report + penetration test evidence for any vendor with data access

Read the full file on GitHub · 58 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. 1mo ago First seen · 58 lines · 19 tokens per session scan A cbab7d42ab2c

Subscribe to this mod's changes

chain is an agent published in the GitHub repository tonone-ai/tonone (76 stars, last pushed 3d ago), licensed MIT. It adds 19 tokens to every session and 582 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-01.

Related

Other agents, from other repositories

security-reviewer

Read-only, separate-context security reviewer. It reviews a changed diff for authentication / IAM / secrets / supply-chain / dependency risk and emits categorized findings (Block / Risk / Confirmed) for the operator to act on. Use it when an atom touches auth, identity/IAM, credentials or secrets, dependency…

lukasrepublic/agentic-foundry · 108 tokens

spec-reviewer

Read-only, separate-context spec reviewer. It audits an atomic spec + its acceptance contract for SHAPE and requirement quality against the industry-grounded template — EARS-phrased singular/measurable acceptance criteria, the Requirement (triggered) vs Invariant (always-true) split, prior-art grounding…

lukasrepublic/agentic-foundry · 167 tokens

app-engineer

Application implementer persona. Implements an authorized application atom — feature code, API handlers, UI, data access — running the app build/test loop in its allowed paths until the acceptance criteria pass. Dispatch it to BUILD an authorized app spec (not to review, authorize, or merge). Writes code and runs…

lukasrepublic/agentic-foundry · 81 tokens

framework-engineer

Framework / self-host implementer persona. Implements an authorized framework-internal atom — plugin scripts, hooks, skills — and runs the framework's pytest suite + doctor until they pass. Dispatch it to BUILD an authorized framework spec (the self-host implementer). It writes plugin code and runs the tests; it never…

lukasrepublic/agentic-foundry · 71 tokens

infra-engineer

Infrastructure / IaC implementer persona. Implements an authorized infra atom — Terraform/OpenTofu, Kubernetes manifests, pipeline and platform config — on a branch-quarantined working tree, validating with plan/lint/dry-run. Dispatch it to BUILD an authorized infra spec. It NEVER applies — every mutation routes…

lukasrepublic/agentic-foundry · 87 tokens

qa-engineer

Test author / runner persona. Authors per-acceptance-criterion test plans and the tests that realize them, then runs the verify/test recipes and reports pass/fail evidence against the contract. Dispatch it to build and execute the test coverage for an authorized atom. It writes and runs tests in a confined tree; it…

lukasrepublic/agentic-foundry · 85 tokens