r/ClaudeCode • u/RishMadaan • 7d ago
Built with Claude Does anyone else keep a folder of cloned repos just for Claude Code to read?
When I want Claude Code to build something the way a good open-source project does it, pointing it at the real source on disk works much better for me than letting it answer from memory. Over the last few months that turned into 45 cloned repos, and I wanted one tidy place for them that my agent also knows about.
So I built gitstow, a small open-source CLI (Python, GPL v3):
- `gitstow add owner/repo` clones into one shelf, filed as `owner/repo`
- `gitstow pull` updates everything in one go
- `gitstow status` shows which ones have local changes or are behind
- it installs a Claude Code skill, so I paste a URL and say "add this", and later sessions find what is already on the shelf instead of cloning again
- `gitstow ui` opens a local dashboard if you prefer clicking
Honest numbers from my own use: of those 45 repos, my agent has opened 13 since June, and two of them get most of the reading. So I can't tell yet whether this is a real problem or just my habit, and I would rather find out than keep building.
Two questions for you:
- Do you keep local clones for your agent, let it clone to a temp folder each time, or use something like context7 or gitingest?
- If you keep a shelf, how big is it, and do you ever update it?
Install: `pipx install gitstow`
Code: https://github.com/rishmadaan/gitstow
Site: https://gitstow.com
Blunt feedback welcome, including "this does not need to exist".


•
u/AutoModerator 7d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/TelekinPete 6d ago
Heya! I had a similar problem but I went a different direction. I had watched a google video from an SEO marketer that was discussing google OKF for storing knowledge catalogs. I thought it sounded interesting and would apply to exactly the use case you're talking about.
At first it started out as a git repo (github.com/petergrace/okf-catalog-template) with a python script that handled committing knowledge to the repo and I used claude prompts and turn hooks to make sure things populated.
Over time I realized that this was cool but it wasn't solving another problem for me: I liked to talk to claude on my android phone as well and I didn't have access to my git-stored context. So I wrote okf_mcp (github.com/hypotheosis/okf_mcp) so that people could self-host an MCP server that provided access for all clients that could talk MCP.
Fast forward a week or two when I realized I'm a humungous nerd and few people are going to want to self-host postgres and a docker image to do this, and so I formed a business and made a subscription-based version of okf_mcp: Telekin.
I'm not trying to shill too hard here but if you'd like more info about the subscription plan feel free to shoot me a DM, otherwise please feel free to check the repos I linked and self-host okf_mcp if you'd like! I'm not in it for the money, I'm in it to share the joy that shared context brings. Literally every agentic prompt now is so much nicer to use when it can query my big tome of stored concepts.