unified-ai-gateway
它能做什么
这个系统可以让你与先进的 AI 工具进行交互。它充当中间人,确保交互过程安全、可控,而且你不需要任何特殊凭证。
适用场景
- ✓当你想测试新的 AI 工具,又不想被复杂的配置困扰时。
- ✓当你想探索需要安全、可控环境的 AI 功能时。
- ✓当你想了解与 AI 系统的交互是如何被管理和验证的时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/unified-ai-gateway/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我要怎么测试这个系统里可用的 AI 工具?”
每周 5 个新技能,1 分钟读完。
工作原理
系统会下载一个经过验证的 AI 平台版本,然后分析这个平台、检查其组成部分,并为你准备一个安全的环境,让你在不暴露敏感信息的前提下与 AI 工具交互。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 withnode 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 because0.4.9is 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.9multi-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)"' -- {} + \
…
常见问题
使用前需要安装什么吗?
需要。你要先安装并运行 Codex CLI 和 Docker。系统会用 Docker 来下载和管理这些 AI 工具。
“provider-free prompt enhancement”是什么意思?
意思是你不需要在 AI 服务商那里注册特殊账号或获取密钥,就能使用这些工具。系统会为你安全地处理这些环节。
为什么会提到不同的版本(v0.8.0 和 0.4.9)?
0.4.9 是目前经过完整安全审查的最新版本。虽然已经有更新的版本,但这里使用它是为了确保安全性和合规性。
详情
作者的原始描述
Operate and evaluate Unified AI System through fifteen governed MCP tools, including provider-free prompt enhancement, while preserving fake-provider, authorization, and evidence boundaries.
热度
- GitHub 星标
- 48k
- 排名
- #6055
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。