Add complete homelab agents structure, templates, and sysadmin-session-closer agent

This commit is contained in:
Homelab Automation
2025-11-23 14:39:16 +00:00
parent 80254e5b98
commit 49161ed68d
8 changed files with 101 additions and 2 deletions

18
scripts/install-agent.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Install agent script
AGENT_NAME="${1:-}"
HOMELAB_DIR="${HOME}/.homelab-agents"
if [ -z "$AGENT_NAME" ]; then
echo "Usage: install-agent.sh <agent-name>"
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"