원클릭으로
service
Manage UnaMentis services via USM API (never via bash kill commands)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Manage UnaMentis services via USM API (never via bash kill commands)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add files and frameworks to Xcode projects programmatically
Post to Slack channels and manage Trello cards with natural language
Manage git worktrees for parallel Claude Code development sessions
Pre-commit validation ensuring lint and tests pass
Configure MCP session defaults for different project components
Perform a code review on recent changes
| name | service |
| description | Manage UnaMentis services via USM API (never via bash kill commands) |
Manages UnaMentis services through the USM (UnaMentis Server Manager) API. This skill enforces the mandate to NEVER use bash commands like pkill for service control.
Critical Rule: ALWAYS use USM API (port 8787). NEVER use bash kill commands.
Note: A legacy USM app exists at port 8767 but is deprecated. Always use port 8787.
/service status # Show status of all services
/service status <service> # Show status of specific service
/service start <service> # Start a service
/service stop <service> # Stop a service
/service restart <service> # Restart a service
/service restart-all # Restart all services
/service logs <service> # View recent logs for a service
| Service ID | Description | Port |
|---|---|---|
postgresql | PostgreSQL Database | 5432 |
log-server | Log Server | 8765 |
management-api | Management API | 8766 |
web-server | Operations Console | 3000 |
web-client | Web Client | 3001 |
ollama | Ollama LLM | 11434 |
curl -s http://localhost:8787/api/health
If USM is not running, inform user to start the USM menu bar app.
Status check:
curl -s http://localhost:8787/api/services
curl -s http://localhost:8787/api/services/{service_id}
Start service:
curl -X POST http://localhost:8787/api/services/{service_id}/start
Stop service:
curl -X POST http://localhost:8787/api/services/{service_id}/stop
Restart service:
curl -X POST http://localhost:8787/api/services/{service_id}/restart
After start/restart, poll health until ready:
curl -s http://localhost:8787/api/services/{service_id}
Wait until status shows "running" (up to 30 seconds).
After restarting a service with code changes:
Check all services:
User: /service status
Claude: Checking service status via USM API...
Services:
- postgresql: running (port 5432)
- log-server: running (port 8765)
- management-api: running (port 8766)
- web-server: stopped
- web-client: stopped
- ollama: running (port 11434)
Restart management API:
User: /service restart management-api
Claude: Restarting management-api via USM API...
Stop: OK
Start: OK
Health check: PASSED (ready in 2.3s)
management-api is now running on port 8766
Restart with verification:
User: I changed the latency API endpoint, restart the server
Claude: Restarting management-api via USM API...
Stop: OK
Start: OK
Health check: PASSED
Verifying code changes active...
- Testing endpoint: GET /api/latency-tests/status
- Response confirms new field present
Code changes are active and working.
Using bash commands like pkill or killall:
The USM API provides:
The ONE exception to the "never use pkill" rule is restarting the USM (Server Manager) app itself. Since USM cannot restart itself via its own API, you must use:
pkill -f "USM.app" 2>/dev/null
Then relaunch USM manually. This is documented in server/server-manager/FRESH_SESSION_TASKS.md.