Set up Claude Code configurations with real-time analytics dashboard for monitoring sessions, performance, and conversation states
A Node.js CLI tool for setting up Claude Code configurations and providing real-time analytics with comprehensive monitoring capabilities.
This skill helps you set up and manage Claude Code configurations while providing a powerful analytics dashboard for monitoring active sessions, conversation states, performance metrics, and system health in real-time.
1. **Clone and install the repository:**
```bash
git clone <repository-url>
cd claude-code-riskexec
npm install
```
2. **Verify Node.js version (14.0.0+):**
```bash
node --version
```
3. **Run initial tests to verify installation:**
```bash
npm test
```
1. **Start the analytics server:**
```bash
npm run analytics:start
```
2. **Open your browser to http://localhost:3333**
3. **Monitor real-time metrics:**
- Active Claude Code conversations
- Conversation states ("Claude working...", "User typing...", "Awaiting input...")
- System performance and memory usage
- Export data as CSV/JSON
```bash
npm start
```
1. **For code changes:**
```bash
# Run tests in watch mode
npm run test:watch
# Check syntax
node --check src/analytics.js
```
2. **Before committing:**
```bash
# Run full test suite
npm test
# Run analytics tests
npm run analytics:test
# Check for vulnerabilities
npm audit
```
3. **Component management:**
- Access 600+ specialized agents (frontend-developer, security-auditor, data-scientist)
- Use 200+ slash commands (/setup-ci-cd-pipeline, /generate-tests, /optimize-bundle)
- Integrate MCPs for databases, development tools, and browser automation
- Configure hooks for git operations, notifications, and performance monitoring
Use the gated feature development workflow:
```bash
/specify <feature-name>
/plan <feature-name>
/tasks <feature-name>
/implement <feature-name>
```
Specifications are stored in `specs/<feature>/` with constitution rules enforced.
```bash
npm test
npm run test:unit
npm run test:integration
npm run test:e2e
npm run test:analytics
npm run test:coverage
```
```
src/
├── index.js # CLI entry point
├── analytics.js # Analytics dashboard server
├── analytics/ # Modular analytics components
│ ├── core/ # StateCalculator, ProcessDetector, ConversationAnalyzer
│ ├── data/ # DataCache
│ ├── notifications/ # WebSocketServer, NotificationManager
│ └── utils/ # PerformanceMonitor
├── analytics-web/ # Frontend components
└── templates/ # Configuration templates
specs/
├── constitution.md # Quality rules and review checklist
└── <feature>/ # Feature specs, plans, and tasks
```
**Start analytics and monitor a session:**
```bash
npm run analytics:start
```
**Run comprehensive tests:**
```bash
npm run test:all
npm run test:coverage
```
**Set up a new feature with BMAD:**
```bash
/specify user-authentication
/plan user-authentication
/tasks user-authentication
/implement user-authentication
```
Leave a review
No reviews yet. Be the first to review this skill!
# Download SKILL.md from killerskills.ai/api/skills/claude-code-riskexec-setup/raw