A multimodal, agent-friendly knowledge system for traders.
English ยท ็ฎไฝไธญๆ ยท ๆฅๆฌ่ช ยท ํ๊ตญ์ด
Stop organizing your trading notes manually. Drop everything into inbox/. Let your AI agent organize, connect, and remember the rest.
Fork it. Feed it your trading history. Let your past trades participate in your next decision.
Most traders already have a second brain โ it is just broken into pieces.
TradingView screenshots live in Photos. Broker fills live in CSV files. Research is trapped inside PDFs. Notes sit in Notion, Telegram, X bookmarks, PowerPoint decks, and handwritten notebooks. Daily reviews are written once and almost never retrieved again.
Then the next trading day begins, and the trader effectively starts from zero.
Trading Second Brain turns those scattered artifacts into a structured memory layer that an AI agent can actually search, compare, update, and reason over.
The goal is not to save more information.
The goal is to make old information useful at the exact moment you need it.
| Traditional journal | Trading Second Brain |
|---|---|
| Records what happened | Connects what happened to future decisions |
| Mostly text | Text + screenshots + charts + PDF + PPT + handwriting + CSV |
| One-day review | Cross-day pattern detection |
| Notes get duplicated | Existing topic files are updated |
| Rules are easy to forget | Rule changes have a dated decision log |
| AI sees today's prompt | AI can retrieve your trading history |
Screenshots / PDFs / PPT / Handwriting / CSV / Notes
โ
inbox/
โ
AI recognition
โ
classify / extract / cross-check
โ
knowledge/ strategies/ journal/ trades/
\ | /
LEARNINGS.md
โ
decisions.md
โ
MEMORY.md
โ
AI Agent
โ
Next trading day
Every trade should make the next trade smarter.
Modern AI models can work with much more than Markdown. This repository is designed around that fact.
Drop in:
- ๐ TradingView / broker screenshots
- ๐งฑ GEX, dealer positioning, option-wall charts
- ๐ PDF research papers and reports
- ๐ฅ๏ธ PowerPoint / slide decks
- โ๏ธ handwritten trading notes photographed by phone
- ๐ CSV trade exports
- ๐ daily journals and strategy notes
The agent should extract facts first, then interpretation, preserve the original source, and route the useful information into the correct long-term file.
trading-second-brain/
โ
โโโ CLAUDE.md # Agent operating instructions
โโโ MEMORY.md # Durable trader context + hard rules
โโโ LEARNINGS.md # Repeated lessons supported by evidence
โโโ decisions.md # Why a rule/process changed
โ
โโโ knowledge/ # One market topic per maintainable file
โโโ strategies/ # Executable trading playbooks
โโโ journal/ # Daily market context + reviews
โโโ trades/ # Structured trade records / CSV
โโโ screenshots/ # Chart and execution evidence
โโโ research/ # Original PDF / PPT / reports
โโโ inbox/ # Unprocessed multimodal material
โ
โโโ templates/ # Copy-paste templates
โโโ prompts/ # Ready-to-use AI workflows
Use this repo as the operating system, then customize it for your own trading process.
Add only durable information:
Primary market: SPX / ES
Trading style: Intraday / 0DTE
Maximum daily loss: ...
Maximum trades per day: ...
Known weakness: revenge trading
Known weakness: moving stopsDo not dump every daily observation into memory.
inbox/
โโโ gex-screenshot.png
โโโ trade-entry.png
โโโ handwritten-note.jpg
โโโ cboe-0dte-study.pdf
โโโ options-positioning.pptx
โโโ trades.csv
Use:
prompts/inbox-triage.md
The agent will:
Recognize โ Extract โ Classify โ Search existing knowledge
โ
Update or create topic
โ
Preserve source
Use:
prompts/daily-review.md
At the end of the week:
prompts/weekly-review.md
Avoid this:
notes.md
important-notes.md
new-strategy-final.md
new-strategy-final-v2.md
Prefer this:
knowledge/
โโโ dealer-gamma.md
โโโ gamma-flip.md
โโโ put-wall.md
โโโ call-wall.md
โโโ vwap.md
โโโ 0dte-gamma.md
The rule is not โmake every idea a tiny file.โ
The better rule is:
One independently understandable, independently maintainable knowledge unit = one file.
If put-wall.md can coherently hold the definition, expected behavior, failure modes, and historical examples, keep it together.
Not every observation deserves to become a rule.
raw source
โ
journal / knowledge
โ
repeated evidence
โ
LEARNINGS.md
โ
explicit decision
โ
decisions.md
โ
durable context / hard rule
โ
MEMORY.md
This prevents one emotional trade from becoming a permanent system rule.
The map for your AI agent.
It tells the agent where information lives, what to read first, how to process screenshots and documents, when to update existing notes, and what it must never invent.
Stable trader context.
Think: markets, style, hard risk limits, recurring behavioral weaknesses, and durable rules.
Lessons supported by repeated evidence but still open to revision.
Example:
Observation:
After two profitable trades, setup quality often declines.
Evidence:
2026-08-11, 2026-08-18, 2026-08-21
Status:
Repeated pattern โ keep monitoring.
The audit trail traders usually do not have.
Decision:
Exit 0DTE short-premium positions earlier.
Reason:
Repeated late-session gamma expansion erased open profit.
Evidence:
journal/...
trades/...
Status:
ACTIVE
Six months later, you do not just remember the rule โ you remember why the rule exists.
The prompts/ folder currently includes:
| Prompt | What it does |
|---|---|
inbox-triage.md |
Routes mixed multimodal material into the right place |
screenshot-analysis.md |
Extracts visible facts before chart interpretation |
research-extraction.md |
Turns PDF/PPT research into sourced knowledge |
handwritten-notes.md |
Transcribes and classifies handwritten notes |
daily-review.md |
Separates market outcome from execution quality |
weekly-review.md |
Detects repeated patterns and strategy-level performance |
Once your repository contains enough history, ask questions like:
- Which time of day produces most of my losses?
- What happens to my next trade after two consecutive wins?
- Which setups work best in positive vs negative gamma?
- Show every time I violated the same stop-loss rule.
- Compare my losing screenshots and find repeated price-action patterns.
- Which strategy has the best expectancy after transaction costs?
- When did I first create this rule, and what loss caused it?
- Which lessons are supported by evidence, and which are still stories?
That is the point of the system.
A useful pattern is:
Public repo = operating system / templates / prompts
Private repo = your actual brain
Keep these private:
- broker statements
- account numbers
- API keys
- private PnL
- sensitive trade exports
- personally identifying information
The included .gitignore provides a starting point, but you are responsible for checking what you commit.
Before market โ read MEMORY + relevant strategy
During market โ capture screenshots + trade evidence
After market โ daily journal + daily review
Weekend โ weekly review + update learnings
When rules move โ append a dated decision
Anytime โ drop new research into inbox
Keep the system boring enough that you actually use it.
- Example SPX / 0DTE knowledge files
- Example daily journal with screenshots
- Example trade CSV + analysis workflow
- Automated inbox routing
- Local semantic search / embeddings
- Broker-export adapters
- More agent instruction files
- Community-contributed templates
Ideas, templates, prompts, and workflow improvements are welcome.
Good contributions are practical: something another trader can fork, copy, and use immediately.
This project is a trading knowledge-management framework. It is not financial advice, investment advice, or an automated trading recommendation system. Markets involve substantial risk.
Your screenshots are data. Your mistakes are data. Your rules are data.
Make them searchable. Make them reusable.
