Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (code-assistant-config-interface) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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 Google Generative AI (Gemini 2.5 Pro) 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
npm install -g caciUsage
# Initialize a new configuration
caci configure
# Update existing configuration
caci update
# Reset to previous configuration
caci reset
# Display help
caci --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, you'll need a Google API key:
- Go to https://aistudio.google.com/
- Sign in with a Google account
- Navigate to "API Keys" in the sidebar
- Create a new API key
- Set the key as an environment variable:
export GOOGLE_API_KEY=your_api_key_hereDevelopment
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 Google Generative AI (Gemini) for AI-powered recommendations
- Built with Commander.js for CLI interface
- Uses Chalk for colorful terminal output
- Inspired by the BMAD-method installer