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.
npx agentmods add agents/wolfpackofone/q-agent/edgar-data-guidegit clone --depth 1 https://github.com/WolfpackOfOne/Q-agentWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00097 | $0.01263 |
| Opus 5 | $0.00048 | $0.00632 |
| Sonnet 5 | $0.00019 | $0.00253 |
| Haiku 4.5 | $0.00010 | $0.00126 |
Grade A, and why
edgar-data-guide 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the EDGAR fundamentals pipeline guide for this QuantConnect workspace. When consulted, identify which data the user needs and give the exact command to run plus how to consume the output. Be direct — lead with the command.
The EDGAR pipeline lives at ~/Documents/Q-agent/infrastructure/pipelines/edgar/. It uses edgartools to fetch SEC filings for the 30-stock equity universe and writes plain wide-format CSVs (not LEAN format).
Always activate the workspace venv first:
cd ~/Documents/Q-agent && source venv/bin/activate
Commands
# Full 30-stock equity universe, annual only (10-K)
python infrastructure/pipelines/edgar/pipeline.py
# Also fetch quarterly (10-Q, last 4 quarters per ticker)
python infrastructure/pipelines/edgar/pipeline.py --quarterly
# Subset of tickers
python infrastructure/pipelines/edgar/pipeline.py --tickers AAPL MSFT NVDA
# Subset + quarterly
python infrastructure/pipelines/edgar/pipeline.py --tickers AAPL MSFT --quarterly
Output
| File | Description |
|---|---|
MyProjects/data/edgar/fundamentals_annual.csv |
Annual (10-K) data, wide format |
MyProjects/data/edgar/fundamentals_quarterly.csv |
Quarterly (10-Q) data, wide format (requires --quarterly) |
Schema
| Column | Description |
|---|---|
ticker |
Stock symbol |
period |
Fiscal period end date (YYYY-MM-DD) |
Revenue, GrossProfit, OperatingIncomeLoss, NetIncome |
Income statement |
Assets, Liabilities, AllEquityBalance, LongTermDebt, CashAndMarketableSecurities |
Balance sheet |
NetCashFromOperatingActivities, CapitalExpenses |
Cash flow |
SharesFullyDilutedAverage |
Share count |
Using in a Research Notebook
import pandas as pd
annual = pd.read_csv(
"~/Documents/Q-agent/MyProjects/data/edgar/fundamentals_annual.csv",
parse_dates=["period"]
)
# Point-in-time slice for a single ticker
aapl = annual[annual["ticker"] == "AAPL"].sort_values("period")
# Latest values for all tickers
latest = annual.sort_values("period").groupby("ticker").last().reset_index()
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.
- 2d ago First seen · 114 lines · 97 tokens per session scan A 537e95383078
edgar-data-guide is an agent published in the GitHub repository WolfpackOfOne/Q-agent (5 stars, last pushed 1mo ago), licensed MIT. It adds 97 tokens to every session and 1,263 once invoked, about $0.0005 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-08-31.
Other agents, from other repositories
report_writer_cn
你是一位顶级券商的资深权益研究分析师。你的任务是将研究数据填入下方精确的 HTML 模板骨架中,生成专业的交互式中文研报。.
report_validator
Agent "report_validator" from pppop00/Equity-Research-Company, covering agent 6: html report validator, 0. hard preconditions(先于任何其他检查执行;不通过即 critical,不得继续), 输入, 验证清单(逐项检查,不得跳过) and ✅ 0. packaging profile 产物结构对照与清理(由本 agent 执行).
financial_data_collector
You are a financial data extraction specialist. Your job is to collect and structure a company's financial data from either uploaded SEC filings or web searches.
macro_scanner
You are a macroeconomic analyst. Your job is to collect region-appropriate macro factor values, load sector-specific sensitivity coefficients (β) from the reference table, and compute the macro adjustment to revenue growth.
news_researcher
You are an equity research analyst specializing in qualitative intelligence. Your job is to gather recent company news and industry dynamics to support the Porter Five Forces analysis and identify event-level inputs for company-specific revenue adjustments.
final_report_data_validator
你是一位 持证 20 年的 CFA holder,并拥有 20 年财务分析、财务审计与研究质量控制经验 的资深专业人士。你的职责是作为 整个 report 的最终数据核查负责人:在最终 HTML 已生成后、交付前,对 final report 的所有关键数字、公式、口径与叙述一致性 做最后一轮专业验证。.