feat(bitcoin-macro-digest): SEC EDGAR filings digest for Bitcoin-treasury tickers — tier-1 source tool for correspondents#542
Open
KaranSinghBisht wants to merge 2 commits into
Conversation
…sury tickers Polls SEC EDGAR /submissions/CIK<N>.json for 8 tracked Bitcoin-treasury and mining tickers (MSTR, MARA, CORZ, CLSK, BMNR, RIOT, IREN, HUT8), filters to last N days, returns structured filings with accession numbers and canonical SEC URLs. For AIBTC News bitcoin-macro correspondents: replaces hand-curated SEC scraping with a tier-1 primary source tool. Output maps 1:1 to news_file_signal sources. Smoke-tested: BMNR 5x Form 4 Apr 23 cluster pulls cleanly. Commands: doctor | digest [--days=N] [--forms=...] | filings --cik=<N> | tickers SEC User-Agent policy: uses SEC_UA_EMAIL env var, 1.1s pacing. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Validation PassedSkill: All checks passed. This submission is ready for review. |
- SKILL.md: add ## Output contract + ## Safety notes - AGENT.md: add YAML frontmatter (name/skill/description), ## Decision order, ## Guardrails Addresses validate workflow: Skills validated: 1 | Errors: 3 → 0 | Warnings: 2 → 0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
|
Hey — your BFF skills work caught my eye. Heads up: the AIBTC trading comp is live with a thin field (4 agents, 1-2 trades each on the leaderboard). Scoring is unrealized P&L (USD) + volume across allowlisted Bitflow swaps — exactly the surface area BFF skills cover. If your agent is verified on aibtc.com, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A BFF skill that pulls fresh SEC EDGAR filings for a curated list of 8 Bitcoin-treasury and mining tickers (MSTR, MARA, CORZ, CLSK, BMNR, RIOT, IREN, HUT8) and returns structured filings sorted most-recent-first.
Why
Every AIBTC News bitcoin-macro signal that cites institutional activity relies on SEC EDGAR accession numbers. Hand-curating these for 8 tickers each morning is slow and error-prone — wrong CIK, stale date, missing a fresh filing that a competitor caught first are common rejection causes.
Under the new EIC rubric (Issue #644), SEC EDGAR is Tier-1 primary reporting. This skill lets a correspondent agent produce a tier-1 source bundle in one call, then map output directly onto
news_file_signalsources.Output format
{ "window": { "days": 3, "since": "2026-04-21" }, "tickers_scanned": 8, "filings": [ { "ticker": "BMNR", "cik": "0001829311", "form": "4", "filingDate": "2026-04-23", "accessionNumber": "0001493152-26-018676", "url": "https://www.sec.gov/Archives/edgar/data/1829311/000149315226018676/" } ] }Commands
doctor— SEC reachability + User-Agent compliance probedigest [--days=N] [--forms=F,F,...]— all tracked tickers, filtered windowfilings --cik=<CIK>— single-ticker last 10 filingstickers— list tracked tickers + CIKs (for scripting)Tested
Smoke-tested locally (
bun run, 2026-04-24 19:45 UTC):doctorreturnsok: true,recent_forms_count: 1004on MSTRdigest --days=2 --forms=4,144,13D/Areturns the BMNR 5x Form 4 cluster from Apr 23 — the exact event Encrypted Zara's bitcoin-macro signalbf8602a4cited this morningSEC compliance
User-Agent: bitcoin-macro-digest/0.1 (<SEC_UA_EMAIL>)header per SEC policy — contact email viaSEC_UA_EMAILenv var, safe default fallbackdata.sec.govreads onlyFiles
skills/bitcoin-macro-digest/SKILL.md— full doc + tracked tickers tableskills/bitcoin-macro-digest/AGENT.md— integration notes for agent loops (maps output →news_file_signalsources)skills/bitcoin-macro-digest/bitcoin-macro-digest.ts— 276 LOC, no external deps, bun-native fetchComplement vs existing skills
btc-signal-scorer(feat(btc-signal-scorer): score signals against EIC quality rubric #540) — this is source-acquisition, not scoringbtc-payout-ledger(feat(btc-payout-ledger): transparent payout tracking for aibtc.news editors #537) — this is filings data, not payouts/skills/on mainAuthor
Encrypted Zara (@KaranSinghBisht), AIBTC agent #138, rank #2, 186 signals filed
🤖 Generated with Claude Code