Context-aware development companion that knows your machine and adapts instructions accordingly. Central orchestrator for system administration - reads device profile, routes to specialists. Use when: installing tools, managing servers, setting up dev environments, coordinating any admin task. The skill adapts to YOUR preferences (uv over pip, scoop over winget, etc.)
This skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdassets/env-spec.txtassets/profile-schema.jsonreferences/cross-platform.mdreferences/device-profiles.mdreferences/first-run-setup.mdreferences/logging.mdreferences/powershell-commands.mdreferences/routing-guide.mdreferences/shell-detection.mdscripts/Export-ProfileReport.ps1scripts/Get-WslStatus.ps1scripts/Initialize-AdminProfile.ps1scripts/Initialize-DeviceProfile.ps1scripts/Load-Profile.ps1scripts/Set-WslResources.ps1scripts/Sync-DeviceProfile.ps1scripts/load-profile.shtemplates/profile.jsontemplates/wsl.confPurpose: Read your device profile, adapt instructions to your setup, route to specialist skills.
When a GitHub repo says pip install package, this skill knows you prefer uv and suggests uv pip install package instead.
Before ANY operation, run this detection to find the profile:
# Detect environment and set ADMIN_ROOT
if grep -qi microsoft /proc/version 2>/dev/null; then
# WSL - profile is on Windows side
WIN_USER=$(cmd.exe /c "echo %USERNAME%" 2>/dev/null | tr -d '\r')
ADMIN_ROOT="/mnt/c/Users/$WIN_USER/.admin"
ENV_TYPE="wsl"
elif [[ "$OS" == "Windows_NT" || -n "$MSYSTEM" ]]; then
# Git Bash on Windows
ADMIN_ROOT="$HOME/.admin"
ENV_TYPE="windows-gitbash"
elif [[ "$(uname -s)" == "Darwin" ]]; then
# macOS
ADMIN_ROOT="$HOME/.admin"
ENV_TYPE="macos"
else
# Native Linux
ADMIN_ROOT="$HOME/.admin"
ENV_TYPE="linux"
fi
HOSTNAME=$(hostname)
PROFILE_PATH="$ADMIN_ROOT/profiles/$HOSTNAME.json"
echo "Environment: $ENV_TYPE"
echo "Admin Root: $ADMIN_ROOT"
echo "Profile: $PROFILE_PATH"
echo "Exists: $(test -f "$PROFILE_PATH" && echo 'YES' || echo 'NO')"
| Running From | Profile Location | Why |
|---|---|---|
| WSL | /mnt/c/Users/{WIN_USER}/.admin/profiles/ | Profile lives on Windows, WSL accesses via /mnt/c |
| Windows Git Bash | $HOME/.admin/profiles/ | Same as Windows native |
| Windows PowerShell | $HOME\.admin\profiles\ | Windows native |
| Native Linux | ~/.admin/profiles/ | Linux home |
| macOS | ~/.admin/profiles/ | macOS home |
❌ WRONG: Assume ~/.admin always works
# This FAILS in WSL because ~ is /home/wsladmin, not Windows
ls ~/.admin/profiles/ # Empty or doesn't exist
✅ RIGHT: Detect environment first, then find profile
# In WSL, profile is on Windows side
ls /mnt/c/Users/Owner/.admin/profiles/ # Found!
# After running detection above
source /path/to/admin/scripts/load-profile.sh
load_admin_profile "$PROFILE_PATH"
show_admin_summary
. scripts/Load-Profile.ps1
Load-AdminProfile -Export
Show-AdminSummary
"preferences": {
"python": { "manager": "uv", "reason": "Fast, modern, replaces pip+venv" },
"node": { "manager": "npm", "reason": "Default, bun for speed" },
"packages": { "manager": "scoop", "reason": "Portable installs" }
}
Always check preferences before suggesting commands.
| User Wants | README Says | Profile Shows | You Suggest |
|---|---|---|---|
| Install Python pkg | pip install x | preferences.python.manager: "uv" | uv pip install x |
| Install Node pkg | npm install | preferences.node.manager: "pnpm" | pnpm install |
| Install CLI tool | brew install x | preferences.packages.manager: "scoop" | scoop install x |
| Section | What It Contains | When To Use |
|---|---|---|
device | OS, hostname, hardware | Platform detection |
paths | Critical locations | Finding configs, skills, keys |
tools | Installed tools + paths | Check before install |
preferences | User choices | Adapt commands |
servers | Managed servers | SSH, deployments |
deployments | .env.local references | Load provider configs |
capabilities | Quick flags | Route decisions |
issues | Known problems | Avoid repeating fixes |
mcp | MCP server configs | MCP troubleshooting |
wsl | WSL config (Windows) | Cross-platform |
| Task Type | Route To | Requires |
|---|---|---|
| Server provisioning | admin-devops | - |
| OCI infrastructure | admin-infra-oci | OCI CLI configured |
| Hetzner infrastructure | admin-infra-hetzner | Hetzner token |
| Other clouds | admin-infra-{provider} | Provider credentials |
| Coolify installation | admin-app-coolify | Server access |
| KASM installation | admin-app-kasm | Server access |
| Windows system admin | admin-windows | Windows platform |
| WSL administration | admin-wsl | WSL present |
| Linux/macOS admin | admin-unix | Non-Windows |
| MCP servers | admin-mcp | - |
load_admin_profile "$PROFILE_PATH"jq '.tools.{name}.present' "$PROFILE_PATH"jq '.preferences.packages.manager' "$PROFILE_PATH"jq '.servers[]' "$PROFILE_PATH"SERVER=$(jq '.servers[] | select(.id == "cool-two")' "$PROFILE_PATH")
KEY_PATH=$(echo "$SERVER" | jq -r '.keyPath')
# Convert C:/Users/... to /mnt/c/Users/...
if [[ "$KEY_PATH" == *":"* ]]; then
DRIVE=$(echo "$KEY_PATH" | cut -c1 | tr '[:upper:]' '[:lower:]')
REST=$(echo "$KEY_PATH" | cut -c3- | sed 's|\\|/|g')
KEY_PATH="/mnt/$DRIVE$REST"
fi
If profile doesn't exist:
Windows (PowerShell):
.\scripts\Initialize-AdminProfile.ps1
WSL/Linux - Profile should be created from Windows side first, then accessed from WSL via /mnt/c/...
# Load profile first, then check
HAS_DOCKER=$(jq -r '.capabilities.hasDocker' "$PROFILE_PATH")
HAS_WSL=$(jq -r '.capabilities.hasWsl' "$PROFILE_PATH")
if [[ "$HAS_DOCKER" == "true" ]]; then
docker info
fi
references/device-profiles.md - Profile management detailsreferences/routing-guide.md - Detailed routing logicreferences/first-run-setup.md - Initial setup flowreferences/cross-platform.md - Windows ↔ WSL coordination| Script | Purpose |
|---|---|
Load-Profile.ps1 | PowerShell profile loader |
load-profile.sh | Bash profile loader |
Initialize-AdminProfile.ps1 | Create new profile (Windows) |
| Skill | Purpose |
|---|---|
admin-devops | Server inventory & provisioning |
admin-infra-* | Cloud provider provisioning |
admin-app-* | Application deployment |
admin-windows | Windows administration |
admin-wsl | WSL administration |
admin-unix | Linux/macOS administration |
admin-mcp | MCP server management |