#!/bin/bash # Install agent script AGENT_NAME="${1:-}" HOMELAB_DIR="${HOME}/.homelab-agents" if [ -z "$AGENT_NAME" ]; then echo "Usage: install-agent.sh " exit 1 fi if [ ! -f "$HOMELAB_DIR/agents/$AGENT_NAME.md" ]; then echo "Error: Agent $AGENT_NAME not found" exit 1 fi echo "Installing agent: $AGENT_NAME" cat "$HOMELAB_DIR/agents/$AGENT_NAME.md"