Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Claude ForeverNew to Visual Studio Code? Get it now.
Claude Forever

Claude Forever

Aamir Muhammad Amin

|
421 installs
| (1) | Free
Chat with Claude free tier — multi-account rotation, agent mode, OCR, codebase context
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ClaudeForever

Chat with Claude inside VS Code & Cursor — free, forever.

When one account hits its rate limit, ClaudeForever automatically switches to your next account and continues the conversation — history intact, no interruption, no copy-pasting.


How It Works

You add 2–10 Claude.ai accounts. ClaudeForever rotates between them automatically when a rate limit is hit, cycling back to the first account once it resets (~8 hours). The more accounts you add, the closer to unlimited usage you get.


Setup

Step 1 — Get your session token

  1. Go to claude.ai and log in
  2. Press F12 → Application → Cookies → https://claude.ai
  3. Find the cookie named sessionKey and copy its value

Repeat for each account you want to add.

Step 2 — Add accounts

Open the ClaudeForever sidebar panel, click ⊕, and fill in a label and your session key. Or use the command palette:

Ctrl+Shift+P → ClaudeForever: Add Account

Keys are stored securely in your OS keychain — never in plain text on disk.

Step 3 — Start chatting

Click the ClaudeForever icon in the VS Code sidebar and start chatting.


Features

🔄 Auto Account Rotation

When an account hits its rate limit or its session expires, ClaudeForever silently switches to the next account and continues your conversation without interruption. Full history carries over every time.

🧠 Automatic Codebase Context

On your first message, ClaudeForever automatically reads your project's file tree and the files you have open, so Claude immediately understands your codebase without you needing to explain it. As you open new files mid-conversation, they are silently injected into context — Claude always knows about whatever you're looking at. No noise, no manual @file tagging needed.

📎 Manual File Injection

Type @path/to/file.ts anywhere in your message to explicitly inject a specific file. Useful for referencing files you haven't opened yet.

⚙️ Agent Mode

Toggle the ⚙️ button in the header to switch Claude into a direct file-editing agent. In agent mode, Claude can read your codebase and write changes directly to your files — no copy-pasting. A confirmation notification appears after every edit with a one-click Undo option.

Format Claude uses internally to apply edits:

<<<EDIT: src/yourfile.ts>>>
// complete new file content
<<<END>>>

Claude can apply multiple edits in a single response.

🖼️ Image & File Attachments

Click 📎 to attach images or files. Images are processed via OCR so Claude can read text from screenshots, diagrams, and designs. Claude will wait for OCR to finish before sending.

🌊 Smooth Streaming

Responses stream in real time with a smooth typewriter effect — frame-synced using requestAnimationFrame so it feels fluid at any refresh rate. A soft glowing cursor indicates Claude is thinking.

📝 Auto Summarization

When conversation history gets long, ClaudeForever automatically compresses it so context always fits within Claude's limits. You'll see a "Compressing context…" indicator when this happens.

💾 Persistent UI State

Switching to another VS Code panel and back no longer resets your chat. Message history, agent mode toggle, and account state all survive panel focus changes.

🔍 Markdown Rendering

Full markdown support — bold, italics, tables, syntax-highlighted code blocks with copy buttons, blockquotes, and more.

🔒 Secure Key Storage

Session keys are stored in your operating system's native keychain (same mechanism browsers use for saved passwords). They never appear in settings.json or any file on disk.


Commands

Command Description
ClaudeForever: Add Account Add a Claude.ai session token
ClaudeForever: Remove Account Remove a saved account
ClaudeForever: Clear History Clear current conversation

Using Agent Mode

  1. Click ⚙️ in the top-right of the panel — the button turns purple and a banner appears
  2. Ask Claude to make changes: "Add error handling to the fetchUser function" or "Refactor this component to use hooks"
  3. Claude reads your open files, writes the changes, and applies them directly
  4. A notification appears — click Undo if you want to revert

Agent mode works best when the relevant files are open in your editor so Claude has full context.


Keyboard Shortcuts

Key Action
Enter Send message
Shift+Enter New line
@path/to/file Inject a file into context

FAQ

Is this free? Yes. It uses Claude's free web tier — no API key or payment needed.

How many accounts should I add? 2–3 is enough for light use. 5+ gives near-unlimited usage as accounts reset while others are active.

Are my session keys safe? Yes. Stored in your OS native keychain — same as how browsers store saved passwords. Never written to any file.

Does it work in Cursor? Yes. Search ClaudeForever in Cursor's extensions panel and install normally.

My session key expired — what do I do? Remove the old account and re-add it with a fresh session key from the browser. Keys expire when you log out or after extended inactivity.

Agent mode applied something wrong — how do I undo? Click Undo in the notification that appears after an edit, or press Ctrl+Z / Cmd+Z in the affected file.

Does context reset when I switch accounts? No. The full conversation history carries over to every account seamlessly.


License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft