- Add all 21 commands (clawd, ralph, prometheus*, dexto*) - Add all hooks (intelligent-router, clawd-*, prometheus-wrapper, unified-integration-v2) - Add skills (ralph, prometheus master) - Add MCP servers (registry.json, manager.sh) - Add plugins directory with marketplaces - Add health-check.sh and aliases.sh scripts - Complete repository synchronization with local ~/.claude/ Total changes: 100+ new files added All integrations now fully backed up in repository 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
51 lines
2.1 KiB
Bash
Executable File
51 lines
2.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# Claude Code Production-Grade Aliases v2
|
|
# Source this file in your .bashrc: source ~/.claude/aliases.sh
|
|
|
|
# Core binaries
|
|
alias ralph-loop='~/.claude/skills/bin/ralphloop'
|
|
alias ralphloop='~/.claude/skills/bin/ralphloop'
|
|
|
|
# Health and management
|
|
alias claude-health='~/.claude/health-check.sh'
|
|
alias health-check='~/.claude/health-check.sh'
|
|
alias mcp-status='~/.claude/mcp-servers/manager.sh status'
|
|
alias mcp-start='~/.claude/mcp-servers/manager.sh start'
|
|
alias mcp-stop='~/.claude/mcp-servers/manager.sh stop'
|
|
alias mcp-restart='~/.claude/mcp-servers/manager.sh restart'
|
|
|
|
# Clawd
|
|
alias clawd-status='curl -s http://127.0.0.1:8766/health | jq .'
|
|
alias clawd-logs='tail -f ~/.claude/clawd/logs/gateway.log'
|
|
|
|
# Prometheus
|
|
alias prometheus-install='bash ~/.claude/prometheus/install.sh'
|
|
alias prometheus-status='ls -la ~/.claude/prometheus/venv && echo "Prometheus installed" || echo "Prometheus not installed"'
|
|
alias prometheus-logs='tail -f ~/.claude/prometheus/logs/prometheus.log'
|
|
alias prometheus-task='~/.claude/hooks/prometheus-wrapper.sh'
|
|
|
|
# Quick commands
|
|
alias clawd-task='~/.claude/hooks/clawd-wrapper.sh --task'
|
|
alias ralph-task='~/.claude/skills/bin/ralphloop'
|
|
|
|
# Info
|
|
alias claude-info='echo "Claude Code CLI - Production Grade" && ~/.claude/health-check.sh | grep -E "✓|✗|⚠"'
|
|
alias claude-plugins='jq -r ".plugins | keys[]" ~/.claude/plugins/installed_plugins.json'
|
|
alias claude-skills='find ~/.claude/skills -maxdepth 1 -type d | wc -l && echo "skills available"'
|
|
|
|
# Documentation
|
|
alias claude-upgrade-summary='cat ~/.claude/UPGRADE-SUMMARY.md'
|
|
alias prometheus-docs='cat ~/.claude/PROMETHEUS-INTEGRATION.md'
|
|
|
|
# Development
|
|
alias mcp-edit='${EDITOR:-nano} ~/.claude/mcp-servers/registry.json'
|
|
alias hooks-edit='${EDITOR:-nano} ~/.claude/hooks.json'
|
|
alias settings-edit='${EDITOR:-nano} ~/.claude/settings.json'
|
|
|
|
# Logs
|
|
alias claude-logs='tail -f ~/.claude/logs/health-check.log'
|
|
alias mcp-logs='tail -f ~/.claude/mcp-servers/logs/*.log'
|
|
|
|
echo "Claude Code aliases loaded (v2 with Prometheus)."
|
|
echo "Type 'claude-info' for status, 'prometheus-docs' for Prometheus info."
|