← 返回 Skills 市场
lkcair

SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance

作者 lkcair · GitHub ↗ · v1.2.3 · MIT-0
cross-platform ✓ 安全检测通过
128
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install sec
功能描述
AI-Powered SEC Filing Integration skill. 17+ SEC filing tools for 10-K, 10-Q, 8-K, 13D/13G, insider transactions, proxy statements, company facts, and more....
使用说明 (SKILL.md)

SEC Skill

17+ SEC filing tools. 10-K, 10-Q, 8-K, beneficial ownership (13D/13G), insider trading, proxy statements, company facts, and more.

Github Open-Source

Please star Github if you like the skill.

https://github.com/lkcair/sec-finance-ai

Also available on OpenWebUI.

Also try Stocks and Crypto Finance Data Pull

https://github.com/lkcair/yfinance-ai

Available on OpenClaw as "openclaw skills install stocks"

Also open-source.


Setup (Run once)

From the skill directory:

python3 -m venv .venv
.venv/bin/python3 -m pip install -r requirements.txt

Windows: use .venv\Scripts\python.exe instead of .venv/bin/python3.

One-Shot Invocation Pattern (Works every time)

cd /home/openclaw/.openclaw/workspace/skills/sec && \
/home/openclaw/.openclaw/workspace/skills/sec/.venv/bin/python3 - \x3C\x3C 'PY'
import asyncio, sys
sys.path.insert(0, 'scripts')
from sec_finance_ai import Tools
t = Tools()
async def main():
    result = await t.METHOD(ARGS)
    print(result)
asyncio.run(main())
PY

Replace METHOD(ARGS) with any function below. Always use the full venv path above.


Common Calls (GME examples)

Need Method
Latest 10-K get_latest_10k(ticker='GME')
Latest 10-Q get_latest_10q(ticker='GME')
Recent 8-K filings get_recent_8k_filings(ticker='GME', limit=3)
Beneficial ownership (13D/13G) get_beneficial_ownership(ticker='GME')
Company filings index get_company_filings(ticker='GME', form_type='10-K', limit=5)
Insider transactions get_insider_transactions(ticker='GME')
Proxy statements (DEF 14A) get_proxy_statements(ticker='GME')
Company facts / XBRL get_company_facts(ticker='GME')
Search filings search_filings(ticker='GME', form_type='8-K')
Self-test all tools run_self_test()

All Available Functions

  • get_latest_10k(ticker)
  • get_latest_10q(ticker)
  • get_recent_8k_filings(ticker, limit=5)
  • get_beneficial_ownership(ticker)
  • get_insider_transactions(ticker)
  • get_proxy_statements(ticker)
  • get_company_filings(ticker, form_type=None, limit=10)
    (form_type can be: '10-K', '10-Q', '8-K', '13D', '13G', 'DEF 14A', etc. — accepts list or string)
  • get_company_facts(ticker)
  • get_company_concept(ticker, concept)
  • get_filing_content(url) — retrieve full text of any filing URL
  • analyze_8k_filing(ticker, limit=3)
  • get_recent_ipos(limit=10)
  • search_filings(ticker, form_type=None, start_date=None, end_date=None, limit=10)
  • get_sec_api_status() — check SEC endpoint health
  • get_available_functions() — list all tools programmatically
  • run_self_test() — validate environment + SEC connectivity

Routing Guide (Agent Decision Tree)

  • Latest annual report → get_latest_10k
  • Latest quarterly report → get_latest_10q
  • Recent material events → get_recent_8k_filings or analyze_8k_filing
  • Major shareholders / activist investors → get_beneficial_ownership
  • Executive buying/selling → get_insider_transactions
  • Director elections & compensation → get_proxy_statements
  • Full filing history → get_company_filings
  • Structured XBRL data → get_company_facts
  • New IPO filings → get_recent_ipos

Notes

  • All functions are async — wrap with asyncio.run(main())
  • Data comes directly from SEC EDGAR (public, no API key required)
  • Rate limiting is handled internally (compliant with SEC guidelines)
  • CIK lookup is automatic — supports ticker or direct CIK
  • Works on Linux, macOS, and Windows (adjust venv path for Windows)
  • Important: SEC requires a valid User-Agent. The skill auto-handles this, but if you get 403 errors, check/edit SEC_HEADERS inside scripts/sec_finance_ai.py.

Troubleshooting

  • ModuleNotFoundError → You are not using the venv interpreter. Use the full path: /home/openclaw/.openclaw/workspace/skills/sec/.venv/bin/python3
  • 403 Forbidden → Update the User-Agent inside scripts/sec_finance_ai.py (SEC_HEADERS)
  • Empty results → Very recent filings may take 24–48h to appear in EDGAR. Try an older ticker.

Quick Validation

Run this anytime to confirm everything works:

cd /home/openclaw/.openclaw/workspace/skills/sec && \
/home/openclaw/.openclaw/workspace/skills/sec/.venv/bin/python3 - \x3C\x3C 'PY'
import asyncio, sys
sys.path.insert(0, 'scripts')
from sec_finance_ai import Tools
t = Tools()
async def main():
    print(await t.run_self_test())
asyncio.run(main())
PY
安全使用建议
This looks like a benign public SEC filing retrieval skill. Before installing, be comfortable with running its Python script and installing its dependencies in a virtual environment, and update the SEC User-Agent contact information if needed.
功能分析
Type: OpenClaw Skill Name: sec Version: 1.2.3 The 'sec' skill is a legitimate and well-documented tool for retrieving financial data and filings from the SEC EDGAR database. The code in `scripts/sec_finance_ai.py` implements standard programmatic access patterns, including mandatory User-Agent headers and rate limiting to comply with SEC guidelines. All network activity is restricted to official SEC domains (sec.gov and data.sec.gov), and the skill lacks any indicators of data exfiltration, unauthorized execution, or malicious intent. The instructions in `SKILL.md` are consistent with the tool's stated purpose of providing AI-powered financial analysis.
能力标签
cryptocan-make-purchasesrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose and visible artifacts are coherent: the skill retrieves public SEC EDGAR filings, company facts, insider forms, and related filing data. No account mutation, trading, purchasing, or credential use is shown in the provided artifacts.
Instruction Scope
The instructions tell the agent/user to invoke methods through a local Python one-shot pattern. This is purpose-aligned for an instruction-only Python skill, but users should understand that it runs local code.
Install Mechanism
The skill has no formal install spec, but SKILL.md instructs creating a virtual environment and installing requirements with pip. Dependencies use lower-bound version ranges rather than pinned hashes or a lockfile.
Credentials
The skill makes network requests to SEC endpoints and sends a User-Agent header, which is expected for SEC EDGAR access. The artifacts state that no API key is required.
Persistence & Privilege
No background persistence, privileged install, credential storage, or autonomous long-running behavior is shown. The main local state is the user-created virtual environment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sec
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sec 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.3
- Minor documentation cleanup in SKILL.md for clarity and formatting. - No code changes or functional updates in this version.
v1.2.2
- Added references to GitHub open source and OpenWebUI availability. - No changes to code or core functionality; documentation only update.
v1.2.1
- Major SKILL.md overhaul: rewritten and condensed documentation for clarity and ease of use - Updated skill name and description; tool count now 17+ - Revised example commands and invocation instructions with simplified, reliable one-shot pattern - Updated function list, reflecting current toolset and category explanations - Enhanced agent routing guide and troubleshooting sections - User-Agent guidance, validation, and environment checks made more prominent
v1.2.0
- Major documentation update: Expanded SKILL.md with detailed setup, usage examples, routing guidance, and function summaries. - Clarified virtual environment setup and reliability tips for command execution across operating systems. - Added comprehensive quick-start guide and agent integration template. - Listed all available SEC filing retrieval and analysis methods by category. - Provided troubleshooting tips and important usage notes for consistent, error-free operation.
元数据
Slug sec
版本 1.2.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance 是什么?

AI-Powered SEC Filing Integration skill. 17+ SEC filing tools for 10-K, 10-Q, 8-K, 13D/13G, insider transactions, proxy statements, company facts, and more.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 128 次。

如何安装 SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install sec」即可一键安装,无需额外配置。

SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance 是免费的吗?

是的,SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance 支持哪些平台?

SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SEC Data Pull Forms 10K, 10Q, 8K and others fillings for companies and stocks - Finance?

由 lkcair(@lkcair)开发并维护,当前版本 v1.2.3。

💬 留言讨论