Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

guard-setup

النجوم٤
التفرعات١
آخر تحديث١٨ يونيو ٢٠٢٦ في ٢١:٤٩

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