{"_id":"@aegntic/cldcde-cli-shortcuts","name":"@aegntic/cldcde-cli-shortcuts","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aegntic/cldcde-cli-shortcuts","version":"1.0.0","description":"A comprehensive collection of 40+ Claude Code CLI shortcuts for improved productivity and ease of use","main":"lib/cli-shortcuts.js","type":"module","bin":{"cldcde-cli-shortcuts":"bin/install.js"},"scripts":{"install-shortcuts":"node bin/install.js","uninstall-shortcuts":"node bin/uninstall.js","postinstall":"node bin/install.js","preuninstall":"node bin/uninstall.js","test":"node test/test-shortcuts.js"},"keywords":["claude","claude-code","cli-shortcuts","productivity","bash-aliases","terminal","ai","anthropic","workflow","automation","developer-tools"],"author":{"name":"AEGNTIC","url":"https://github.com/aegntic"},"license":"MIT","engines":{"node":">=18.0.0"},"dependencies":{"chalk":"^5.3.0"},"repository":{"type":"git","url":"git+https://github.com/aegntic/cldcde.git","directory":"cli-shortcuts"},"bugs":{"url":"https://github.com/aegntic/cldcde/issues"},"homepage":"https://github.com/aegntic/cldcde/tree/main/cli-shortcuts#readme","publishConfig":{"access":"public"},"_id":"@aegntic/cldcde-cli-shortcuts@1.0.0","_nodeVersion":"20.19.4","_npmVersion":"11.4.2","dist":{"integrity":"sha512-wOxTMNeHkgUrRy9tPxoWkBXOhXGZj3NAyAX3BswRUlXcLkE70/yxO/K+7Qvad2eepwZ0DQuXZFPUlBFywSuS4Q==","shasum":"8739fd5a6c8036a115051550a29f11faa2cbea3c","tarball":"https://registry.npmjs.org/@aegntic/cldcde-cli-shortcuts/-/cldcde-cli-shortcuts-1.0.0.tgz","fileCount":7,"unpackedSize":29905,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICn5BoWKmqXvQpOBY7M6giyfPoEPvJdMDUeY8oR9lTP4AiBvG+obslQiC4bCuMumz7IIr6VJDrE9+Mt+Qz4lPe8lYw=="}]},"_npmUser":{"name":"catface","email":"catface@aegntic.ai"},"directories":{},"maintainers":[{"name":"catface","email":"catface@aegntic.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cldcde-cli-shortcuts_1.0.0_1754404028215_0.3505835321107844"},"_hasShrinkwrap":false}},"time":{"created":"2025-08-05T14:27:08.129Z","1.0.0":"2025-08-05T14:27:08.627Z","modified":"2025-08-05T14:27:08.895Z"},"maintainers":[{"name":"catface","email":"catface@aegntic.ai"}],"description":"A comprehensive collection of 40+ Claude Code CLI shortcuts for improved productivity and ease of use","homepage":"https://github.com/aegntic/cldcde/tree/main/cli-shortcuts#readme","keywords":["claude","claude-code","cli-shortcuts","productivity","bash-aliases","terminal","ai","anthropic","workflow","automation","developer-tools"],"repository":{"type":"git","url":"git+https://github.com/aegntic/cldcde.git","directory":"cli-shortcuts"},"author":{"name":"AEGNTIC","url":"https://github.com/aegntic"},"bugs":{"url":"https://github.com/aegntic/cldcde/issues"},"license":"MIT","readme":"# CLDCDE CLI Shortcuts\n\nA comprehensive collection of **40+ Claude Code CLI shortcuts** for improved productivity. These battle-tested shortcuts streamline your workflow with Claude 4, making AI-assisted development faster and more intuitive.\n\n## ⚡ Quick Install\n\n```bash\nnpm install -g @aegntic/cldcde-cli-shortcuts\n```\n\nThat's it! Shortcuts are automatically configured in your shell.\n\n## 🚀 Most Popular Shortcuts\n\n```bash\ncld              # Start Claude (most important!)\ncldp             # Print mode (non-interactive)\ncldc             # Continue conversation  \ncldr             # Resume a session\ncld-help         # Show all shortcuts\n```\n\n## 📋 Complete Shortcut List\n\n### 🔥 Basic Commands (6)\n- `cld` - Start Claude with current directory\n- `cldp` - Print mode (non-interactive)\n- `cldc` - Continue conversation\n- `cldr` - Resume a session\n- `cldv` - Verbose mode\n- `cldd` - Debug mode\n\n### ⚡ Quick Combinations (3)\n- `cldpc` - Print + continue\n- `cldpr` - Print + resume  \n- `cldvc` - Verbose + continue\n\n### 🤖 Model Shortcuts (4)\n- `clds` - Quick Claude 4 Sonnet\n- `cldo` - Quick Claude 4 Opus\n- `clds1` - Specific Sonnet model\n- `cldo1` - Specific Opus model\n\n### ⚙️ Configuration (5)\n- `cldconf` - Configuration management\n- `cldmcp` - MCP server management\n- `cldup` - Update Claude\n- `clddoc` - Health check\n- `restcldd` - Restart Claude Desktop\n\n### 🚀 Advanced Features (7)\n- `cldide` - Auto-connect to IDE\n- `cldsafe` - Skip permissions (use carefully!)\n- `cldae` - Auto-execute for safe operations\n- `cldaep` - Auto-execute + print mode\n- `cldaec` - Auto-execute + continue\n- `cldjson` - JSON output\n- `cldstream` - Streaming JSON\n\n### 🛠️ Utility Functions (5)\n- `cld-session` - Interactive session picker\n- `cld-quick \"...\"` - Quick one-liner with print\n- `cld-continue-print` - Continue in print mode\n- `cld-auto \"...\"` - Smart auto-execute with warnings\n- `cld-help` - Show complete shortcuts help\n\n**Total: 30+ aliases + 10+ functions = 40+ shortcuts**\n\n## 💡 Usage Examples\n\n### Basic Workflow\n```bash\n# Start Claude in current project\ncld\n\n# Quick question without interaction\ncld-quick \"What's wrong with this function?\"\n\n# Continue previous conversation\ncldc\n\n# Resume any session interactively\ncldr\n```\n\n### Power User Workflow\n```bash\n# Auto-execute safe operations\ncld-auto \"analyze this code for bugs\"\n\n# Continue with specific model\nclds \"improve this function\"\n\n# JSON output for scripting\ncldjson \"list all functions in this file\"\n```\n\n### Safety Features\n```bash\n# Get warnings before auto-execute\ncld-auto \"review this code\"\n# ⚠️  Auto-execute mode: Will skip permission checks\n# 💡 Best for: file analysis, code review, explanations  \n# ❌ Avoid for: system changes, network operations, deletions\n```\n\n## 🔧 Installation Details\n\n### Automatic Installation\nThe package automatically:\n- ✅ Copies shortcuts to `~/.claude/shortcuts/`\n- ✅ Configures `.bashrc` and `.zshrc`\n- ✅ Makes all shortcuts immediately available\n- ✅ Creates test script for verification\n\n### Manual Installation\nIf you prefer manual setup:\n```bash\n# Clone and install\ngit clone https://github.com/aegntic/cldcde.git\ncd cldcde/cli-shortcuts\nnpm install\nnpm run install-shortcuts\n```\n\n### Verification\n```bash\n# Test installation\nnpm test\n\n# Or run the built-in test\ncldcde-cli-shortcuts --test\n\n# Show all shortcuts\ncld-help\n```\n\n## 🛡️ Safety Guidelines\n\n### ✅ Safe for Auto-Execute (`cldae`, `cld-auto`)\n- Code analysis and review\n- File reading and examination\n- Explaining concepts\n- Documentation generation\n- Bug detection\n\n### ❌ Risky Operations (use regular `cld`)\n- File modifications\n- System commands\n- Network operations\n- Deletions\n- Configuration changes\n\n## 🔄 Update & Maintenance\n\n### Update Shortcuts\n```bash\nnpm update -g @aegntic/cldcde-cli-shortcuts\n```\n\n### Uninstall\n```bash\nnpm uninstall -g @aegntic/cldcde-cli-shortcuts\n# Automatically cleans shell configuration\n```\n\n### Troubleshooting\n```bash\n# Shortcuts not working?\nsource ~/.bashrc  # or source ~/.zshrc\n\n# Check installation\ncldcde-cli-shortcuts --check\n\n# Reinstall if needed\nnpm uninstall -g @aegntic/cldcde-cli-shortcuts\nnpm install -g @aegntic/cldcde-cli-shortcuts\n```\n\n## 🎯 Claude 4 Optimized\n\nUpdated for Claude 4 (August 2025):\n- ✅ Model shortcuts point to Claude 4 Sonnet/Opus\n- ✅ Context window aware (200K tokens)\n- ✅ Latest CLI features supported\n- ✅ Performance optimized\n\n## 📊 Productivity Impact\n\nUsers report **3-5x faster** Claude workflow:\n- ⚡ Instant Claude access with `cld`\n- 🔄 Seamless conversation resuming\n- 🤖 Quick model switching\n- 🛡️ Safe auto-execution for reviews\n- 📋 Never forget useful commands\n\n## 🛠️ Customization\n\n### Add Your Own Shortcuts\nEdit `~/.claude/shortcuts/claude-shortcuts.sh`:\n```bash\n# Your custom shortcuts\nalias cldmine=\"claude --model claude-4-sonnet --print\"\nalias cldwork=\"claude --add-dir ~/work\"\n```\n\n### Shell Integration\nWorks with:\n- ✅ Bash\n- ✅ Zsh  \n- ✅ Fish (manual setup)\n- ✅ Any POSIX shell\n\n## 🧪 Testing\n\nComprehensive test suite included:\n```bash\nnpm test                    # Run all tests\nnpm run test -- --verbose  # Detailed output\n```\n\nTests verify:\n- File installation\n- Alias definitions\n- Function availability\n- Help system\n- Shell integration\n\n## 📈 Version History\n\n### v1.0.0 (August 2025)\n- 🎉 Initial release\n- 40+ shortcuts and functions\n- Claude 4 optimization\n- Automatic installation\n- Comprehensive testing\n- Safety guidelines\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create feature branch: `git checkout -b feature/amazing-shortcut`\n3. Add your shortcut to `shortcuts/claude-shortcuts.sh`\n4. Update README with new shortcut\n5. Add test case if needed\n6. Submit Pull Request\n\n## 📄 License\n\nMIT License - see [LICENSE](LICENSE) file.\n\n## 🔗 Related Projects\n\n- **[@aegntic/cldcde-context-tracker](https://npm.im/@aegntic/cldcde-context-tracker)** - Real-time context window monitor\n- **[CLDCDE Main Repository](https://github.com/aegntic/cldcde)** - Complete Claude productivity suite\n\n## 💬 Support\n\n- 🐛 **Issues**: [GitHub Issues](https://github.com/aegntic/cldcde/issues)\n- 💡 **Feature Requests**: [Discussions](https://github.com/aegntic/cldcde/discussions)\n- 📚 **Documentation**: [GitHub Wiki](https://github.com/aegntic/cldcde/wiki)\n\n---\n\n**Made with ❤️ for the Claude Code community**\n\n*Boost your AI workflow with battle-tested shortcuts used by thousands of developers worldwide.*","readmeFilename":"README.md","_rev":"1-a9038ce4768c1db7a9bf5cf1ac062417"}