@mapii.cloud/superdev
v1.0.1
Published
π Premium Agentic AI CLI with community packs, agent profiles, and interactive slash commands
Maintainers
Readme
π KOO Superdev - Premium Agentic AI CLI
A beautiful, evolving agentic AI CLI for developers and power users.
Quick Start β’ Features β’ Installation β’ Usage β’ Contributing
β¨ Features
π¨ Premium CLI Experience
π§ Agent Presets
π¦ Community Packs
Install specialized packs for specific workflows:
| Pack | Version | Purpose | |------|---------|---------| | debug | KOO-DEBUG 4.1 | Root-cause debugging | | safe | KOO-SAFE 4.1 | Conservative execution | | fast | KOO-FAST 4.1 | Quick decisions | | deep | KOO-DEEP 4.1 | Thorough exploration | | review | KOO-REVIEW 4.1 | Code reviews | | publish | KOO-PUBLISH 4.1 | Pre-release checks | | secure | KOO-SECURE 4.1 | Security focused | | superpowers | KOO-SUPERDEV 4.1 | Full capabilities | | supergstack | KOO-SUPERGSTACK 4.1 | Browser automation | | graphify | KOO-GRAPHIFY 4.1 | Knowledge mapping | | memory | KOO-MEMORY 4.1 | Context retention |
π― Slash Commands
/help - Show available commands
/agent <name> - Switch agent
/refine list - List installed packs
/refine remove - Uninstall packs
/model <name> - Switch model
/command <name> - Run specific commandπ Security & Privacy
- β No hardcoded secrets
- β Opt-in community packs
- β Local session storage
- β Environment-based configuration
- β No data sent to third parties
π Quick Start
Package Name (Scoped)
- npm package: @mapii.cloud/superdev
- install command:
npm i -g @mapii.cloud/superdev - executable:
koo - release tag:
v1.0.1
One-Line Setup (Recommended)
git clone https://github.com/koo/koo-superdev.git && cd koo-superdev && bash scripts/setup.shManual Setup
# Clone repository
git clone https://github.com/koo/koo-superdev.git
cd koo-superdev
# Install dependencies
npm install
# Build the project
npm run build
# Configure API keys
cp .env.example .env
# Edit .env with your API keys
# Run the CLI
node dist/koo-cli.jsFull Installation Guide
See INSTALL.md for detailed setup instructions.
π Usage
Command Line
# Run default agent
koo
# Run with preset
koo sharp
koo builder
# Run with input
koo "What is TypeScript?"
# Get help
koo --help
koo --versionInteractive CLI Mode
# Start CLI mode
node dist/koo-cli.js
# Available commands:
/help Show this help
/agent sharp Switch to sharp agent
/refine list List community packs
/refine add debug Install debug pack
/refine remove Uninstall packs
/model gpt4 Switch modelTerminal UI Mode
# Start TUI with interactive interface
node dist/koo-tui.jsπ οΈ Configuration
Environment Variables
Create .env file with:
# API Keys (choose at least one)
OPENROUTER_API_KEY=sk-... # Recommended (multi-model)
ANTHROPIC_API_KEY=sk-ant-... # Claude/Sonnet direct
OPENAI_API_KEY=sk-... # GPT-4 via OpenRouter
# Optional settings
DEBUG=false # Enable debug logs
VERBOSE=false # Verbose output
DEFAULT_AGENT=superpowers # Default agent presetAgent Profiles
Customize agent behavior in src/agent-presets.ts:
{
key: 'custom',
title: 'KOO-CUSTOM 4.1',
description: 'Your custom agent',
profile: {
name: 'KOO-CUSTOM 4.1',
model: 'anthropic/claude-sonnet-4',
maxSteps: 25,
maxCost: 2.0,
systemPrompt: 'Your custom system prompt...',
},
}Community Packs
Manage packs with /refine command:
# List available packs
/refine list
# Install pack
/refine add debug
# Remove pack
/refine remove debug
# Install multiple
/refine add safe fast deepπ API Reference
Core Modules
src/agent.ts
Main agent orchestration logic.
src/banner.ts
Animated CLI banner rendering with agent branding.
src/commands.ts
Slash command parser and executor.
src/config.ts
Configuration management and persistence.
src/agent-presets.ts
Agent profiles and community pack definitions.
src/shell.ts
Shell command execution and utilities.
π§ Development
Setup Development Environment
# Install dependencies
npm install
# Start watching TypeScript
npm run watch
# In another terminal, test
npm run testAvailable Scripts
npm run build # Build TypeScript
npm run watch # Watch and rebuild
npm run dev # Alias for watch
npm run test # Run test suite
npm run clean # Remove build output
npm run cli # Run CLI directly
npm run setup # Initial setupProject Structure
koo-superdev/
βββ src/
β βββ agent.ts # Main agent
β βββ banner.ts # CLI banner
β βββ commands.ts # Slash commands
β βββ config.ts # Configuration
β βββ agent-presets.ts # Presets & packs
β βββ shell.ts # Shell utilities
β βββ file-*.ts # File operations
β βββ tools/ # Additional tools
βββ scripts/
β βββ setup.sh # Setup script
β βββ build.sh # Build script
β βββ watch.sh # Watch script
β βββ test.sh # Test script
βββ dist/ # Built output
βββ .env.example # Environment template
βββ README.md # This file
βββ INSTALL.md # Installation guide
βββ CONTRIBUTING.md # Contributing guide
βββ package.json # Dependencies
βββ tsconfig.json # TypeScript configπ Troubleshooting
"Command not found: koo"
# Ensure global link is set up
npm link
# Or use full path
node dist/koo-cli.js"API key not working"
# Verify .env file exists and has correct format
cat .env
# Check API key is valid at the provider's website"Build failed"
# Clean and rebuild
npm run clean
npm install
npm run build"Permission denied" on scripts
# Make scripts executable
chmod +x scripts/*.shSee INSTALL.md for more troubleshooting.
π¦ Getting API Keys
OpenRouter (Recommended)
- Visit https://openrouter.ai
- Sign up and go to API Keys
- Copy your key to
.env
Anthropic
- Visit https://console.anthropic.com
- Create an API key
- Copy to
.env
OpenAI
- Visit https://platform.openai.com
- Create an API key
- Copy to
.env
π€ Contributing
We welcome contributions! See CONTRIBUTING.md for guidelines on:
Quick Contribution Steps
- Fork the repository
- Create feature branch:
git checkout -b feature/my-feature - Make your changes
- Build and test:
npm run build && npm run test - Commit:
git commit -m "feat: my new feature" - Push and create pull request
π License
MIT License - See LICENSE for details.
π Acknowledgments
Built with:
π¬ Support & Feedback
Made with β€οΈ by the KOO Team
