us-govt-data

Retrieves SEC and Federal Register documents with provenance for regulatory research.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/joshuaroll/research-skills --skill us-govt-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: us-govt-data
Source: https://github.com/joshuaroll/research-skills/tree/main/skills/us-govt-data
Command: npx skills add https://github.com/joshuaroll/research-skills --skill us-govt-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests.

What problem does it solve?

This skill enables researchers and teams to securely fetch official US government documents (e.g., SEC EDGAR filings, Federal Register notices) with provenance, reducing manual search time and ensuring data integrity.

Core Features & Use Cases

  • SEC EDGAR retrieval: fetch 10-K and 10-Q filings with direct links to primary documents.
  • Federal Register access: check for new agency rules and regulatory updates.
  • Text extraction: convert HTML filings to plain text for analysis.
  • Section targeting: automatically extract sections like Risk Factors or MD&A.
  • Company search: query by company name or ticker when exact tickers are known.

Quick Start

Get the latest Apple 10-K: python3 fetch_filing.py "AAPL" --type 10-K Retrieve Google risk factors: python3 fetch_filing.py "Google" --type 10-K --section risk Fetch Tesla 10-Q with clean text: python3 fetch_filing.py TSLA --type 10-Q --clean-text

Frequently Asked Questions about us-govt-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve SEC EDGAR filings with data provenance for due diligence?

To retrieve SEC EDGAR filings with data provenance, query by company name or ticker to fetch official 10-K or 10-Q documents. This process ensures data integrity by providing direct links to primary source documents for regulatory research.

How do I extract specific sections like Risk Factors from a 10-K filing?

You can extract specific sections like Risk Factors from a 10-K filing by using the section targeting feature. This automatically isolates and extracts targeted portions of the document, converting the relevant HTML filing to plain text for analysis.

Can I check Federal Register notices for new agency rules using a CLI?

Yes, you can check Federal Register notices for new agency rules using the provided CLI. It accesses official US government records to fetch regulatory updates, supporting text extraction tasks for compliance research.

Do I need the requests library to convert HTML filings to plain text?

Yes, the requests library is required as a dependency to retrieve official US government documents. Once fetched, the tool performs HTML-to-text extraction to convert the filings into clean plain text for analysis.

What's the best way to fetch a 10-Q filing by ticker symbol?

The best way to fetch a 10-Q filing by ticker symbol is to run the CLI command with the ticker and document type. This retrieves the official SEC filing and provisions the primaryDocumentUrl directly for your research workflow.