deploy-ai-agent
Deploy and manage AI agent workloads with GPU checks, API key management, and health monitoring
Deploy and manage user applications as managed systemd services
$ npx -y skills add bolivian-peru/os-moda --skill app-deployer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/app-deployerContext preview
The summary Claude sees to decide when to auto-load this skill.
Deploy and manage user applications as managed systemd services
name: app-deployer description: Deploy and manage user applications as managed systemd services activation: auto tools: - app_deploy - app_list - app_logs - app_stop - app_restart - app_remove - system_discover - journal_logs - memory_store
Deploy and manage user applications (Node.js apps, Python scripts, Go binaries, Docker-less containers, etc.) as first-class managed processes on the OS.
1. **Understand** — Ask what to deploy. Determine the command, working directory, environment variables, and resource requirements. 2. **Deploy** — Use `app_deploy` with appropriate parameters. Default isolation uses `DynamicUser=yes` (ephemeral UID, no root). 3. **Verify** — Use `app_list` to confirm the app is running. Check `app_logs` for startup output. 4. **Store** — Use `memory_store` to remember what was deployed and why.
User: "Deploy my Node.js API at /home/user/api"
1. app_deploy({
name: "user-api",
command: "/usr/bin/node",
args: ["server.js"],
working_dir: "/home/user/api",
env: { NODE_ENV: "production", PORT: "3000" },
port: 3000,
memory_max: "256M",
user: "user"
})
2. app_list() → confirm running, check PID
3. app_logs({ name: "user-api", lines: 20 }) → verify startup
4. memory_store({ summary: "Deployed user-api Node.js app", ... })Apps run under systemd cgroups. Available limits:
| Parameter | Example | Effect | |-----------|---------|--------| | `memory_max` | `"256M"`, `"1G"` | Hard memory cap via MemoryMax= | | `cpu_quota` | `"50%"`, `"200%"` | CPU time limit (200% = 2 cores) |
Apps are registered in `/var/lib/osmoda/apps/registry.json`. The `osmoda-app-restore` service re-creates all running apps as transient systemd units on boot. Apps marked as `stopped` are not restored.
An operating system built for AI agents — talk to your NixOS server instead of SSH-ing in. Typed, audited tool access with atomic rollback on every change. Research-grade; run it on a disposable box, not production.
Deploy and manage AI agent workloads with GPU checks, API key management, and health monitoring
Detect configuration drift — manual changes that exist outside NixOS management. Offer to bring imperative changes into…
Manage files and directories. List, find, search contents, read, write, move, copy, delete, permissions. Present directory…
Black box flight recorder for the server. Capture system state snapshots for forensic analysis after incidents. Continuous…
NixOS generation-aware debugging and time-travel. Correlate system state changes with application failures. Query "what changed…
Generate a concise daily infrastructure briefing. Covers: service health, resource usage, security events, overnight incidents,…