Skip to content
Back to skills

13f Analyzer Cxcscmu Skilllearnbench 2

BSecurity

Perform data analysis on SEC 13-F filing datasets (TSV format) to obtain insights about fund activities such as number of holdings, AUM, and change of holdings between two quarters. Use this skill whenever analyzing hedge fund portfolios, comparing quarterly holdings, or working with SEC EDGAR 13F data files.

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentspython

Security analysis

B75/100
  • criticalAccesses sensitive system or user directories

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill 13f-analyzer-cxcscmu-skilllearnbench-2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 13f Analyzer Cxcscmu Skilllearnbench 2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 13f Analyzer Cxcscmu Skilllearnbench 2
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-13f-analyzer-cxcscmu-skilllearnbench-2/badge)](https://www.skillsdirectory.com/skills/majiayu000-13f-analyzer-cxcscmu-skilllearnbench-2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 13f-analyzer
description: Perform data analysis on SEC 13-F filing datasets (TSV format) to obtain insights about fund activities such as number of holdings, AUM, and change of holdings between two quarters. Use this skill whenever analyzing hedge fund portfolios, comparing quarterly holdings, or working with SEC EDGAR 13F data files.
---

# 13F Filing Analyzer

## Dataset Structure

SEC 13F data comes as TSV files in quarterly folders (e.g., `/root/2025-q2/`, `/root/2025-q3/`):

| File | Purpose | Key Columns |
|------|---------|-------------|
| `COVERPAGE.tsv` | Filer metadata | `ACCESSION_NUMBER`, `FILINGMANAGER_NAME`, `REPORTCALENDARORQUARTER` |
| `INFOTABLE.tsv` | Individual holdings | `ACCESSION_NUMBER`, `NAMEOFISSUER`, `CUSIP`, `VALUE` (in thousands USD), `SSHPRNAMT` (shares) |
| `SUMMARYPAGE.tsv` | Filing summary | `ACCESSION_NUMBER`, `TABLEENTRYTOTAL` (count of holdings), `TABLEVALUETOTAL` (AUM in thousands) |

## Common Analysis Patterns

### Get Fund's Accession Number
Search `COVERPAGE.tsv` by `FILINGMANAGER_NAME` to get the fund's `ACCESSION_NUMBER` for a given quarter.

### Get AUM
Use the accession number to look up `TABLEVALUETOTAL` in `SUMMARYPAGE.tsv`. The value is in **thousands of USD**.

### Get Number of Holdings
Use `TABLEENTRYTOTAL` from `SUMMARYPAGE.tsv`.

### Compare Holdings Between Quarters
1. Get accession numbers for both quarters from COVERPAGE
2. Filter INFOTABLE by each accession number
3. Join on CUSIP and compute differences in VALUE or SSHPRNAMT
4. Rank by dollar value change (VALUE column, in thousands)

### Find Top Holders of a Stock
1. Find the stock's CUSIP from INFOTABLE (search by NAMEOFISSUER)
2. Filter all INFOTABLE rows matching that CUSIP
3. Join with COVERPAGE on ACCESSION_NUMBER to get fund names
4. Rank by VALUE (in thousands)

## Implementation Notes

- Use Python with pandas for efficient TSV processing
- TSV files use tab separator, read with `pd.read_csv(path, sep='\t')`
- INFOTABLE is large (~3M rows); filter early to reduce memory usage
- VALUE column is in thousands of USD
- ACCESSION_NUMBER is the join key across all tables
- When comparing quarters, some funds may have multiple filings (amendments); prefer non-amendment filings (`ISAMENDMENT` is empty or 'N')

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.