Permanently install and activate squad functionality with full infrastructure
Permanently installs squad functionality with robust infrastructure and session hooks.
/plugin marketplace add jamsajones/claude-squad/plugin install claude-squad@claude-squad-marketplacePermanently install and activate the claude-agents squad functionality with full infrastructure setup.
Creating permanent squad infrastructure...
!mkdir -p ~/.claude/hooks !mkdir -p ~/.claude/backups
Setting squad functionality to PERMANENTLY ENABLED...
!echo "CLAUDE_SQUAD_ENABLED=1" > ~/.claude/.squad_enabled !echo "SQUAD_INSTALL_DATE=$(date)" >> ~/.claude/.squad_enabled !echo "SQUAD_INSTALL_MODE=permanent" >> ~/.claude/.squad_enabled
Creating robust session hook...
!cat > ~/.claude/hooks/sessionStart.sh << 'EOF' #!/bin/bash
if [ -f "$HOME/.claude/.squad_enabled" ]; then SQUAD_FILE="$HOME/.claude/SQUAD.md"
# Check if SQUAD.md exists
if [ -f "$SQUAD_FILE" ]; then
echo "š¤ Loading squad orchestration rules from SQUAD.md..."
cat "$SQUAD_FILE"
else
echo "ā ļø Warning: SQUAD.md not found at $SQUAD_FILE"
echo "Agent orchestration rules may not be properly configured."
fi
else echo "ā¹ļø Squad functionality disabled. Use /squad-on to enable agent delegation." fi EOF
!chmod +x ~/.claude/hooks/sessionStart.sh
Verifying squad infrastructure...
!echo "š Infrastructure Check:" !echo "ā Session hook: $([ -x ~/.claude/hooks/sessionStart.sh ] && echo 'Installed' || echo 'Missing')" !echo "ā State file: $([ -f ~/.claude/.squad_enabled ] && echo 'Created' || echo 'Missing')" !echo "ā SQUAD.md: $([ -f ~/.claude/SQUAD.md ] && echo 'Available' || echo 'Missing')" !echo "ā Hooks directory: $([ -d ~/.claude/hooks ] && echo 'Ready' || echo 'Missing')" !echo "ā Backups directory: $([ -d ~/.claude/backups ] && echo 'Ready' || echo 'Missing')"
ā ļø IMPORTANT: To ensure proper squad activation, your current context should be cleared.
Do you want to clear the context now?
Respond with 'yes' to clear context and activate squad functionality, or 'no' to keep current context.
If you choose 'yes', the context will be cleared and squad functionality will be active in your next interaction.
ā Squad functionality is now PERMANENTLY ASSEMBLED
Use /squad-dismiss to completely remove squad functionality if needed.
Use /squad-standdown for temporary session-only disable.