Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/joncovington/MEICAgentnpx agentmods add commands/joncovington/meicagent/paper-reportWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/joncovington/meicagent/paper-report)<a href="https://agentmods.dev/commands/joncovington/meicagent/paper-report"><img src="https://agentmods.dev/badge/commands/joncovington/meicagent/paper-report/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/joncovington/meicagent/paper-report"><img src="https://agentmods.dev/badge/commands/joncovington/meicagent/paper-report.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01035 |
| Opus 5.5 | $0.00000 | $0.00414 |
| Sonnet 5.5 | $0.00000 | $0.00207 |
| Haiku 4.5 | $0.00000 | $0.00103 |
Grade A, and why
paper-report scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Produce the weekly (or custom-range) paper-trading performance report, comparing all four risk profiles side by side. Covers both execution_mode='paper' (forward, live-quote) and execution_mode='replay' (historical SPX) trades in one combined view, since both write to the same data/paper_trades.db schema.
1. Gather the range summary
python src/db.py --db data/paper_trades.db get_range_summary --start <YYYY-MM-DD> --end <YYYY-MM-DD>
Default the range to the last 7 calendar days ending today (ET) unless the user specifies a different window (e.g. "since program start", "last month"). This returns profiles: { "conservative": {...}, "moderate": {...}, "aggressive": {...}, "very-aggressive": {...} }, each with total_trades, win_count/loss_count/win_rate_pct, profit_factor, avg_win/avg_loss, expectancy_per_trade, max_consecutive_losses, max_drawdown, worst_day, net_pnl, and a daily_pnl series (date, net_pnl, cumulative_pnl) per profile.
2. Compute the risk-adjusted suite
get_range_summary gives dollar P&L and drawdown; derive the ratio metrics from each profile's daily_pnl series against the $100,000 virtual bankroll convention:
- Period return for each day =
net_pnl / 100000. - Sharpe = mean(period returns) / stdev(period returns), annualized by
sqrt(252)if daily granularity. - Sortino = same, but the denominator uses only the downside deviation (stdev of negative returns only).
- Calmar = (annualized return) / (max_drawdown / 100000).
- Recovery factor = net_pnl / max_drawdown (skip if max_drawdown is 0).
Flag Sharpe > 3 or profit_factor > 4.0 as a likely overfit/curve-fit warning rather than a stronger pass — note this explicitly in the report rather than presenting it as unqualified good news.
3. Render equity + underwater curves
For each profile, build a markdown sparkline (or a compact ASCII bar sequence) from its daily_pnl.cumulative_pnl series (equity = 100000 + cumulative_pnl) and a parallel underwater curve (running peak − current equity). No plotting dependency needed — this is a text report.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 51 lines · 0 tokens per session scan A 2e9a7b4e6311
paper-report is a command published in the GitHub repository joncovington/MEICAgent (7 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,035 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
paper-report compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| paper-reportjoncovington/MEICAgent | Command | 7 | 4mo ago | MIT | A | 0 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | today | MIT | A | 14 | Claude Code |