Skip to content
SkillScript-led1,620 tokens in use

Weekly Performance Digest

Turns the trades you closed in a week into one report with win rate, expectancy, profit factor, R-multiples, MAE and MFE and breakdowns by source skill, sector and exit reason.

7,432 stars on the repository MIT Licensetradermonty/claude-trading-skills · skills/weekly-performance-digest

Skill label

measured from its files

What installing Weekly Performance Digest costs

64tokens idle
1,620tokens in use
2,652tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Script-led

Script-ledMixedModel-led

Most of this skill is scripts, so it behaves much the same whichever model runs it.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: scripts/generate_weekly_digest.py.

Touches

shelldetectedwrites filesdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Good
  • Frontmatter8/15
  • Structure23/25
  • Examples9/15
  • Output10/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 47
  • Writes files−8

    does this on the machine, and the frontmatter does not say so

    scripts/generate_weekly_digest.py, line 537

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity100
  • Maintenance52
  • Community68
  • Maturity36
  • Momentum40

Weekly Performance Digest reads closed theses from the trader memory state folder and aggregates the ones whose exit date falls in a chosen week. It computes headline metrics, then attributes wins and losses across six dimensions: source skill, exit reason, thesis type, sector, mechanism tag and screening grade.

It also lists the biggest winners, losers and process lessons. The script writes a JSON record and a Markdown report, and an empty week still produces a valid zeroed report. It is pure local calculation with no API key, and it describes past results without giving advice.

What You Get

  • A JSON report and a Markdown report named by the end date of the week
  • Headline metrics: win rate, expectancy, profit factor, averages, largest winner and loser, holding days, R-multiple average and spread, MAE and MFE
  • Pattern analysis tables by source skill, exit reason, thesis type, sector, mechanism tag and screening grade
  • Top winners, top losers and process improvement notes

Common Use Cases

  • Reviewing a trading week in one page
  • Combining four weekly digests for a month-end review
  • Finding which screener or exit reason produced most of the losses

What Makes It Unique

R-multiples are calculated only when the recorded stop gives a positive risk, so gap fills and raised stops stay in P&L and win-loss counts and are left out of R averages. It is also built to feed the toolkit’s postmortem and coaching skills, with the double-counting rules for partial trims written into the method.

Under The Hood

The agent runs one Python script from the shell. The script reads thesis YAML files from the state folder that the trader memory skill writes, needs PyYAML, makes no network calls and uses no API key. It writes the JSON and Markdown reports into an output folder. A reference file explains the metric formulas.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers