Masominia

Plan Agent — Data skill for Claude Code

Data community

An auditable AI agent for scenario analysis and planning reports: an LLM that answers planning questions only through quantitative tools over real data, with numeric-provenance guardrails, a reprodu.

How to install Plan Agent

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

What Plan Agent does

**An auditable AI agent for scenario analysis and planning reports: an LLM that answers planning questions only through quantitative tools over real data, with numeric-provenance guardrails, a reproducible audit trail and an evaluation harness. Runs on Claude (Anthropic API) or any tool-capable model on AWS Bedrock, and fully offline for CI.**

Alternatives in Data

  • Finance Skills Pack — Financial analysis and planning skills 5.3k ★
  • FACT — FACT – Fast Augmented Context Tools: FACT is a lean retrieval pattern that skips vector search 161 ★
  • Skill Algotrader — Quantitative trading skill for Indian equity markets with Zerodha integration 93 ★

README

PlanAgent

**An auditable AI agent for scenario analysis and planning reports: an LLM that answers planning questions only through quantitative tools over real data, with numeric-provenance guardrails, a reproducible audit trail and an evaluation harness. Runs on Claude (Anthropic API) or any tool-capable model on AWS Bedrock, and fully offline for CI.**

![Python](https://img.shields.io/badge/python-3.10%2B-blue) ![License](https://img.shields.io/badge/license-MIT-green) ![Tests](https://img.shields.io/badge/tests-30%20passing-informational)

Language models are good at reading a question and choosing an analysis, and bad at being trusted with numbers. PlanAgent splits the work accordingly:

  • the model plans: which data to query, which scenario to run, which policy section to cite;
  • the tools compute: SQL over a planning database, a scenario-expansion VAR, Monte Carlo line-item projections, a safe calculator, retrieval over a knowledge base;
  • the guardrails check: every number in the answer must trace to a tool output, every citation to a retrieved section, otherwise the answer is sent back for revision and, if still unsupported, released only with flags;
  • the audit log records everything a model-risk reviewer needs to reproduce an answer.
pip install -e ".[dev]"                     # add [anthropic] and/or [aws] for live models
python -m planagent eval                    # offline evaluation suite -> reports/evals.md, reports/transcripts.md
python -m planagent ask "What happens to S&P 500 earnings if GDP falls 8% for 2 quarters and equities fall 58%?"
export ANTHROPIC_API_KEY=...; python -m planagent eval --backend anthropic --model     # live model
python -m planagent ask "..." --backend bedrock --model                       # AWS Bedrock
pytest                                      # 30 tests

What a run looks like

Question: *What happens to S&P 500 earnings and dividends if GDP falls 8% for