Preflight Checklist
What's Wrong?
Environment
- OS: macOS (Darwin 24.6.0)
- IDE: VSCodium
- Claude Code Version: 2.0.75
- Repository: Local only (no remote configured)
Description
Claude Code VSCode extension triggers 1Password SSH agent authentication prompts when opening a chat window, even for git repositories that have no remote configured.
The dialog appears 3 times consecutively:
- Message: "Allow VSCodium to use sshkey"
- Describes an SSH key configured for a completely different project
- Occurs after the Claude Code window loads
- If "Deny" is clicked, the prompt repeats 3 times
Actual Behavior
Claude Code appears to be running git commands that trigger the SSH agent, even though there's no remote to authenticate to.
Additional Context
-
The prompts appear after the Claude Code window loads (not during VSCodium startup)
-
Disabling GitLens has no effect
-
These VSCode settings have no effect:
"git.autorefresh": false,
"git.autofetch": false,
"git.autoRepositoryDetection": false
-
The gitStatus context appears in conversations, suggesting Claude Code is running git commands on initialization
Impact
This creates unnecessary friction and security prompts for users working on local-only repositories, and inappropriately accesses SSH credentials for unrelated projects.
What Should Happen?
Claude Code should not trigger SSH authentication for:
- Local-only repositories with no remote
- Any git status checks that don't require network access
Error Messages/Logs
Steps to Reproduce
-
Have a global SSH config with 1Password agent:
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
-
Open a git repository with no remote configured:
git remote -v # Returns nothing
cat .git/config # Shows no [remote] section
-
Open Claude Code chat window in VSCodium
-
Observe 1Password prompt appears 3 times
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response
Preflight Checklist
What's Wrong?
Environment
Description
Claude Code VSCode extension triggers 1Password SSH agent authentication prompts when opening a chat window, even for git repositories that have no remote configured.
The dialog appears 3 times consecutively:
Actual Behavior
Claude Code appears to be running git commands that trigger the SSH agent, even though there's no remote to authenticate to.
Additional Context
The prompts appear after the Claude Code window loads (not during VSCodium startup)
Disabling GitLens has no effect
These VSCode settings have no effect:
The gitStatus context appears in conversations, suggesting Claude Code is running git commands on initialization
Impact
This creates unnecessary friction and security prompts for users working on local-only repositories, and inappropriately accesses SSH credentials for unrelated projects.
What Should Happen?
Claude Code should not trigger SSH authentication for:
Error Messages/Logs
Steps to Reproduce
Have a global SSH config with 1Password agent:
Open a git repository with no remote configured:
Open Claude Code chat window in VSCodium
Observe 1Password prompt appears 3 times
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
No response
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
No response