written quite a bit about how maximize the effectiveness of Claude Code. I’ve written about particular methods I apply every time I’m utilizing the instrument. Nevertheless, there are different focus areas you possibly can need to get much more out of Claude Code. At this time, I’ll be speaking about one among them: Making all info accessible to Claude Code.
I’ll talk about how I make sure that virtually the whole lot I do is each tracked and saved regionally on my pc, inside a particular grasp folder, the place all info is contained. I, for instance, retailer:
- All my advertising materials, like LinkedIn posts, X posts, and webinars
- All the code I write
- Information I purchase
And each different piece of knowledge I encounter throughout my workday. If it’s not saved regionally on my pc, it ought to a minimum of be accessible for Claude Code, for instance, through the Notion API.
I’m not sponsored by Claude Code within the writing of this text; I’m merely an avid consumer of the product.
Why do you’ll want to make info accessible?
Most builders know that it’s finest follow to doc the whole lot they do. Nevertheless, documentation can typically really feel time-consuming and boring, and is thus not all the time executed.
I might argue, nonetheless, that not documenting quite a lot of what you do is extra time-consuming in the long term. You spend extra time looking for info that isn’t there or having to determine info once more since you didn’t retailer it earlier.
Getting right into a behavior of storing all the knowledge you encounter is extremely helpful, particularly when you possibly can have easy accessibility to all of this info with an AI agent. Moreover, for those who actively use an AI agent to finish quite a lot of your duties, it’ll carry out higher as a result of you’ve gotten given it much more context with the documentation you’ve given it.
Easier put:
You need to retailer all of your info as a result of it saves you time and it makes your AI brokers extra environment friendly.
How you can make all info accessible to Claude Code
Making all info accessible to Claude Code basically consists of two steps.
- Retailer all the knowledge you encounter.
- Hold it in a folder that Claude Code has entry to.
I’ll have one part per step to dive deeper into find out how to do it in follow.
Retailer all the knowledge you encounter
This job sounds tremendous easy, and in principle, it is vitally easy, since you merely must retailer all context regionally in your pc. In follow, nonetheless, it’s a bit more durable. The explanation for that is that storing such info may be time-consuming, and in lots of instances, info is just communicated orally and never in a written method, so you need to explicitly take motion so as to retailer it.
I’ve two suggestions to make storing all info simpler. Primary is utilizing a transcription instrument resembling MacWhisper or Superwhisper. These instruments make it tremendous simple to press a single button, converse to your pc, and have the textual content shortly written down.
This lowers the edge for writing quite a lot of info to your pc, which is tremendous helpful if you wish to retailer quite a lot of info. Moreover, that is extremely helpful when prompting Claude Code as properly, and it saves me many hours every week. Simply this week, it’s already saved me 4 hours of writing time.
The second is to maintain the motto of storing all the knowledge at the back of your head always. For those who continually remind your self of the advantages of writing issues down and having it accessible for later, it will likely be simpler to use this precept. I, for instance, have particular job reminders that remind me to write down down basic information I’ve realized a number of occasions per week.
Moreover, you must give Claude Code entry to all items of knowledge it wants entry to. You possibly can, for instance, give it entry to your Notion web page the place you retain quite a lot of your documentation. You may give it entry to mail or Slack messages. In fact, you’ll want to have in mind the safety issues concerning connecting to those purposes.
If you would like a safer choice, you may as well obtain content material as PDFs or textual content recordsdata and retailer it regionally, which, in fact, reduces or fully eliminates a lot of the safety issues.
I personally obtain essentially the most important items of knowledge, resembling the best buyer profile, the documentation for our CDK stack, advertising materials, and so forth, to retailer them as native recordsdata and make them accessible for my agent sooner or later.
Entry the knowledge
Now that you simply’ve saved all your info, you merely must entry it. There are, in fact, many instruments on the market that may entry or search folders of knowledge and in addition entry exterior info through APIs.
Personally, I exploit Claude Code as a result of it has a easy setup. You possibly can simply entry every bit of knowledge I retailer regionally on my pc, and I’ve seen it’s tremendous efficient at navigating my folders and discovering the related recordsdata and data I wish to discover.
Claude Code doesn’t use vector search and as a substitute makes use of bash instructions to look by the folders. Anthropic has itself commented on the truth that the primary variations of the instrument began with vector search, however they discovered that looking recordsdata with bash instructions offers larger high quality output, although it’s a bit slower in lots of instances.
If you would like quicker entry, you possibly can think about some choices that index your folder and make it accessible a lot quicker through retrieval augmented technology.
Some examples of this are Warp Terminal, the place you possibly can index code bases, and it’s an important instance of a instrument I exploit after I want to seek out info shortly on my pc. If I do know a bit of knowledge is there, and I simply want to seek out the situation of it, I’ll usually use Warp as a substitute of Cloud Code as a result of I do know it could possibly entry the knowledge quicker.
Another choice you’ve gotten is to make use of Cursor. Cursor additionally indexes your code bases and might entry the knowledge shortly, similar to Warp. There are in fact many different good choices on the market that does basically the very same factor.
What to consider when storing all info
The primary factor you’ll want to take into consideration when storing all your info is safety issues. In fact, although making all of this info accessible is extremely highly effective and can make you and your coding agent far more practical, it additionally poses a danger as a result of all the knowledge is accessible regionally in your pc, and it’s additionally despatched to an LLM, which has its personal safety issues.
One factor you may take into consideration is API keys. You may retailer quite a lot of your API keys regionally. And you must attempt to keep away from recordsdata containing these keys being learn and despatched to an LLM inference supplier resembling Google, OpenAI, or Anthropic.
One other factor to have in mind is permissions. Once you run Claude Code, it’ll initially ask for permission to carry out instructions for studying particular folders.
You possibly can auto-allow this by both whitelisting particular instructions or simply working dangerously skip permissions. This may naturally skip all permissions prompts and make all recordsdata accessible to Claude Code with out it needing to ask for permission. In fact, this makes fetching info more practical since you don’t must work together with AI as a lot, however you additionally run the danger of it accessing info that it shouldn’t.
Total, it’s as much as you to make sure that you observe safety finest practices whereas nonetheless sustaining the effectivity achieve that you simply get from storing all of your info regionally and accessing it with a coding agent.
Conclusion
On this article, I’ve mentioned how I retailer all the knowledge I encounter regionally on my pc to make it out there for my coding agent. This makes me far more practical as a result of I can extra simply fetch info that I’ve encountered beforehand. And when my coding agent performs work, it has entry to extra context. That is extremely vital if you would like your coding brokers to carry out properly and act in line with your preferences. I thus extremely suggest attempting to retailer as a lot info as doable, making it simply accessible to each you and your coding brokers.
👉 My free eBook and Webinar:
🚀 10x Your Engineering with LLMs (Free 3-Day Email Course)
📚 Get my free Vision Language Models ebook
💻 My webinar on Vision Language Models
👉 Discover me on socials:
💌 Substack
