sec-guidance
БесплатноБез исполняемых скриптовНе проверенExtract management guidance from SEC filings (10-K/10-Q, and 20-F/40-F/6-K for foreign private issuers) with verifiable inline citations and an honest recall…
от tinghao07241 120 установок в других каталогахОб этом скилле
SEC Guidance Extractor
Ask what management said about the future — revenue, margins, outlook — and get
an answer grounded in the actual SEC filing, with inline [n] citations you
can click back to the source. Every run ends with a recall check that
tells you, honestly, which guidance-dense passages the retriever did not
surface — so you know what you're not seeing, instead of trusting a black box.
What makes the retrieval trustworthy:
- Section-aware — the filing is split into its real SEC sections (MD&A, Results of Operations, Outlook, Forward-Looking Statements, Risk Factors) and forward-looking prose is boosted, so a revenue history table no longer outranks the revenue outlook paragraph.
- Verifiable, not generative — answers cite numbered passages; the model is told to say "not in the filing" rather than speculate, and never to give trading advice.
Handles domestic filers (10-Q/10-K) and foreign private issuers (20-F/40-F/6-K)
via --form auto.
Try it in 5 seconds — no key, no install
python sec_guidance_light.py --demo AAPL
Runs the full pipeline on a bundled cached Apple 10-Q — no network, no API key, no third-party packages (BM25 is pure Python). This is the fastest way to see real output before committing to setup.
Revision detection (--diff) — the signal, not the level
A guidance level is a data point. The tradeable object is the revision:
management raising, cutting, narrowing, or quietly dropping a metric versus
what they themselves said last quarter. --diff compares the two most recent
guidance-bearing filings and emits graded revision events:
python extract_guidance.py --ticker SGI --diff
🔴 GUIDANCE REVISION — SGI: FY2026 adjusted EPS guide narrowed from the top,
cutting ceiling $3.15→$2.95; implied YoY growth decelerates from ~11% to ~7%.
8-K 2026-11-09 vs 8-K 2026-08-06
🔴 FY2026 adjusted EPS: $2.85 to $3.15 → $2.85 to $2.95 [LOWERED -3.3%]
(current_fy, unclear)
Floor held, ceiling cut $0.20
prior: "...range of $2.85 to $3.15, ... approximate 11% increase from 2025..."
new: "...range of $2.85 to $2.95, ... approximate 7% increase from 2025..."
Where it looks: quarterly guidance updates live in 8-K Item 2.02 earnings
releases (the EX-99 exhibits), not the 10-Q — so --diff targets the two
most recent Item 2.02 8-Ks (exhibit text fetched via the filing index's Type
column) and falls back to 10-Q/10-K MD&A for companies that don't file them.
Snapshots are cached per accession under ~/.cache/sec-guidance/snapshots/,
so repeat diffs are one cheap comparison call.
Each change is classified as RAISED / LOWERED / NARROWED / WIDENED / REAFFIRMED / INITIATED / WITHDRAWN / DROPPED (a metric management guided on last time and no longer guides on), with midpoint magnitude, horizon (current quarter / current FY / long-dated), attribution when the filing states a reason, and a significance grade.
Output is events, not advice: direction, magnitude, horizon, attribution,
significance, and verbatim quotes from both filings so every claim is
verifiable. --diff --json emits the same as structured JSON (plus both
snapshots) for piping into your own process.
Watch mode (where the timeliness comes from)
An ad-hoc diff is a post-mortem; a scheduled one is a signal. Cron recipe for your own watchlist — quiet unless something actually changed:
#!/bin/sh
# guidance-watch.sh — run daily after market open
for T in SGI CEG WING; do
OUT=$(python extract_guidance.py --ticker "$T" --diff --json 2>/dev/null)
echo "$OUT" | python -c "
import json,sys
d=json.load(sys.stdin)
ev=[e for e in d['events'] if e['direction'] not in ('REAFFIRMED',)]
if ev and d['overall']!='LOW':
print(f\"{d['ticker']}: {d['summary']}\")" \
# pipe non-empty output to mail / Slack / your notifier
done
Snapshot caching makes this cheap: a day with no new filing re-diffs two cached snapshots; the LLM extraction only runs when a new accession appears.
Quickstart (light mode — live EDGAR)
pip install -r requirements.txt # requests + beautifulsoup4 (+ anthropic for answers)
export ANTHROPIC_API_KEY=sk-ant-... # or OPENAI_API_KEY; optional, see below
python extract_guidance.py --ticker AAPL
No Docker, no Elasticsearch, no Ollama.
No API key? It still runs: prints the top-ranked, section-labeled passages with quotes and the recall check, and tells you which key unlocks synthesized answers.
When to invoke
- User asks what management said about future revenue, earnings, margins, or outlook
- User asks for guidance from an SEC filing (10-K, 10-Q, 20-F, 6-K)
- User asks "what is [company]'s guidance for next quarter?"
- User wants forward-looking statements or risk factors from SEC filings
- User asks whether a company raised/cut/changed its guidance, or what changed
vs last quarter → use
--diff
When NOT to invoke (boundaries)
- **Stock price
Установить sec-guidance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл sec-guidance?
Extract management guidance from SEC filings (10-K/10-Q, and 20-F/40-F/6-K for foreign private issuers) with verifiable inline citations and an honest recall check — and detect guidance REVISIONS (--diff) by comparing consecutive earnings 8-Ks and emitting graded events (raised/lowered/narrowed/dropped, with magnitude, horizon, and verbatim quotes). Self-contained (EDGAR + pure-Python BM25 + Claude/OpenAI or local claude CLI). Optional heavy mode delegates to a local RAG pipeline.
Как установить скилл sec-guidance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sec-guidance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub