# Us Govt Data

> Access official US Government records. Currently supports SEC EDGAR (financial filings) and Federal Register (rule changes). Ensures data provenance from .gov domains.

- Skill: `majiayu000/us-govt-data-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/us-govt-data-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/us-govt-data-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/us-govt-data-2

---


# US Government & Legal Data Skill

This skill allows you to retrieve official documents from US government sources, essential for due diligence and regulatory research.

## Capabilities

1.  **SEC EDGAR**: Retrieve 10-K (Annual) and 10-Q (Quarterly) filings for public companies.
2.  **Federal Register**: (Future) Check for new agency rules.

## Usage

Run the python script `fetch_filing.py` to retrieve SEC documents.

### Arguments

*   `ticker` (required): The stock symbol (e.g., AAPL, MSFT).
*   `--type` (optional): Form type (default "10-K").
*   `--count` (optional): Number of filings to retrieve (default 1).

### Example

```bash
# Get the latest 10-K for Apple
python3 fetch_filing.py AAPL --type 10-K

# Get the last 3 quarterly reports for Tesla
python3 fetch_filing.py TSLA --type 10-Q --count 3
```

## Output Format

The script outputs a JSON object containing:
*   `cik`: Central Index Key
*   `company_name`
*   `filings`: List of filing objects:
    *   `accessionNumber`
    *   `filingDate`
    *   `reportDate`
    *   `primaryDocumentUrl`: Direct link to the HTML document on sec.gov
    *   `description`

## Tips for the Agent

*   **User-Agent**: The script automatically sets a compliant User-Agent.
*   **Direct Links**: Always provide the `primaryDocumentUrl` to the user so they can verify the source.
*   **Financials**: Use the link to read the full text if specific financial data extraction is needed (this basic skill finds the document).

