An enhanced agentic coding tool that lives in your terminal. Understand your codebase, execute tasks, and handle workflows through natural language commands.
English | δΈζ
- ποΈ File Management - Read, edit, create, and search files
- π Code Analysis - Explain architecture and complex logic
- β‘ Command Execution - Run tests, lint, and other commands
- π Git Integration - Handle commits, PRs, and conflicts
- π Parallel Processing - SubAgent system for concurrent tasks
- π οΈ Agent Management - Specialized agents for different tasks
- π£ System Hooks - Execute custom commands at key points
- Node.js 18+
- npm or yarn
- Git
- Anthropic API Key
# Clone the repository
git clone https://github.com/BenBenVibe/ccode.git
cd ccode
# Install dependencies
npm install
# Build the project
npm run build
# Install globally (recommended)
npm install -g .-
Set your API key:
export ANTHROPIC_API_KEY="your-api-key-here" # Add to ~/.bashrc or ~/.zshrc for persistence
-
Start CCode:
# If installed globally claude-local # Or run directly from source npm run start
-
Complete OAuth authentication when prompted
# Code analysis and fixes
"Explain how the authentication system works"
"Fix the typescript errors in this file"
"Add unit tests for the login component"
"Refactor this function to be more readable"
# Git operations
"Create a PR with my changes"
"Show me the git history for this file"
"Help me resolve this merge conflict"
# Project management
"Run tests and fix any failures"
"Update dependencies to latest versions"
"Generate documentation for this API"| Command | Description |
|---|---|
/help |
Get help with using CCode |
/compact |
Compact conversation history |
/agents |
Manage SubAgent configurations |
/bug |
Report issues |
/clear |
Clear conversation history |
Use specialized agents for different tasks:
# Use specific agent types
"Use the code-analyzer agent to review this module"
"Have the performance-optimizer agent check this function"
# Manage agents
/agents # Opens agent management interface| Command | Description |
|---|---|
npm run start |
Run the CLI application |
npm run dev |
Run in development mode |
npm run build |
Compile TypeScript to JavaScript |
npm run lint |
Run ESLint |
npm test |
Run test suite |
# Fork and clone the repo
git clone https://github.com/yourusername/ccode.git
cd ccode
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Install your local version globally
npm install -g .βββ src/
β βββ components/ # React UI components
β βββ tools/ # Tool implementations
β βββ services/ # Core services
β βββ utils/ # Utility functions
β βββ entrypoints/ # Application entry points
βββ bin/ # Executable scripts
βββ .claude/ # Agent configurations
βββ dist/ # Compiled output
Create a CLAUDE.md file in your project root:
# My Project
## Build Commands
- `npm run build` - Build the project
- `npm test` - Run tests
## Architecture
This project uses React with TypeScript...
## Code Style
- Use TypeScript strict mode
- Follow ESLint rulesExecute custom commands at key points:
# List hooks
claude hooks list
# Add a hook
claude hooks add PreToolUse "git add . && git commit -m 'Auto backup'" --matcher "FileWriteTool"
# Test hooks
claude hooks test SessionStart1. API Key Issues
- Ensure
ANTHROPIC_API_KEYis set correctly - Check API key has sufficient credits
- Verify key is from Anthropic Console
2. Installation Issues
# Clean install
rm -rf node_modules package-lock.json
npm install
npm run build3. Global Installation
# Reinstall globally
npm uninstall -g claude-code-local
npm install -g .4. Permission Issues
# Make binary executable
chmod +x ./bin/claude-local5. Working Directory Issues
- CCode should automatically detect your current directory
- If showing wrong directory, try reinstalling:
npm install -g .
- Use
/bugcommand within CCode to report issues - Check GitHub Issues
- Create detailed bug reports with reproduction steps
We welcome contributions! Here's how to get started:
- Fork the repository
- Create feature branch:
git checkout -b feature/amazing-feature - Make changes and add tests
- Commit:
git commit -m 'Add amazing feature' - Push:
git push origin feature/amazing-feature - Open a Pull Request
- Follow existing code patterns
- Add tests for new features
- Update documentation
- Run
npm run lintbefore committing
See CONTRIBUTING.md for detailed guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built on Anthropic's Claude
- Enhanced with SubAgent system and parallel processing
- Thanks to all contributors and the open source community
CCode is actively developed with these features:
- β SubAgent system for parallel processing
- β Enhanced dependency management
- β Improved agent configurations
- β Extended tool capabilities
- β Working directory preservation
- π§ Continuous improvements and bug fixes
β Star this repo if you find it helpful!
Issues β’ Contributing β’ Changelog