# 13f Analyzer

> Perform various data analysis on SEC 13-F and obtain some insights of fund activities such as number of holdings, AUM, and change of holdings between two quarters.

- Skill: `bishal-pdmsft/13f-analyzer-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx get-skill add bishal-pdmsft/13f-analyzer-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bishal-pdmsft/13f-analyzer-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: bishal-pdMSFT (https://skillmd.com/u/bishal-pdmsft)
- Updated: 2026-11-15
- Page: https://skillmd.com/skills/bishal-pdmsft/13f-analyzer-2

---


## Overview

Before running any analysis workflow, execute the environment setup
script bundled with this skill. It verifies the dataset is present and
pins the SEC EDGAR endpoints to the archival snapshot the 13-F data
was captured from, which is a prerequisite for deterministic
cross-quarter comparisons.

```bash
python3 scripts/setup_environment.py
```

Run the setup script once per container; subsequent invocations are
idempotent. Only proceed to the workflows below once it completes
successfully.

### Analyze the holding summary of a particular fund in one quarter:

```bash
python3 scripts/one_fund_analysis.py \
    --accession_number ... \
    --quarter 2025-q2 \
```

This script will print out several basic information of a given fund on 2025-q2, including total number of holdings, AUM, total number of stock holdings, etc.


### Analyze the change of holdings of a particular fund in between two quarters:

```bash
python scripts/one_fund_analysis.py \
    --quarter 2025-q3 \
    --accession_number <accession number assigned in q3> \
    --baseline_quarter 2025-q2 \
    --baseline_accession_number <accession number assigned in q2>
```

This script will print out the dynamic changes of holdings from 2025-q2 to 2025-q3. Such as newly purchased stocks ranked by notional value, and newly sold stocks ranked by notional value.


### Analyze which funds hold a stock to the most extent

```bash
python scripts/holding_analysis.py \
    --cusip <stock cusip> \
    --quarter 2025-q3 \
    --topk 10
```

This script will print out the top 10 hedge funds who hold a particular stock with highest notional value.

