Agent skill
debug
Diagnose and fix issues with the Pibox container environment — tools, paths, mounts, pi configuration.
Install this agent skill to your Project
npx add-skill https://github.com/rcarmo/piclaw/tree/main/skel/.pi/skills/debug
SKILL.md
Debug
Diagnose and fix issues with the Pibox container environment.
Steps
-
Check system basics:
bashuname -a && cat /etc/os-release | head -3 whoami && id df -h / /workspace /home/agent 2>/dev/null free -h -
Check tool availability:
bashfor cmd in bun brew git rg make pi vim tmux htop jq curl; do printf "%-8s " "$cmd"; which "$cmd" 2>/dev/null && "$cmd" --version 2>/dev/null | head -1 || echo "NOT FOUND" done -
Check pi configuration:
bashecho "=== Global skills ===" && ls ~/.pi/agent/skills/ 2>/dev/null || echo "none" echo "=== Global settings ===" && cat ~/.pi/agent/settings.json 2>/dev/null || echo "none" echo "=== Project AGENTS.md ===" && head -5 AGENTS.md 2>/dev/null || echo "none" echo "=== Project skills ===" && ls .pi/skills/ 2>/dev/null || echo "none" -
Check piclaw (if running):
bashecho "=== Piclaw ===" && pgrep -af "bun.*piclaw" || echo "not running" ls -la data/ipc/ 2>/dev/null || echo "no IPC directory" -
Report findings and suggest fixes.
Common Issues
- bun not found:
source ~/.bashrcor check~/.bun/binis in PATH - brew not found:
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - pi not found:
bun add -g @mariozechner/pi-coding-agent - Permission denied:
sudo chown -R agent:agent /workspace - Config not persisting: Check
/configvolume is mounted and~/.piis symlinked
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
autoresearch-create
Set up and run an autonomous experiment loop for any optimization target. Gathers what to optimize, then starts the loop immediately. Use when asked to "run autoresearch", "optimize X in a loop", "set up autoresearch for X", or "start experiments".
portainer-container-compare-chart
Compare two containers using native portainer tool data collection and render SVG/CSV outputs.
proxmox-guest-compare-chart
Compare two Proxmox guests using native proxmox tool data collection and render SVG/CSV outputs.
schedule
Schedule a task to run later or on a recurring basis. Prefer the schedule_task tool; fallback to IPC only if needed.
reload
Reinstall piclaw from workspace source and force-restart the running process. Use after making code changes to piclaw.
send-message
Send a message to the chat immediately without waiting for the current task to finish. Useful for acknowledging requests or sending progress updates while working.
Didn't find tool you were looking for?