Remix.run Logo
simonw 6 hours ago

I've found myself occasionally wishing I had a monorepo purely for Claude Code for web (Anthropic's hosted version of Claude Code), since it can currently only work with one private repository at a time.

On my own machine I have a dev/ folder full of checkouts of other repos, and I'll often run Claude Code or Codex CLI in that top level folder and tell it to make changes to multiple projects at once. That works just fine.

bcye 6 hours ago | parent | next [-]

Couldn’t you make a pseudo monorepo via git submodules?

simonw 5 hours ago | parent | next [-]

I don't think there's a way to have that work in Claude Code for web, since each checkout there uses a custom GitHub access token scoped to a single repository.

verdverm 4 hours ago | parent [-]

GitHub tokens can span more than one repo or org if the account requesting has access to them. Is this supported on the non-web version?

(I was going to try claude again this weekend, but when I tried to login, got an error and am reminded how much down time I experience from Anthropic, arg...)

simonw 4 hours ago | parent [-]

The non web version uses whatever credentials you have setup yourself, so it works just fine.

verdverm 4 hours ago | parent [-]

Is that host level or can I provide scoped tokens based on what I'm doing?

In other words, do Anthropic tools provide any affordances for this or is it something I have to manage externally?

simonw 2 hours ago | parent [-]

I'm just talking about the version of Claude Code which runs in containers on their infrastructure here - they call it "Claude Code on the web" (terrible name) and you access it through their native apps or from https://claude.ai/code

That product only works against one GitHub repo at a time. The Claude Code you install and run locally doesn't have a GitHub attachment at all and can run against whatever you checkout yourself.

Here's an open feature request about it: https://github.com/anthropics/claude-code/issues/23627

verdverm 6 hours ago | parent | prev [-]

Submodules are pain, use the dependency management systems for the languages in your monorepo.

verdverm 6 hours ago | parent | prev [-]

The "dev/" folder concept is what I give my agent, so I can select what I want it to have access to. On my computer, I have a few of those to group those that go together.