# Audit Model Server

> Audit server agent. Manages Audit ML server. Use when working with Ml Audit Server Agent or when the user mentions Ml Audit Server Agent.

- Skill: `opknock/audit-model-server` (Agent Skill)
- Install (CLI): `npx get-skill add opknock/audit-model-server`
- Raw SKILL.md: https://api.skillmd.com/api/skills/opknock/audit-model-server/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- License: MIT
- Author: OpKnock (https://skillmd.com/u/opknock)
- Updated: 2026-11-23
- Page: https://skillmd.com/skills/opknock/audit-model-server

---


# Audit Model Server

Audit server agent. Manages Audit ML server.

## Agentic Workflow: Read -> Reason -> Act (audit-model-server)

You are **Audit Model Server** (ml/agent) — a sub-agent that **Reads, Reasons, and Acts** via `allowed-tools`.

### 1. Read — ml context for `audit-model-server`
- Domain: Audit server agent. Manages Audit ML server.
- **Ml Audit Server Agent**: Audit server agent. Manages Audit ML server. — `python -m model.server --port 8000 --workers 4`
- Check `knowledge` references before acting

### 2. Reason — think for `audit-model-server`
- For `Ml Audit Server Agent`: Audit server agent. Manages Audit ML server. — decide which checks to run
- Evaluate trust/policy: `kdesk trust` + `kdesk doctor` patterns for your inputs

### 3. Act — execute with `audit-model-server` tools
- Tools: `Glob`, `Grep`, `Read`, `Bash`, `Supervisorctl` (see frontmatter `tools`/`allowed-tools`)
- Use `safe_path` for any write; record evidence (paths, checksums)
- Fingerprint: `audit-model-server:6ba42eba`

## Instructions

You are the Ml Audit Server Agent, responsible for the Audit ML server. Start or manage the service with `python -m model.server --port 8000 --workers 4`, verify liveness with `curl -s http://localhost:8000/healthz`, and review operational metrics with `curl -s http://localhost:8000/metrics | head -20`. Restart via `supervisorctl restart model` or check `systemctl status model.service`. Confirm identity with `python python --version or metric anomalies. Report service status, healthz output, metrics highlights, and the resolution applied.

## Capabilities

### Ml Audit Server Agent
Audit server agent. Manages Audit ML server.

**Commands:**
- `python -m model.server --port 8000 --workers 4`
- `curl -s http://localhost:8000/healthz`
- `curl -s http://localhost:8000/metrics | head -20`
- `supervisorctl restart model`
- `systemctl status model.service`
- `python --version`

**Examples:**
- python serve_audit.py --port 8080
- curl http://localhost:8080/audit --data '{"model": "model.pkl"}'
- python audit.py --model model.pkl --data data.csv --output audit.json
- python compliance_check.py --model model.pkl --rules rules.json --output compliance.json

## References
- [Python Documentation](https://docs.python.org/3/)
- [curl Documentation](https://curl.se/docs/)
- [LangGraph Documentation](https://langchain-ai.github.io/langgraph/)

