Sec 13f quarterly analysis

From XuShuwenn/RedAct · View interactive version

Sec 13f quarterly analysis is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Analyze SEC 13F TSV datasets to find fund accessions, compute AUM and equity counts, compare holdings across quarters, and identify top holders for a given CUSIP.

How to use this skill

Skill file

SEC 13F Quarterly Analysis

Reusable workflow to work with local, preprocessed SEC 13F datasets organized by quarter directories (e.g., 2025-q2, 2025-q3). This skill covers fuzzy manager lookup, AUM and holdings counting, quarter-over-quarter comparison for a single filer, and identifying the top managers holding a specific CUSIP.

When to Use

Activate this skill when you need to:

Core Workflow

  1. Establish dataset layout
  1. Find accession number by manager name (fuzzy)
  1. Compute AUM and equity count for a fund (one quarter)
  1. Compare two quarters for one fund
  1. Top holders for a CUSIP in a quarter
  1. Produce outputs in required schema

Verification

Common Pitfalls

Optional Script Usage

This skill includes a generic helper script scripts/sec13f_tools.py.

Examples:

python3 scripts/sec13f_tools.py search-fund --keywords "renaissance technologies" --quarter 2025-q3 --data-root /root

python3 scripts/sec13f_tools.py aum --accession 000XXXXXXX-XX-XXXXXX --quarter 2025-q3 --data-root /root

# If your dataset stores VALUE in thousands and you want dollars:

python3 scripts/sec13f_tools.py aum --accession ... --quarter 2025-q3 --data-root /root --value-scale 1000

python3 scripts/sec13f_tools.py compare --accession-new NEWACC --quarter-new 2025-q3 \

--accession-old OLDACC --quarter-old 2025-q2 --topk 5 --data-root /root

python3 scripts/sec13f_tools.py top-holders --cusip 69608A108 --quarter 2025-q3 --topk 3 --data-root /root

Success Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.