Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/us-govt-data-joshuaroll-research-skills-3
SKILL.md
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.
- Text Extraction: Convert HTML filings to raw text for analysis.
- Section Targeting: Extract specific sections like "Risk Factors" automatically.
- Company Search: Query by name (e.g., "Google" for Alphabet Inc.) if ticker is unknown.
Usage
Run the python script fetch_filing.py to retrieve SEC documents.
Arguments
ticker(required): The stock symbol (e.g., AAPL) or partial company name.--type(optional): Form type (default "10-K").--count(optional): Number of filings to retrieve (default 1).--clean-text(optional): Set this flag to download and strip HTML tags.--section(optional): "risk" (Risk Factors) or "mda" (Management Discussion). Implies--clean-text.
Example
# Get the text of "Risk Factors" for Google
python3 fetch_filing.py "Google" --type 10-K --section risk
# Get text for Tesla 10-Q
python3 fetch_filing.py TSLA --type 10-Q --clean-text
Output Format
The script outputs a JSON object containing:
- cik: Central Index Key
company_name- filings:
primaryDocumentUrl: Direct link to the HTML document.content: The extracted text (truncated or fully extracted section).
Tips for the Agent
- HTML takes space: Only use
--clean-textif you plan to read the content. It makes the requested slower (extra HTTP call). - Name Search: You can now pass "Microsoft" instead of "MSFT".
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?