Unified AI Gateway
Overview
Use the official unified-ai-system MCP server to inspect and exercise a local
AI gateway without provider credentials. This skill file provides operating
guidance; it does not install the server or change Codex configuration by
itself. The official Codex plugin bundles the MCP definition, while skill-only
installations require the manual setup below.
Version Note
These are two different things and they are not equal today:
- Current release:
v0.8.0. It declares and ships fifteen tool names, and the
60-second demo command
in the README names that version. Read it live with
node tools/verify-image-roster.mjs 0.8.0, which reports the roster from the
image bytes rather than from this file.
- Reviewed and pinned below:
0.4.9. The inspection procedure in this file
pins that image's recorded digests because 0.4.9 is the newest version with a
completed content review.
It carries 9 of the fifteen names: the model-backed enhancement, knowledge
retrieval and workflow execution tools arrived at 0.5.0, and the three
governance tools at 0.8.0.
Do not substitute a mutable tag for a pinned digest, and do not move the pin to a
newer version just because this file looks out of date: a new content review is
required first, and the pinned identity is only as good as the review that backs it.
Prerequisites And Setup
- Confirm that Codex CLI and Docker are installed and Docker is running.
- If the nine tools are already visible, skip setup and do not register a
duplicate server.
- Explain the first stage: it downloads one reviewed platform from the
immutable
0.4.9 multi-platform index into Docker's cache, inspects its
metadata and layer history, creates but never starts a temporary container,
exports its root filesystem, removes that temporary container, and writes an
inspection inventory to a temporary directory. The reviewed platforms are
linux/amd64 and linux/arm64. Obtain explicit user approval for those download
and inspection changes only.
- After that first approval, pull the reviewed platform manifest and complete
the inspection. Do not execute the image or register it yet:
IMAGE='ghcr.io/happy520ai/unified-ai-system/mcp-server@sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3'
PLATFORM='linux/amd64' # Use linux/arm64 only on a reviewed ARM64 engine.
REVIEW_DIR="$(mktemp -d)"
docker pull --platform "$PLATFORM" "$IMAGE"
docker image inspect "$IMAGE" --format 'Id={{.Id}} OS={{.Os}} Architecture={{.Architecture}} User={{json .Config.User}} Entrypoint={{json .Config.Entrypoint}} Cmd={{json .Config.Cmd}} Labels={{json .Config.Labels}}'
docker image history --no-trunc "$IMAGE" > "$REVIEW_DIR/image-history.txt"
REVIEW_CONTAINER="$(docker create --platform "$PLATFORM" --pull never --entrypoint /bin/true "$IMAGE")"
docker export --output "$REVIEW_DIR/rootfs.tar" "$REVIEW_CONTAINER"
docker rm "$REVIEW_CONTAINER"
tar -tf "$REVIEW_DIR/rootfs.tar" > "$REVIEW_DIR/rootfs-files.txt"
mkdir -p "$REVIEW_DIR/rootfs"
tar --same-permissions -xf "$REVIEW_DIR/rootfs.tar" -C "$REVIEW_DIR/rootfs"
find "$REVIEW_DIR/rootfs/app" -type f -print > "$REVIEW_DIR/app-files.txt"
: > "$REVIEW_DIR/app-links.txt"
while IFS= read -r -d '' APP_LINK; do
ls -ld -- "$APP_LINK" >> "$REVIEW_DIR/app-links.txt"
done < <(find "$REVIEW_DIR/rootfs/app" \( -type l -o -type f -links +1 \) -print0)
: > "$REVIEW_DIR/native-binaries.sha256"
while IFS= read -r -d '' NATIVE_BINARY; do
sha256sum -- "$NATIVE_BINARY" >> "$REVIEW_DIR/native-binaries.sha256"
done < <(find "$REVIEW_DIR/rootfs/app" -type f -name '*.node' -print0)
find "$REVIEW_DIR/rootfs" -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -print > "$REVIEW_DIR/executable-files.txt"
find "$REVIEW_DIR/rootfs" -type f \( -perm -4000 -o -perm -2000 \) -print > "$REVIEW_DIR/suid-sgid-files.txt"
find "$REVIEW_DIR/rootfs/app" -type f \( -name '.env' -o -name '.env.*' -o -name '*.pem' -o -name '*.key' -o -name '*.p12' -o -name '*.pfx' -o -path '*/.ssh/id_*' \) -print > "$REVIEW_DIR/credential-like-files.txt"
find "$REVIEW_DIR/rootfs/app" -type f -name 'package.json' \
-exec grep -nHE '"(preinstall|install|postinstall|prepare|prepack|postpack)"' -- {} + \
> "$REVIEW_DIR/lifecycle-hooks.txt"
find \
"$REVIEW_DIR/rootfs/app/packages/mcp-server/src" \
"$REVIEW_DIR/rootfs/app/packages/shared-sdk/src" \
-type f \
-exec grep -nHE 'child_process|spawn\(|fetch\(|AI_GATEWAY_MCP_URL|process\.env|writeFile|appendFile|unlink|rm\(' -- {} + \
> "$REVIEW_DIR/runtime-sensitive-code.txt"
If sha256sum is unavailable, use the platform's SHA-256 utility and preserve
the same report. Keep the review directory until the report is accepted; its
deletion is another filesystem change and requires approval for the exact path.
Read every generated inventory and report the inspection before proceeding.
Compare it with the versioned
image content review.
Require OCI index digest
sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3.
For linux/amd64, require manifest digest
sha256:ff6cf988b01d5fb2e97aabe8e952f6a303dcffe650df5b4dcb0ba3d51ee88c06
and config digest
sha256:0c2c0c7b9c7fb7ca24c73d9a903bcf719b079a0b285a3a3269ee3ae059905e97.
For linux/arm64, require manifest digest
sha256:90318b9e373820f863c1c1addc759be4b5ce186f2ecb6232ee502fad7c6613de
and config digest
sha256:c2047eb63fdc42bcb16d53fca17d78a4a6fb355cf6320b9aa6688e594371054f.
Require source https://github.com/happy520ai/unified-ai-system, revision
342a47313927870bcc696be13c9e5fb922062dac, version 0.4.9, license
Apache-2.0, entrypoint docker-entrypoint.sh, and command
node packages/mcp-server/src/index.js.
Report these reviewed risks explicitly: the image uses the default root
user; includes Debian shell/package utilities and 11 base-image SUID/SGID
files; contains 522 internal pnpm links, three native Node binaries, and eight
lifecycle-hook declarations; and starts a child gateway with loopback HTTP.
The optional AI_GATEWAY_MCP_URL can make an HTTP or HTTPS connection only
when explicitly passed. The registered command below passes no host files,
environment variables, or ports and disables container networking. Stop on
any mismatch, unexpected link, credential-like file, native binary, hook,
privileged file, or sensitive-code behavior.
Explain the second stage: it persists a Codex MCP configuration and permits
Codex to launch the inspected image in a later task. Obtain a separate
explicit approval for registration and activation; the download approval
does not carry over.
After that second approval, register the reviewed platform digest with
pulling, container networking, Linux capabilities, and privilege escalation
disabled, then inspect the stored configuration:
IMAGE='ghcr.io/happy520ai/unified-ai-system/mcp-server@sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3'
PLATFORM='linux/amd64' # Match the reviewed platform inspected above.
codex mcp add unified-ai-system -- docker run --rm -i --pull never --platform "$PLATFORM" --network none --cap-drop ALL --security-opt no-new-privileges "$IMAGE"
codex mcp get unified-ai-system --json
- Restart Codex or open a new task, then use
/mcp verbose to confirm that all
nine tools are available - the pinned 0.4.9 image ships nine of the fifteen
names the current release declares. Remove the registration when it is no longer
wanted:
codex mcp remove unified-ai-system
Removing the registration does not remove the pulled image from Docker's
cache. Treat image-cache deletion as a separate host-state change and obtain
approval before doing it.
When to Use This Skill
- Use when a user asks whether Unified AI System is healthy or ready.
- Use when a user wants a credential-free gateway chat proof.
- Use when a user asks about the gateway's knowledge, workflow, or workforce
surfaces.
- Use when a user wants evidence from the bundled MCP tools rather than a claim
inferred from documentation or process exit codes.
Do not use this skill for generic model comparisons, unrelated MCP servers, or
deploying a production gateway.
Workflow
- Confirm that the
unified-ai-system MCP tools are available in the current
task. If they are absent, follow the approved setup above and wait for a
restarted or new task.
- Call
gateway_health, then gateway_readiness, before attempting chat.
- Select the narrowest additional tool that answers the request.
- Report returned provider, execution mode, readiness, and blockers exactly.
- Separate transport success from product, production-readiness, autonomy, or
AGI claims.
Tool Map
Nine of these ship in the reviewed 0.4.9 image below; the six marked 0.5.0 and
0.8.0 are in the current release and are absent from that older image.
Status and boundaries:
gateway_health: gateway health, provider mode, and the real-provider safety flag
gateway_readiness: first-run readiness for chat and the local gateway runtime
knowledge_readiness: knowledge infrastructure without loading or changing data
workflow_health: the governed workflow subsystem without starting a workflow
workflow_actions: workflow action definitions without invoking any action
workforce_health: the workforce subsystem without planning or executing work
workforce_agents: configured workforce agent descriptors without dispatching them
Doing work locally, still with no provider call:
gateway_prompt_enhance: structures a plain-language request into a prompt
locally, without provider credentials or provider calls
gateway_prompt_enhance_llm (0.5.0): semantic rewriting through a provider
when one is configured, falling back to the deterministic local engine when none is
knowledge_retrieve (0.5.0): keyword search over the local knowledge base,
returning ranked chunks with citations; calls no provider
workflow_run (0.5.0): the 3-step local workflow - retrieve knowledge, compose
a Markdown report, write a controlled artifact; calls no provider
gateway_chat: one chat request, accepted only when the gateway proves real
providers are disabled
The governed Agent surface, read-only (0.8.0):
agent_governance_status: governance status through the authenticated Gateway
identity; no tenant override is accepted and it fails closed when that identity is
not authorized for platform status
agent_governance_list: only the governed Agents visible to that tenant, with no
tenant or owner override argument
agent_governance_describe (takes agentId): one Agent as seen by that tenant;
cross-tenant and missing identifiers stay indistinguishable on purpose
Creating, executing, revoking, approving or activating anything in that surface
remains a human REST/SDK/CLI operation and is not exposed to the model at all.
Example
User: Check whether the local gateway is ready, then prove chat works safely.
Agent:
1. Call gateway_health.
2. Call gateway_readiness.
3. Call gateway_chat only if both results prove fake-provider mode.
4. Report provider, model, execution mode, response, and every blocker.
Safety Boundaries
- Keep the credential-free local fake provider as the default.
- Never request, read, or transmit provider credentials through this skill.
- Do not enable or call a real provider without explicit scoped authorization.
- Treat MCP registration, image pulls, container creation, networking, and
teardown as host-state changes that require informed user approval.
- Never substitute a mutable tag, a different OCI index, or an unreviewed
platform manifest for the reviewed
0.4.9 identities. Keep download and
inspection approval separate from registration and activation approval.
- Keep
--pull never in the registered command. If the reviewed image is
absent from the local cache, fail closed and return to the first approval
stage.
- Keep
--network none, --cap-drop ALL, and
--security-opt no-new-privileges in the registered command.
- Do not claim production readiness, L5 autonomy, or AGI from a healthy handshake.
- Treat a zero exit code as transport evidence, not proof that readiness gates
passed.
Limitations
- This skill file does not bundle the MCP server, Docker image, or Codex
configuration. It only operates tools supplied by the separately installed
official integration.
- It does not deploy, benchmark, or certify the gateway for production use.
- The credential-free chat tool proves only the deterministic local fake path.
- It does not configure real providers or handle provider credentials.
- The published MCP image requires Docker.
- The reviewed
0.4.9 path covers linux/amd64 and linux/arm64. Do not activate
another platform image without a separate content review.
- The image runs as the container's default root user and bundles the gateway
source, package-manager tooling, native dependencies, and base-image
SUID/SGID files. The registered command drops capabilities, prevents new
privileges, disables networking, and leaves the image in Docker's cache.
- Existing Codex tasks may not hot-load a newly installed MCP configuration.
Troubleshooting
- If the tools are missing after approved registration, inspect
codex mcp get unified-ai-system --json, then restart Codex or start a new
task.
- If readiness is blocked, report the returned blocker instead of retrying chat
blindly.
- If the runtime might use a real provider, stop before chat and keep the
session read-only.
Additional Resources
1---2name: unified-ai-gateway3description: Operate and evaluate Unified AI System through fifteen governed MCP tools, including provider-free prompt enhancement, while preserving fake-provider, authorization, and evidence boundaries.4category: ai-ml5risk: critical6source: https://github.com/happy520ai/unified-ai-system/tree/master/skills/unified-ai-gateway7source_repo: happy520ai/unified-ai-system8source_type: official9date_added: "2026-08-01"10author: happy520ai11tags: [ai-gateway, codex, mcp, self-hosted, governance]12tools: [codex]13license: Apache-2.014license_source: https://github.com/happy520ai/unified-ai-system/blob/master/LICENSE15metadata:16 source: https://skillmd.com/skills/francostino/unified-ai-gateway17---1819# Unified AI Gateway2021## Overview2223Use the official `unified-ai-system` MCP server to inspect and exercise a local24AI gateway without provider credentials. This skill file provides operating25guidance; it does not install the server or change Codex configuration by26itself. The official Codex plugin bundles the MCP definition, while skill-only27installations require the manual setup below.2829## Version Note3031These are two different things and they are not equal today:3233- **Current release: `v0.8.0`.** It declares and ships fifteen tool names, and the34 [60-second demo command](https://github.com/happy520ai/unified-ai-system#try-it-in-60-seconds)35 in the README names that version. Read it live with36 `node tools/verify-image-roster.mjs 0.8.0`, which reports the roster from the37 image bytes rather than from this file.38- **Reviewed and pinned below: `0.4.9`.** The inspection procedure in this file39 pins that image's recorded digests because `0.4.9` is the newest version with a40 completed [content review](https://github.com/happy520ai/unified-ai-system/blob/8561ec5c9e9d1ecf499c1be5aba0ba3720219074/docs/security/mcp-image-review-0.4.9.md).41 It carries 9 of the fifteen names: the model-backed enhancement, knowledge42 retrieval and workflow execution tools arrived at 0.5.0, and the three43 governance tools at 0.8.0.4445Do not substitute a mutable tag for a pinned digest, and do not move the pin to a46newer version just because this file looks out of date: a new content review is47required first, and the pinned identity is only as good as the review that backs it.4849## Prerequisites And Setup50511. Confirm that Codex CLI and Docker are installed and Docker is running.522. If the nine tools are already visible, skip setup and do not register a53 duplicate server.543. Explain the first stage: it downloads one reviewed platform from the55 immutable `0.4.9` multi-platform index into Docker's cache, inspects its56 metadata and layer history, creates but never starts a temporary container,57 exports its root filesystem, removes that temporary container, and writes an58 inspection inventory to a temporary directory. The reviewed platforms are59 linux/amd64 and linux/arm64. Obtain explicit user approval for those download60 and inspection changes only.614. After that first approval, pull the reviewed platform manifest and complete62 the inspection. Do not execute the image or register it yet:6364```bash65IMAGE='ghcr.io/happy520ai/unified-ai-system/mcp-server@sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3'66PLATFORM='linux/amd64' # Use linux/arm64 only on a reviewed ARM64 engine.67REVIEW_DIR="$(mktemp -d)"6869docker pull --platform "$PLATFORM" "$IMAGE"70docker image inspect "$IMAGE" --format 'Id={{.Id}} OS={{.Os}} Architecture={{.Architecture}} User={{json .Config.User}} Entrypoint={{json .Config.Entrypoint}} Cmd={{json .Config.Cmd}} Labels={{json .Config.Labels}}'71docker image history --no-trunc "$IMAGE" > "$REVIEW_DIR/image-history.txt"7273REVIEW_CONTAINER="$(docker create --platform "$PLATFORM" --pull never --entrypoint /bin/true "$IMAGE")"74docker export --output "$REVIEW_DIR/rootfs.tar" "$REVIEW_CONTAINER"75docker rm "$REVIEW_CONTAINER"7677tar -tf "$REVIEW_DIR/rootfs.tar" > "$REVIEW_DIR/rootfs-files.txt"78mkdir -p "$REVIEW_DIR/rootfs"79tar --same-permissions -xf "$REVIEW_DIR/rootfs.tar" -C "$REVIEW_DIR/rootfs"80find "$REVIEW_DIR/rootfs/app" -type f -print > "$REVIEW_DIR/app-files.txt"81: > "$REVIEW_DIR/app-links.txt"82while IFS= read -r -d '' APP_LINK; do83 ls -ld -- "$APP_LINK" >> "$REVIEW_DIR/app-links.txt"84done < <(find "$REVIEW_DIR/rootfs/app" \( -type l -o -type f -links +1 \) -print0)85: > "$REVIEW_DIR/native-binaries.sha256"86while IFS= read -r -d '' NATIVE_BINARY; do87 sha256sum -- "$NATIVE_BINARY" >> "$REVIEW_DIR/native-binaries.sha256"88done < <(find "$REVIEW_DIR/rootfs/app" -type f -name '*.node' -print0)89find "$REVIEW_DIR/rootfs" -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -print > "$REVIEW_DIR/executable-files.txt"90find "$REVIEW_DIR/rootfs" -type f \( -perm -4000 -o -perm -2000 \) -print > "$REVIEW_DIR/suid-sgid-files.txt"91find "$REVIEW_DIR/rootfs/app" -type f \( -name '.env' -o -name '.env.*' -o -name '*.pem' -o -name '*.key' -o -name '*.p12' -o -name '*.pfx' -o -path '*/.ssh/id_*' \) -print > "$REVIEW_DIR/credential-like-files.txt"92find "$REVIEW_DIR/rootfs/app" -type f -name 'package.json' \93 -exec grep -nHE '"(preinstall|install|postinstall|prepare|prepack|postpack)"' -- {} + \94 > "$REVIEW_DIR/lifecycle-hooks.txt"95find \96 "$REVIEW_DIR/rootfs/app/packages/mcp-server/src" \97 "$REVIEW_DIR/rootfs/app/packages/shared-sdk/src" \98 -type f \99 -exec grep -nHE 'child_process|spawn\(|fetch\(|AI_GATEWAY_MCP_URL|process\.env|writeFile|appendFile|unlink|rm\(' -- {} + \100 > "$REVIEW_DIR/runtime-sensitive-code.txt"101```102103If `sha256sum` is unavailable, use the platform's SHA-256 utility and preserve104the same report. Keep the review directory until the report is accepted; its105deletion is another filesystem change and requires approval for the exact path.1061075. Read every generated inventory and report the inspection before proceeding.108 Compare it with the versioned109 [image content review](https://github.com/happy520ai/unified-ai-system/blob/8561ec5c9e9d1ecf499c1be5aba0ba3720219074/docs/security/mcp-image-review-0.4.9.md).110 Require OCI index digest111 `sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3`.112 For linux/amd64, require manifest digest113 `sha256:ff6cf988b01d5fb2e97aabe8e952f6a303dcffe650df5b4dcb0ba3d51ee88c06`114 and config digest115 `sha256:0c2c0c7b9c7fb7ca24c73d9a903bcf719b079a0b285a3a3269ee3ae059905e97`.116 For linux/arm64, require manifest digest117 `sha256:90318b9e373820f863c1c1addc759be4b5ce186f2ecb6232ee502fad7c6613de`118 and config digest119 `sha256:c2047eb63fdc42bcb16d53fca17d78a4a6fb355cf6320b9aa6688e594371054f`.120 Require source `https://github.com/happy520ai/unified-ai-system`, revision121 `342a47313927870bcc696be13c9e5fb922062dac`, version `0.4.9`, license122 `Apache-2.0`, entrypoint `docker-entrypoint.sh`, and command123 `node packages/mcp-server/src/index.js`.124125 Report these reviewed risks explicitly: the image uses the default root126 user; includes Debian shell/package utilities and 11 base-image SUID/SGID127 files; contains 522 internal pnpm links, three native Node binaries, and eight128 lifecycle-hook declarations; and starts a child gateway with loopback HTTP.129 The optional `AI_GATEWAY_MCP_URL` can make an HTTP or HTTPS connection only130 when explicitly passed. The registered command below passes no host files,131 environment variables, or ports and disables container networking. Stop on132 any mismatch, unexpected link, credential-like file, native binary, hook,133 privileged file, or sensitive-code behavior.1346. Explain the second stage: it persists a Codex MCP configuration and permits135 Codex to launch the inspected image in a later task. Obtain a separate136 explicit approval for registration and activation; the download approval137 does not carry over.1387. After that second approval, register the reviewed platform digest with139 pulling, container networking, Linux capabilities, and privilege escalation140 disabled, then inspect the stored configuration:141142```bash143IMAGE='ghcr.io/happy520ai/unified-ai-system/mcp-server@sha256:751a0d32acd2d6b1da6ad9ac67987fbd1ff36ce26b7160014d8605f18b7907b3'144PLATFORM='linux/amd64' # Match the reviewed platform inspected above.145codex mcp add unified-ai-system -- docker run --rm -i --pull never --platform "$PLATFORM" --network none --cap-drop ALL --security-opt no-new-privileges "$IMAGE"146codex mcp get unified-ai-system --json147```1481498. Restart Codex or open a new task, then use `/mcp verbose` to confirm that all150 nine tools are available - the pinned `0.4.9` image ships nine of the fifteen151 names the current release declares. Remove the registration when it is no longer152 wanted:153154```bash155codex mcp remove unified-ai-system156```157158Removing the registration does not remove the pulled image from Docker's159cache. Treat image-cache deletion as a separate host-state change and obtain160approval before doing it.161162## When to Use This Skill163164- Use when a user asks whether Unified AI System is healthy or ready.165- Use when a user wants a credential-free gateway chat proof.166- Use when a user asks about the gateway's knowledge, workflow, or workforce167 surfaces.168- Use when a user wants evidence from the bundled MCP tools rather than a claim169 inferred from documentation or process exit codes.170171Do not use this skill for generic model comparisons, unrelated MCP servers, or172deploying a production gateway.173174## Workflow1751761. Confirm that the `unified-ai-system` MCP tools are available in the current177 task. If they are absent, follow the approved setup above and wait for a178 restarted or new task.1792. Call `gateway_health`, then `gateway_readiness`, before attempting chat.1803. Select the narrowest additional tool that answers the request.1814. Report returned provider, execution mode, readiness, and blockers exactly.1825. Separate transport success from product, production-readiness, autonomy, or183 AGI claims.184185## Tool Map186187Nine of these ship in the reviewed `0.4.9` image below; the six marked 0.5.0 and1880.8.0 are in the current release and are absent from that older image.189190Status and boundaries:191192- `gateway_health`: gateway health, provider mode, and the real-provider safety flag193- `gateway_readiness`: first-run readiness for chat and the local gateway runtime194- `knowledge_readiness`: knowledge infrastructure without loading or changing data195- `workflow_health`: the governed workflow subsystem without starting a workflow196- `workflow_actions`: workflow action definitions without invoking any action197- `workforce_health`: the workforce subsystem without planning or executing work198- `workforce_agents`: configured workforce agent descriptors without dispatching them199200Doing work locally, still with no provider call:201202- `gateway_prompt_enhance`: structures a plain-language request into a prompt203 locally, without provider credentials or provider calls204- `gateway_prompt_enhance_llm` *(0.5.0)*: semantic rewriting through a provider205 when one is configured, falling back to the deterministic local engine when none is206- `knowledge_retrieve` *(0.5.0)*: keyword search over the local knowledge base,207 returning ranked chunks with citations; calls no provider208- `workflow_run` *(0.5.0)*: the 3-step local workflow - retrieve knowledge, compose209 a Markdown report, write a controlled artifact; calls no provider210- `gateway_chat`: one chat request, accepted only when the gateway proves real211 providers are disabled212213The governed Agent surface, read-only *(0.8.0)*:214215- `agent_governance_status`: governance status through the authenticated Gateway216 identity; no tenant override is accepted and it fails closed when that identity is217 not authorized for platform status218- `agent_governance_list`: only the governed Agents visible to that tenant, with no219 tenant or owner override argument220- `agent_governance_describe` (takes `agentId`): one Agent as seen by that tenant;221 cross-tenant and missing identifiers stay indistinguishable on purpose222223Creating, executing, revoking, approving or activating anything in that surface224remains a human REST/SDK/CLI operation and is not exposed to the model at all.225226## Example227228```text229User: Check whether the local gateway is ready, then prove chat works safely.230231Agent:2321. Call gateway_health.2332. Call gateway_readiness.2343. Call gateway_chat only if both results prove fake-provider mode.2354. Report provider, model, execution mode, response, and every blocker.236```237238## Safety Boundaries239240- Keep the credential-free local fake provider as the default.241- Never request, read, or transmit provider credentials through this skill.242- Do not enable or call a real provider without explicit scoped authorization.243- Treat MCP registration, image pulls, container creation, networking, and244 teardown as host-state changes that require informed user approval.245- Never substitute a mutable tag, a different OCI index, or an unreviewed246 platform manifest for the reviewed `0.4.9` identities. Keep download and247 inspection approval separate from registration and activation approval.248- Keep `--pull never` in the registered command. If the reviewed image is249 absent from the local cache, fail closed and return to the first approval250 stage.251- Keep `--network none`, `--cap-drop ALL`, and252 `--security-opt no-new-privileges` in the registered command.253- Do not claim production readiness, L5 autonomy, or AGI from a healthy handshake.254- Treat a zero exit code as transport evidence, not proof that readiness gates255 passed.256257## Limitations258259- This skill file does not bundle the MCP server, Docker image, or Codex260 configuration. It only operates tools supplied by the separately installed261 official integration.262- It does not deploy, benchmark, or certify the gateway for production use.263- The credential-free chat tool proves only the deterministic local fake path.264- It does not configure real providers or handle provider credentials.265- The published MCP image requires Docker.266- The reviewed `0.4.9` path covers linux/amd64 and linux/arm64. Do not activate267 another platform image without a separate content review.268- The image runs as the container's default root user and bundles the gateway269 source, package-manager tooling, native dependencies, and base-image270 SUID/SGID files. The registered command drops capabilities, prevents new271 privileges, disables networking, and leaves the image in Docker's cache.272- Existing Codex tasks may not hot-load a newly installed MCP configuration.273274## Troubleshooting275276- If the tools are missing after approved registration, inspect277 `codex mcp get unified-ai-system --json`, then restart Codex or start a new278 task.279- If readiness is blocked, report the returned blocker instead of retrying chat280 blindly.281- If the runtime might use a real provider, stop before chat and keep the282 session read-only.283284## Additional Resources285286- [Unified AI System](https://github.com/happy520ai/unified-ai-system)287- [60-second Codex MCP quickstart](https://github.com/happy520ai/unified-ai-system/blob/master/docs/codex-mcp-quickstart.md)288- [MCP server guide](https://github.com/happy520ai/unified-ai-system/blob/master/packages/mcp-server/README.md)289- [MCP image content review](https://github.com/happy520ai/unified-ai-system/blob/8561ec5c9e9d1ecf499c1be5aba0ba3720219074/docs/security/mcp-image-review-0.4.9.md)