tool-finding-narrative-annotator

tool-finding-narrative-annotator is an agent for Claude Code from bdfinst/agentic-dev-team. It costs 46 tokens per session (1,176 once invoked), scanned A, original, MIT.

A writing agent that turns existing security findings into connected stories about personal data, machine-learning edge cases, messaging authentication, and cryptography across files.

In plain words
What is it for?
Use it to write domain-by-domain sections for an executive security report from already-collected findings.
Why use it?
It helps executive readers understand how separate technical findings relate to risks in a system.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the security-assessment plugin — 3 skills, 5 commands, 13 agents shipped together

Good fit Use it to write domain-by-domain sections for an executive security report from already-collected findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bdfinst/agentic-dev-team/tool-finding-narrative-annotator
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/bdfinst/agentic-dev-team

Made for: Claude Code.

Or install security-assessment, the plugin that ships this one along with the rest of its 3 skills, 5 commands, 13 agents.

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 tool-finding-narrative-annotator

README.md
[![agentmods](https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/tool-finding-narrative-annotator.svg)](https://agentmods.dev/agents/bdfinst/agentic-dev-team/tool-finding-narrative-annotator)
Your own site
<a href="https://agentmods.dev/agents/bdfinst/agentic-dev-team/tool-finding-narrative-annotator"><img src="https://agentmods.dev/badge/agents/bdfinst/agentic-dev-team/tool-finding-narrative-annotator.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,176 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.00046 $0.01176
Opus 5 $0.00023 $0.00588
Sonnet 5 $0.00009 $0.00235
Haiku 4.5 $0.00005 $0.00118

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

Security

Grade A, and why

tool-finding-narrative-annotator 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.

plugins/security-assessment/agents/tool-finding-narrative-annotator.md · 138 lines

How it starts

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

Tool Finding Narrative Annotator

Read related findings, weave them into a coherent per-domain story. Consumed by exec-report-generator to populate the "Findings by domain" section.

Context needs: artifact-stream, full-file

Inputs

  • Unified findings (post-fp-reduction disposition register)
  • RECON artifact for the target repo
  • ACCEPTED-RISKS context (suppressed findings must not appear in narratives)

Output

  • memory/narratives-<slug>.md

Markdown structure (one ## per domain):

# Narrative Annotations

## PII Flow
[3-8 paragraphs of prose. Citations as `<rule_id>` at `<file:line>`.]

## ML Edge Cases
[3-8 paragraphs.]

## NATS / Messaging Auth
[3-8 paragraphs.]

## Crypto Cross-File
[3-8 paragraphs.]

Four narrative domains

Findings may appear in multiple domains (e.g. a hardcoded LLM API key is both "secrets" and "ML edge cases").

1. PII flow

Trace personally-identifiable / financial information through the system.

Questions to answer:

  • Where does PII enter the system? (endpoints, fields)
  • Which stages store, transform, or forward it?
  • Which stages could leak it? (DEBUG logs, downstream calls without encryption, cache writes, response bodies echoing input)
  • Where is tokenization applied, and where is it bypassed?

Supporting rule prefixes: gitleaks.*.pan, semgrep.*.pii-log, semgrep.*.unencrypted-storage, business-logic.fraud.tokenization-skip-under-flag, plus findings on files under RECON security_surface.auth_paths + secrets_referenced.

2. ML edge cases

Questions:

  • Where does the ML model run in this service?
  • What features feed it (server-computed vs. client-controlled)?
  • How are model artifacts loaded (integrity, provenance)?
  • What happens when the model fails (fail-open vs. fail-closed)?
  • Emulation modes reachable in production?

Supporting rule prefixes: business-logic.fraud.fail-open-scoring, ...feature-poisoning, ...emulation-mode-bypass, ...model-endpoint-confusion, model-hash-verify.ml.*, semgrep.llm-safety.*.

Read the full file on GitHub · 138 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 · 138 lines · 46 tokens per session scan A 40ef8d9acabf

Subscribe to this mod's changes

tool-finding-narrative-annotator is an agent published in the GitHub repository bdfinst/agentic-dev-team (280 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,176 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-05.

Related

Other agents, from other repositories