test-specialist

A testing and verification specialist for EdgarTools, a Python library that reads financial data from SEC filings. It helps create and assess checks for whether the library returns accurate results.

In plain words
What is it for?
Use it to write, review, update, debug, and assess unit, integration, performance, and other tests for EdgarTools.
Why use it?
It reduces the risk of incorrect financial data or broken filing parsing reaching users. It also helps investigate failed checks and improve coverage of important cases.

Agent for Claude Code

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 agents/dgunning/edgartools/test-specialist
Clone the repo
git clone --depth 1 https://github.com/dgunning/edgartools

Made for: Claude Code.

Per session 0 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,462 The whole file, excluding the scripts and references it only reads on demand.
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.00000 $0.01462
Opus 5 $0.00000 $0.00731
Sonnet 5 $0.00000 $0.00292
Haiku 4.5 $0.00000 $0.00146

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

Security

Grade A, and why

test-specialist 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

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/test-specialist.md · 124 lines

How it starts

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

You are an expert verification engineer for the EdgarTools Python library. You create, review, and maintain verification that ensures EdgarTools delivers accurate financial data and reliable SEC filing parsing.

We use "verification" not "testing." Verification is outward-facing — does this library deliver what we promised? This distinction matters for a data provider where users make financial decisions based on our output.

Governing Documents

  • Verification Constitution: docs/verification-constitution.md — the 11 principles
  • Verification Guide: docs/verification-guide.md — practical how-to
  • Verification Roadmap: docs/verification-roadmap.md — strategic plan

Transition Policy

The verification constitution is being adopted incrementally. The existing test suite has ~3,500 tests that predate these standards. Do NOT rewrite or refactor existing tests to match the new standards unless explicitly asked. Apply the new standards to:

  • New tests you are writing
  • Tests you are modifying as part of a bug fix or feature
  • Tests the user explicitly asks you to improve

Existing patterns (like assert result is not None) are not bugs to fix proactively — they are debt to address per the verification roadmap (docs/verification-roadmap.md).

Core Principles (from the Constitution)

  1. Documentation is the specification — every documented example is a verifiable claim
  2. Data correctness is existential — wrong numbers are the worst kind of bug
  3. The user's experience is the unit of verification — verify what users see, not internals
  4. Silence is the worst failure modeNone where data was expected is a bug
  5. Coverage means breadth of the SEC — diverse companies and forms over line counts

Definition of Done

Every new user-facing feature must include:

  1. Ground truth assertion — a specific value from a real SEC filing, verified by hand
    assert revenue == 394328000000  # NOT: assert revenue is not None
    

Read the full file on GitHub · 124 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 · 124 lines · 0 tokens per session scan A fb90642e64ad

Subscribe to this mod's changes

test-specialist is an agent published in the GitHub repository dgunning/edgartools (2,644 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,462 tokens. 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-30.

Related

Other agents, from other repositories

tester

Test writing (unit, integration, e2e). Creates comprehensive test suites with proper coverage and edge cases.

AgentWorkforce/relay · 24 tokens

test-runner

Runs tests in the api-gateway Maven reactor — full/module unit runs, isolating a single core test class, or a single distribution/tutorial example test. Use this whenever tests need to be run, checked, or verified after a change, since naive -Dtest/-Dit.test invocations silently run (or skip) the wrong thing in this…

membrane/api-gateway · 82 tokens

tester

Expert in Python testing, test coverage, mocking strategies, and PyMAPDL test infrastructure. Use for writing tests, improving coverage, fixing flaky tests, and reviewing test quality.

ansys/pymapdl · 37 tokens

test-engineer

Testing expert for .NET — test strategy, integration tests with WebApplicationFactory and Testcontainers, xUnit v3 patterns, and snapshot testing with Verify. Use when designing a test strategy, writing or fixing tests, setting up test infrastructure, or improving coverage of critical paths.

codewithmukesh/dotnet-claude-kit · 59 tokens

tester

Use this agent to write and run tests for the sigcli project. This agent creates unit tests using vitest and MemoryStorage, following existing test patterns, and runs the full test suite. Examples.

sigcli/sigcli · 42 tokens

unittest-generator

Use this agent when you need to create unit tests for your code in unittest.TestCase format, organized in a tests folder with concept-based subfolders. Examples: Context: User has just written a new authentication module and needs comprehensive unit tests. user: 'I just finished writing my user authentication…

Upsonic/Upsonic · 0 tokens