Table of contents
1. The reminder you keep repeating
2. From outside to inside 2.1 What are mods?
2.2 How to create a mod
3. How a mod works 3.1 Idea 1: secret-guard, hiding secrets from Claude
3.2 Idea 2: done-gate, a warning instead of a block
3.3 Idea 3: plan-meter, drawing on the screen
3.4 Idea 4: context-meter, reading the session
3.5 What mods can access
3.6 Building and testing the mods
3.7 Enabling and disabling mods
4. Two tests: protection and overhead 4.1 Commands vs. values: which works better?
4.2 How much overhead does a check add?
5. Conclusion 5.1 Do you really need a mod?
5.2. Start with what's slowing you down
6. Glossary
7. References and resources Claude Code documentation (Anthropic)
Anthropic posts
Code
Further reading
Earlier articles on TDS
1.…