code-assistant-config-interface
v1.1.8
Published
CACI (Code Assistant Configuration Interface) - Intelligent CLI tool for configuring Claude Code projects
Downloads
31
Maintainers
Readme
CACI
CACI (Code Assistant Configuration Interface) - An intelligent CLI tool for configuring Claude Code projects.
Overview
CACI (Code Assistant Configuration Interface) is an npm package that provides an interactive CLI interface to automate the configuration of Claude Code projects. It intelligently analyzes project requirements and selects the most relevant agents, commands, MCPs, and hooks from a large pool of available components.
Features
- Interactive CLI Interface: Easy-to-use command-line interface similar to the BMAD-method installer
- AI-Powered Component Selection: Uses OpenRouter API with automatic key creation to intelligently recommend components based on project requirements
- Component Analysis: Parses a large pool of components (102+ agents) and recommends the most relevant ones
- Colorful Output: User-friendly interface with colored output for better readability
- Comprehensive Testing: Full test coverage for all functionality
Installation
No installation required! Run directly with npx:
npx code-assistant-config-interface configureOr install globally:
npm install -g code-assistant-config-interfaceUsage
# Run configuration (recommended)
npx code-assistant-config-interface configure
# Or if installed globally:
caci configure
# Other commands
caci update # Update existing configuration
caci reset # Reset to previous configuration
caci history # View configuration history
caci --help # Display helpCommands
configure: Start the configuration process for a new projectupdate: Update the existing configurationreset: Restore the previous configuration--help: Display help information
Requirements
To use the AI-powered component recommendation feature:
- The tool will automatically prompt you to authenticate with OpenRouter when needed
- It uses OpenRouter's auto-create key format for seamless authentication
- No manual API key setup required - authentication is handled through OAuth flow
Development
Prerequisites
- Node.js (v14 or higher)
- npm
Setup
git clone <repository-url>
cd caci
npm installBuilding
npm run buildTesting
npm testRunning locally
npm startProject Structure
src/
├── cli/ # CLI interface and commands
├── analyzer/ # Component analysis and AI recommendations
│ ├── index.ts # Data models and interfaces
│ ├── parser.ts # Component JSON parsing
│ ├── questions.ts # Interactive question flow
│ ├── requirementCollector.ts # CLI prompts for requirements
│ ├── ai-recommender.ts # AI-powered component recommendation
│ └── display.ts # Recommendation display
└── types/ # TypeScript types
tests/
├── cli/ # CLI interface tests
└── analyzer/ # Component analysis testsContributing
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a pull request
License
MIT
Acknowledgements
- Uses OpenRouter API for AI-powered recommendations
- Built with Commander.js for CLI interface
- Uses Chalk for colorful terminal output
- Integrates with Claude Code project configuration system
