Back/Personal/Claude
IntermediatePersonalClaude

How to Create a Granular Context Library for 'Lazy Prompting' with AI

Improve your AI's performance by moving from a single, massive context file to a modular library of small, focused markdown files. This system allows the AI to intelligently load only the most relevant information for each task, enabling you to use simple, 'lazy' prompts and get better results.

From How I AI

How I AI: Teresa Torres's Claude Code System for Task Management, Automated Research, and 'Lazy' Prompting

with Claire Vo

How to Create a Granular Context Library for 'Lazy Prompting' with AI

Tools Used

Claude

Anthropic AI assistant

Step-by-Step Guide

1

Deconstruct Your Context into Small Files

Instead of one large claude.md file, create a dedicated folder (e.g., LLM Context) in a tool like Obsidian. Break down your knowledge into dozens of small, focused markdown files. For example, create separate files for brand_guidelines.md, marketing_channels.md, and personal_profile.md.

2

Create Index Files as Maps

For broad categories like 'business,' create a main index file (e.g., business_profile.md). This file doesn't contain all the information itself; instead, it acts as a map. It should tell the AI where to find more specific details, like 'You can find my company overview here...' or 'Details about my course are in this file...'

3

Instruct the AI to Use the Index

In your global claude.md file, provide a simple instruction that directs the AI to the correct starting point. For example: 'If I ask you for help with something related to my business, use my business_profile.md file first.' This teaches Claude how to navigate your library and pull only the necessary context.

4

Build the Library Iteratively

You don't need to build the entire library at once. At the end of a session with your AI, make a habit of asking it to help you document what it learned. This turns every interaction into an opportunity to refine your context files, making the system smarter over time.

Prompt:
Claude, what'd you learn today that we should document?
Pro Tip: This iterative process is key. As you use the system, you'll naturally identify gaps in its knowledge, which you can then fill by creating or updating a small context file.

Become a 10x PM.
For just $15 / month.

We've made ChatPRD affordable so everyone from engineers to founders to Chief Product Officers can benefit from an AI PM.