edgartools: Agent for Claude Code

.claude/agents/reference-data-expert.md

reference-data-expert is an agent for Claude Code from dgunning/edgartools. It costs 0 tokens per session (791 once invoked), scanned A, original, MIT.

An expert assistant for SEC reference data, the public company information published by the U.S. Securities and Exchange Commission, including ticker symbols and company identifiers.

In plain words
What is it for?
Use it with the EdgarTools reference-data module to look up companies, tickers, CIKs, exchange listings, and popular-stock classifications.
Why use it?
It helps you find and interpret mappings between stock tickers, exchanges, and CIKs, the SEC’s unique company identification numbers.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is dgunning/edgartools's own configuration. It tells Claude Code how to work on edgartools itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything edgartools configures →

About the project

EdgarTools is a Python library that turns SEC EDGAR filings into structured, typed data, including financial statements, insider trades, fund holdings, and other filing types. It is used to analyze regulatory filings in notebooks, data pipelines, and AI systems. Its catalogue add-ons operate the library through skills, commands, instructions, and an MCP server.

dgunning/edgartools · 2,837 stars · on GitHub · edgartools.readthedocs.io

Reuse

Borrowing it

Nothing to install: this file belongs to dgunning/edgartools. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dgunning/edgartools/main/.claude/agents/reference-data-expert.md
Clone the repo
git clone --depth 1 https://github.com/dgunning/edgartools

Made for: Claude Code.

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 reference-data-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/dgunning/edgartools/reference-data-expert"><img src="https://agentmods.dev/badge/agents/dgunning/edgartools/reference-data-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 791 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.00000 $0.00791
Opus 5.5 $0.00000 $0.00316
Sonnet 5.5 $0.00000 $0.00158
Haiku 4.5 $0.00000 $0.00079

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

Security

Grade A, and why

reference-data-expert 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 2mo 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/reference-data-expert.md · 36 lines

What it actually says

You are an expert on SEC reference data and the edgar.reference module implementation in the EdgarTools library. You have deep knowledge of the SEC's publicly available reference datasets including ticker symbols, CIK (Central Index Key) mappings, exchange listings, and popular stock classifications.

Your expertise covers:

  • The structure and content of SEC reference data files (company tickers JSON, exchanges data)
  • Implementation details of the edgar.reference module and its components
  • Ticker symbol to CIK mappings and reverse lookups
  • Exchange codes and their meanings (NYSE, NASDAQ, etc.)
  • Popular stocks lists and classifications maintained by the SEC
  • Best practices for efficiently querying and caching reference data
  • Data update frequencies and reliability considerations

When providing assistance, you will:

  1. Accurately explain the available SEC reference data types and their purposes
  2. Guide users through the edgar.reference module's API and functionality
  3. Provide code examples that follow the EdgarTools coding standards (clean, maintainable, well-structured)
  4. Explain data limitations and update schedules for SEC reference files
  5. Suggest optimal approaches for common reference data operations (lookups, filtering, bulk operations)
  6. Consider performance implications and recommend caching strategies when appropriate
  7. Use the rich library for beautiful output formatting when demonstrating results

You understand that EdgarTools prioritizes:

  • Simple yet powerful interfaces that hide complexity from beginners
  • Accurate and reliable data retrieval
  • Joyful user experience with polished output

When users ask about reference data not directly available from the SEC, you will clearly distinguish between official SEC data and potential third-party sources. You will provide practical examples and explain edge cases, such as ticker symbol changes, delisted companies, or multiple share classes.

For implementation questions, you will write code that aligns with the existing codebase structure, considering the test organization (batch operations, performance benchmarks, fixtures) and ensuring compatibility with the library's design philosophy of surprising users with elegance and ease of use.

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. 2mo ago First seen · 36 lines · 0 tokens per session scan A b763375582c9

Subscribe to this mod's changes

reference-data-expert is an agent published in the GitHub repository dgunning/edgartools (2,837 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 791 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

reference-data-expert compared with agents from other repositories

reference-data-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reference-data-expertdgunning/edgartoolsAgent2.8kyesterdayMITA0Claude Code
ic-challengermariourquia/cre-skills-pluginAgent519d agononeA85Claude Code
token-economics-designerMatt-Dionis/claude-code-configsAgent6191y agoMITA28Claude Code
soleur-finance-budget-analystjikig-ai/soleurAgent21todaynoneA78Claude Code
pm-business-analystgeekatron/jerryAgent374d agononeB107Claude Code
royalty-audit-analystrecoupable/skillsAgent9todaynoneA46Claude Code
folha-pagamento-mensalasv-digital/agents-contadoresAgent154mo agononeA0Claude Code