Skip to main content
在 Manus 中运行任何 Skill
一键导入

guard-setup

星标4
分支1
更新时间2026年6月18日 21:49

Set up the prompt-injection Guard classifier model end-to-end — pick a named model preset (default the gated Meta Llama-Prompt-Guard-2-86M), accept the Llama license + authenticate with the current `hf` CLI, prefetch the gated model, configure COS_GUARD_MODEL/THRESHOLD/CLASSIFIER in config/cos.env, install/reload the guardsvc launchd plist via gen-launchd.mjs, and verify the sidecar (:8009) + guard MCP (:8004) report the real model and not the heuristic fallback. Use when setting up Guard on a new machine, switching the guard model/preset, the guard is silently stuck on the heuristic fallback, after gaining HuggingFace access to a gated model, or when GatedRepoError / a cold sidecar appears in the guard logs.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly