sec-edgar-skill — Claude Code & Cursor skill for SEC EDGAR analysis
A skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that pulls SEC EDGAR filings via EdgarTools. Triggers on requests about 10-K, 10-Q, insider trades and revenue trends.
no license 263 installs ★ 18 updated 2026-06-16
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a claude-codeWhat sec-edgar-skill does
Each platform gets it via a single npx skills add command, which drops a SKILL.md instruction file where the agent picks it up.
It ships Python workflows built on EdgarTools: fetch the latest 10-K for a ticker, compare income statements across companies for multiple periods, pull insider transactions from Form 4 filings, or monitor recent 8-K submissions by form type. Financial figures come from structured XBRL rather than raw filing text. The .to_context() method returns a compact object summary — 56–90 % fewer tokens than a full repr — which matters when you're working through large annual reports.
Before any EDGAR request, the code must call set_identity("Name [email protected]") — an SEC legal requirement; requests fail without it. Real-time stock prices are out of scope here; those belong to the separate market-data skill.
What it helps with
- Pull revenue and operating income from a company's latest 10-K by ticker
- Compare multi-quarter revenue trends across several companies at once
- List recent insider trades for a given stock from Form 4 filings
- Find all 8-K filings submitted in a specific quarter by form type
- Extract a balance sheet from XBRL without parsing raw filing text
Example prompts for the agent
- Show AAPL revenue and operating income from the latest 10-K
- Compare MSFT, GOOGL and AMZN revenue trends over the last five quarters
- List the ten most recent TSLA Form 4 insider transactions
How to install sec-edgar-skill
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a claude-code2Manually: put the files in place
~/.claude/skills/sec-edgar-skill/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sec-edgar-skill/
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a codex2Manually: put the files in place
.agents/skills/sec-edgar-skill/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a cursor2Manually: put the files in place
.cursor/skills/sec-edgar-skill/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install rebyteai-template/rebyte-skills sec-edgar-skill2Manually: put the files in place
.github/skills/sec-edgar-skill/SKILL.md1Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a gemini-cli2Platform CLI
gemini skills install https://github.com/rebyteai-template/rebyte-skills --path sec-edgar-skillManually: put the files in place
.devin/skills/sec-edgar-skill/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about sec-edgar-skill
How do I install sec-edgar-skill in Claude Code?
Run npx skills add rebyteai-template/rebyte-skills --skill sec-edgar-skill -a claude-code in your terminal. The agent instruction file will be placed at ~/.claude/skills/sec-edgar-skill/SKILL.md.
What does sec-edgar-skill do?
It teaches the agent to work with the SEC EDGAR filing database through EdgarTools: loading 10-K, 10-Q and 8-K reports, tracking insider trades, and comparing financial statements across companies.
Are there any prerequisites beyond installing the skill?
Yes — the Python package EdgarTools must be present: pip install edgartools. Every session also requires a set_identity() call with a name and email address before any EDGAR request, as the SEC mandates identification.