[Trivia] I tried connecting 12 repositories simultaneously with Claude Code on the web

[Trivia] I tried connecting 12 repositories simultaneously with Claude Code on the web

In Claude Code's web version, you can add multiple repositories to one session. Since the official documentation didn't specify a limit, I tried testing how many can actually be connected.
2026.09.27

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 of owner/repo slugs to preselect. The alias repo is 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.

Screen before launch with 12 repositories selected

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/.

Results of reading READMEs from 12 repositories

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.


Claudeならクラスメソッドにお任せください

クラスメソッドは、Anthropic社とリセラー契約を締結しています。各種製品ガイドから、業種別の活用法、フェーズごとのお悩み解決などサービス支援ページにまとめております。まずはご覧いただき、お気軽にご相談ください。

サービス詳細を見る

Share this article

AI白書