Skip to main content
Run any Skill in Manus
with one click

guard-setup

Stars4
Forks1
UpdatedJune 18, 2026 at 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.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly