Fund Commentary Worker — Data skill for Claude Code
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
[](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.
- connection pulls the fund's two latest N-PORT filings from SEC EDGAR.
- 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.
- 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.
- 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.
- 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 | |---|---|--
Related Skills
Monthly Report Agent
AI2C class demo · [AI-Education/HKIC · demo] AI drafts · Human checks · Human signs — a governed agentic workf
Generate Meta Data
Generate and update structured metadata files (.{filename}.meta.md and .dir.meta.md) for files and directories
Data Pipeline Commentary Agent
An AI automation built with n8n and the Claude API: it watches a PostgreSQL table and a folder for new data, a
Catalyst Calendar
Scans all holdings and watchlist stocks for upcoming binary events over the next 4 weeks (interim reports, reg
/improve
looks at your recent git history, session data, and current CLAUDE.md to figure out what instructions are miss
Cross Model Agents
Bidirectional adversarial review between Claude Code (Opus 4.7) and Codex CLI (GPT-5.5). 31 agents, 4 skills,
Related Agents
Value Chain Mapper
Reads one ETF's actual holdings, classifies each into the theme's value chain, and computes the ETF's chain we
Mops Measurement
The numbers authority for any client account run on the marketing-operations fleet. Dispatch for any task that
Sec Code
Source code security reviewer (white-box). Reads the code paths named by sec-lead and reports weaknesses with