ClaudeCode-Next
An unofficial CLI coding agent that runs on the Claude.ai web interface.
This tool lets you use Claude as a coding assistant from your terminal – reading files, running commands, refactoring code – without needing an API key or paying per-token. It extracts your Claude.ai session from your browser once, then works entirely from the CLI and it's completely free.
What it does
- Read/write files in your project
- Run shell commands (git, npm, tests, builds)
- Search code and refactor across multiple files
- Interactive REPL with agent mode
- Workspace-restricted operations with confirmation
How it's different
Claude Code (official) : Uses API keys, per-token billing, guaranteed reliability
This tool : Uses your browser session, free with Claude.ai subscription, may break if the web UI changes
Who it's for
- Developers without Claude API access
- Hobbyists who want to experiment with CLI coding agents
- Anyone who prefers the terminal over the chat interface
Installation
pip install claudecode-next
For browser automation and automated cookie extraction:
pip install "claudecode-next[browser]"
playwright install chromium
Quick Start
claudecode-next --auto-fetch
Direct Prompts
claudecode-next --prompt "Explain quantum computing in simple terms"
Specify a model:
claudecode-next --model opus --prompt "Write a high-performance HTTP server in Rust"
Agent Mode
Run the autonomous coding agent on a task:
claudecode-next --agent "Refactor utils.py to use pathlib"
Credential Setup
Login via browser to capture session credentials:
claudecode-next --login
Or auto-fetch cookies from an existing Chrome session:
claudecode-next --auto-fetch
Or enter credentials manually:
claudecode-next --manual
⚠️ Disclaimer
This is an unofficial, research-grade tool. It's not endorsed by Anthropic, uses the Claude.ai web interface (which may violate ToS), and can break at any time, developers won't be responsible for any misuse and damage caused by it. Use responsibly and at your own risk.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claudecode_next-1.0.0.tar.gz.
File metadata
- Download URL: claudecode_next-1.0.0.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c54e28b6564048b32c821ea65ce3ff5cadfb9809b2b57a02e8bf8f88612ce90f
|
|
| MD5 |
5a789d11a1966c29b5cd2f43136474c7
|
|
| BLAKE2b-256 |
139d5e69967ff47615ab7fd399f39bcd4c45ae7f8b3f36bd39a68ccb2c41b3cd
|
File details
Details for the file claudecode_next-1.0.0-py3-none-any.whl.
File metadata
- Download URL: claudecode_next-1.0.0-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e97adaf797ab854e6aa911ae2ab909f4fc2c2205f458d0e2b9545b6274b4f58
|
|
| MD5 |
5cf232ca1407390f4cf98890566fb6e8
|
|
| BLAKE2b-256 |
2f352722290056a6c0222f130667376b3d7b086c159f4cbccfdadeb5869f5b91
|