trader-memory-core

Track investment theses through lifecycle transitions and generate postmortems.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Dorpeer95/stocks-trading --skill trader-memory-core-dorpeer95
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: trader-memory-core
Source: https://github.com/Dorpeer95/stocks-trading/tree/main/.claude/skills/trader-memory-core
Command: npx skills add https://github.com/Dorpeer95/stocks-trading --skill trader-memory-core-dorpeer95

SYSTEM DOCUMENTATION & REQUIREMENTS

πŸ’‘ This Skill requires pyyaml, jsonschema, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Persistent state layer that bundles screening β†’ analysis β†’ position sizing β†’ portfolio management outputs into a single "thesis object" per investment idea. It tracks what you thought, what happened, and what you learned across conversations.

Core Features & Use Cases

  • Ingest screener outputs to create thesis objects and attach provenance data for auditability.
  • Manage lifecycle transitions IDEA β†’ ENTRY_READY β†’ ACTIVE β†’ CLOSED/INVALIDATED, with optional position sizing and linked reports.
  • Generate postmortems with P&L and MAE/MFE analysis, and maintain a trading journal.
  • Ensure forward-only transitions and atomic writes for data integrity.

Quick Start

Register a new thesis from a screener output and manage its lifecycle from IDEA to postmortem.

Frequently Asked Questions about trader-memory-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I track an investment thesis from screening through postmortem?β–Ό

Track an investment thesis by registering a persistent state object that moves through lifecycle transitions: IDEA, ENTRY_READY, ACTIVE, CLOSED, or INVALIDATED. The workflow bundles screening, position sizing, and postmortem outputs into a single thesis object.

What is MAE/MFE analysis in a trading journal postmortem?β–Ό

MAE/MFE analysis in a trading journal postmortem records maximum adverse excursion and maximum favorable excursion alongside P&L. It evaluates thesis performance after a position reaches CLOSED or INVALIDATED state, capturing what happened and what you learned.

How do I prevent duplicate investment ideas in portfolio management?β–Ό

Prevent duplicate investment ideas by generating a reproducible fingerprint for each thesis object during registration. This mechanism preserves provenance data and enforces atomic writes to ensure data integrity across screening and analysis workflows.

Can I reverse a lifecycle transition if an active investment thesis is invalidated?β–Ό

Lifecycle transitions are forward-only, meaning you cannot reverse a state change once a thesis moves from IDEA to ENTRY_READY, ACTIVE, CLOSED, or INVALIDATED. This constraint enforces portfolio management discipline and maintains a reliable audit trail.

Does position sizing work with the thesis tracking workflow?β–Ό

Position sizing is an optional step within the thesis tracking workflow, applied when transitioning from ENTRY_READY to ACTIVE. It links sizing outputs directly to the investment thesis object for portfolio management and postmortem analysis.

Why does thesis tracking require atomic writes and provenance preservation?β–Ό

Thesis tracking requires atomic writes and provenance preservation to ensure data integrity and auditability across state transitions. This guarantees that screening outputs, position sizing, and postmortem data remain linked and reproducible within the persistent state layer.