pg2342-hub

Fund Commentary Worker — Data skill for Claude Code

Data community

A governed agent that drafts monthly mutual fund commentary from real SEC holdings data.

How to install Fund Commentary Worker

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pg2342-hub/fund-commentary-worker and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Fund Commentary Worker does

A governed agent that drafts monthly mutual fund commentary from real SEC holdings data. Code computes every number, Claude writes, a check blocks any figure the data does not support, and a named approver signs off.

Alternatives in Data

  • Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★
  • Aoci Code — Local-first MCP server + CLI in Go: a persistent, governed codebase index that distills code and database sche 443 ★
  • Ontopoc — OntoPoc — Ontology engineering: LLM drafts ontologies from business tables/docs; code validates against data 181 ★

README

Fund commentary worker

[![ci](https://github.com/pg2342-hub/fund-commentary-worker/actions/workflows/ci.yml/badge.svg)](https://github.com/pg2342-hub/fund-commentary-worker/actions/workflows/ci.yml)

Demo page: https://pranavgudise.dev/fund-commentary-worker/

Each quarter a fund firm writes commentary for every fund, from many portfolio teams. This worker reads each fund's SEC N-PORT filings, computes every number in code, has Claude write the draft from those numbers and the team's notes, checks the draft in code, and hands it to a named reviewer. Nothing publishes without that person.

How it runs

Each fund runs as a short sequence of states, and every state writes a JSON log, so a run can be replayed or resumed.

  1. connection pulls the fund's two latest N-PORT filings from SEC EDGAR.
  2. facts builds the fact sheet in code: quarterly return compounded from the three monthly returns, net assets, largest holdings, new positions, exits, and the biggest weight changes.
  3. draft has Claude write from the fact sheet and the team's notes. Each paragraph cites the fact ids it uses, and anything left out of the notes goes to the reviewer as a flag.
  4. check tests every number against the fact sheet and every sentence against the house rules (no guarantees, no outperformance claims, no benchmark comparisons or yields the filing cannot support). A failing draft goes back once with the reasons.
  5. handoff builds an approval request for the reviewer with the draft, the check, and the flags.

Results

Ten public mutual funds, Q3 2026 (quarter ended 2026-09-30) against Q2. Three versions of the team's notes per fund: clean notes, notes with figures the filing cannot support, and notes with a promise and last quarter's return carried over. That makes 30 cases, run 3 times. Gate: 27 of 30 on every run, and no draft sent to the reviewer as clean with an unsupported figure or a promise.

| Writer | Run 1 | Run 2 | Run 3 | Critical | Gate | |---|---|--