status
Report AgentGuards guardrail status. Use when the user asks whether AgentGuards is active, healthy, or correctly configured in Codex.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- name
- status
- description
- Report AgentGuards guardrail status. Use when the user asks whether AgentGuards is active, healthy, or correctly configured in Codex.
03 SKILL.md 正文
AgentGuards status
Check the real state yourself — run these, don't hand them to the user. Never
print the API key: the commands below only ever pass it along, and you report
at most its ag_ prefix.
-
If the AgentGuards CLI is installed, use it. It checks the key, the service and each agent's install in one go. Run
agentguards doctor, or~/.agentguards/bin/agentguards doctorif it is not on PATH (on Windows,$HOME\.agentguards\bin\agentguards.exe doctor). If that ran, report its output and stop here. -
Otherwise, find the key. The hooks use the first of: the
AGENTGUARDS_API_KEYenvironment variable,~/.codex/agentguards_token, then~/.agentguards/credentials.json(saved byagentguards login). Say which one is set — not the value. -
Check the service is reachable (macOS/Linux):
url="${AGENTGUARDS_URL:-https://prod.agentguards.co}" curl -s -o /dev/null -w '%{http_code}\n' "$url/health"200means it is up. A connection failure means the hooks fail closed and block until it is back (unlessAGENTGUARDS_FAIL_OPEN=true). -
Confirm the key is accepted, not just present (same shell, so
$urlis set) (macOS/Linux):key="${AGENTGUARDS_API_KEY:-$(cat ~/.codex/agentguards_token 2>/dev/null)}" key="${key:-$(python3 -c "import json,os;print(json.load(open(os.path.expanduser('~/.agentguards/credentials.json')))['api_key'])" 2>/dev/null)}" curl -s -o /dev/null -w '%{http_code}\n' "$url/v1/guardrails/evaluate-input" \ -H "X-API-Key: $key" -H 'Content-Type: application/json' -d '{"text":"status check"}'200means it is accepted.401means the key is wrong or was revoked at https://agentguards.co/dashboard/keys. On Windows, do the same withInvoke-WebRequest, reading the key from the same three places. -
Report plainly: where the key comes from, the two status codes, the fail mode (fail-closed unless
AGENTGUARDS_FAIL_OPEN=true), and what the hooks cover — every prompt, every shell command, fetched content from shell commands, andapply_patchedits. Don't speculate beyond what the checks showed. If the key is missing or rejected, use thesetupskill.
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.