Define the thesis
Before Claude composes anything, name what you want the bot to do. Two examples that ship cleanly through the Keel DSL:
- Funding-receivers vs payers, vol-targeted. Long the perps with negative funding (you collect to be long), short the perps with positive funding, rebalance daily, size by realised volatility.
- Cross-sectional momentum on 4h bars. Rank top-30 HL perps by an 8-bar rate-of-change, hold the top quintile long and the bottom quintile short.
The thesis is what Claude turns into a typed component graph. A clear thesis produces a clean graph; hand-waving produces sprawl.