![[Trivia] I tried connecting 12 repositories simultaneously with Claude Code on the web](https://images.ctfassets.net/ct0aopd36mqt/3KBTm8tdpO9RJJuaVvVzod/a9964bb03097b448b2327edc6920bf9f/Claude.png?w=3840&fm=webp)
[Trivia] I tried connecting 12 repositories simultaneously with Claude Code on the web
This page has been translated by machine translation. View original
Hello, I'm Keema.
In the web version of Claude Code, you can add multiple repositories to a single session.
So, how many can actually be connected?
Since I couldn't find any mention of an upper limit in the official documentation, I decided to try it out.
1. Conclusion
-
A session launched with 12 repositories connected, and I was able to read all 12 READMEs
-
Even after selecting 12 repositories, the button to add more repositories remained visible
-
12 is simply the number I tested this time, and is not the upper limit (13 or more has not been verified)
2. Selecting 12 Repositories
Adding 12 repositories one by one using the "+" button on the screen would be tedious, so I decided to open the page with them pre-selected using URL query parameters.
I appended repositories to the claude.ai/code URL and listed owner/repo values separated by commas.
https://claude.ai/code?repositories=<owner>/<repo1>,<owner>/<repo2>,<owner>/<repo3>
The official documentation also describes repositories as a parameter for pre-selecting repositories, passed as a comma-separated list of owner/repo values.
repositories| Comma-separated list ofowner/reposlugs to preselect. The aliasrepois also accepted.
Source: Claude Code Official Documentation: Get started with Claude Code on the web:Pre-fill sessions
When I opened this URL, the page launched with 12 repositories lined up above the input field.
Even after selecting 12 repositories, the "+" button at the end remained visible.

3. Verifying Whether All 12 Files Can Be Read
I also verified that not only could the session be opened, but all 12 repositories could actually be referenced from within the session.
I instructed Claude Code to read the README of each repository and compile the first line of each into a table.
As a result, all 12 files were read without any issues, and the first line of each README from repositories A through L was returned.
Each repository was placed as an individual folder directly under /home/user/.

4. Closing
What I found this time is that at least 12 repositories can be connected and files can be read without any issues.
When you want to work across multiple repositories at once, specifying them in advance using the repositories URL parameter makes preparation quick and convenient.
