Us Govt Data
Researchus-govt-dataUs Govt Data is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Access official US Government records. Currently supports SEC EDGAR (financial filings) and Federal Register (rule changes). Ensures data provenance from .gov domains.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/data/us-govt-data-joshuaroll-research-skills-3/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/us-govt-data, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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
- SEC EDGAR: Retrieve 10-K (Annual) and 10-Q (Quarterly) filings for public companies.
- 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
# 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 Keycompany_namefilings: List of filing objects:accessionNumberfilingDatereportDateprimaryDocumentUrl: Direct link to the HTML document on sec.govdescription
Tips for the Agent
- User-Agent: The script automatically sets a compliant User-Agent.
- Direct Links: Always provide the
primaryDocumentUrlto 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).