This skill should be used when managing Docker containers, Compose projects, or Docker images across homelab hosts; when executing remote commands or reading files on SSH hosts; when monitoring ZFS pools, datasets, or snapshots; when aggregating or filtering system logs (syslog, journal, dmesg, auth); or when performing multi-host health checks, resource monitoring, or infrastructure troubleshooting. Prefer the synapse MCP tools when available; fall back to HTTP only when MCP tool wiring is unavailable. Typical triggers include "restart my nginx container", "show disk usage on the storage server", "pull the latest images for media-stack", "check ZFS pool health", "tail the journal on production", "compare configs between two hosts", or "list all running containers".
From synapsenpx claudepluginhub jmagar/synapse-mcp --plugin synapse-mcpThis skill uses the workspace's default tool permissions.
README.mdexamples/docker-deployment.mdexamples/log-analysis.mdexamples/multi-host-monitoring.mdreferences/best-practices.mdreferences/flux-operations.mdreferences/scout-operations.mdreferences/troubleshooting.mdreferences/workflows.mdEnables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
MCP mode (preferred): Use mcp__synapse__flux and mcp__synapse__scout when those tools are available.
HTTP fallback: If MCP tools are unavailable, connect to ${user_config.synapse_mcp_url} with bearer auth using ${user_config.synapse_mcp_token}. Do not attempt to read sensitive values from ${user_config.*} for Bash fallbacks; use environment variables provided by the plugin hook instead.
Synapsis provides comprehensive homelab infrastructure management through two specialized tools:
Access these tools via /flux and /scout commands, which invoke the synapse-mcp MCP server.
Capabilities:
Container Management:
/flux list containers
/flux start container-name
/flux logs nginx --lines 50 --grep error
/flux stats plex
/flux exec container-name ls -la /data
Compose Projects:
/flux list compose projects
/flux up media-stack
/flux down media-stack
/flux logs media-stack
/flux recreate media-stack --pull
Host Diagnostics:
/flux check host status
/flux show system resources
/flux list docker images
/flux show disk usage
File Operations:
/scout list hosts
/scout read production:/etc/docker/daemon.json
/scout exec production df -h
/scout find files matching *.log on production
ZFS Management:
/scout show zfs pools on storage
/scout list zfs datasets on storage
/scout show zfs snapshots on storage
Log Analysis:
/scout show journal logs on production
/scout show syslog on production --grep error
/scout show auth logs on production
Deploy new version:
/flux list containers --state running/flux pull media-stack/flux down media-stack/flux up media-stack/flux logs media-stack --lines 20/flux statsQuick restart:
/flux restart media-stack/flux logs media-stackSystem overview:
/scout list hosts/flux check all hosts/flux show resources on all hosts/flux show services on all hostsStorage health:
/scout show zfs pools on storage/scout exec all-hosts df -h/flux show mounts on all hostsContainer issues:
/flux list containers --name problematic-service/flux logs service --lines 100 --since 1h/flux inspect service/flux top service/flux stats serviceApplication errors:
/flux logs service --grep "ERROR|FATAL"/scout show journal on host --unit service/scout show auth logs on host/scout compare host1:/config host2:/configCentralized log analysis:
/flux logs --all --since 1h --grep error/scout show journal on all hosts --since 1h/scout show auth logs on all hosts/scout show dmesg on all hostsAuto-Discovery:
~/.ssh/config are automatically availablesynapse.config.json for advanced host configurationHost Targeting:
host parameter to run on all discovered hostsemit for parallel multi-host commandsCompose Discovery:
/compose, /mnt/cache/compose, /mnt/cache/code/flux refresh compose cache to force re-scanCaching:
COMPOSE_CACHE_TTL_HOURS)Pagination:
--limit for large result sets (default: 50, max: 1000)--offset for browsing paginated dataFiltering:
--since, --until), grep patternsCommand Execution:
exec only allows 20+ safe commands (cat, grep, find, ls, stat, etc.).. in paths)Destructive Operations:
recreate, down, rmi, prune require force: true--dry-run where availableValidation:
Transient Failures:
~/.ssh/configPermanent Failures:
Recovery:
Set via .env or shell environment:
SYNAPSE_CONFIG_FILE=/path/to/synapse.config.json
SYNAPSE_DEFAULT_HOST=production
SSH_POOL_MAX_CONNECTIONS=10
COMPOSE_CACHE_TTL_HOURS=24
Minimal (SSH config only):
Host production
HostName 192.168.1.100
User admin
IdentityFile ~/.ssh/id_rsa
Advanced (synapse.config.json):
{
"hosts": [
{
"name": "production",
"host": "192.168.1.100",
"protocol": "ssh",
"sshUser": "admin",
"sshKeyPath": "~/.ssh/id_rsa",
"composeSearchPaths": ["/opt/stacks", "/srv/docker"],
"tags": ["production", "docker"]
}
]
}
Compose Auto-Discovery:
docker compose ls (medium)SSH Connection Pooling:
Output Formats:
response_format: "json")Limitations:
exec limited to allowlisted commands (security)For comprehensive documentation, see:
For working examples, see:
Version: 1.0.0 Last Updated: 2026-03-14