PromptShield · AI 安全盾
БесплатноЗапускает вложенные скриптыНе проверенOne install, your agent stops leaking secrets and obeying injected instructions: a lifecycle suite for agent runtime safety — red-team drill -> injection…
от zhaoxinghua09-cell346 установок в других каталогахОб этом скилле
凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate
LGD 三律状态带 / Three-laws badge line (read from LGD dashboard 2026-10-17):
[有籍 REGISTERED] 9/9 ✓ · [有证 EVIDENCED] 9/9 ✓ · [有门禁 GATED] 9/9 ✓
(fleet-wide: 有籍 113/113 = 100% · 有证 112/113 = 99.1% · 有门禁 112/113 = 99.1%)
English
What this is
A collection / orchestration skill: one install that wires the full agent runtime-safety lifecycle end to end. It does not re-implement any detection logic — it routes you, stage by stage, to 9 sub-skills that are already published and maintained on their own. Treat this as the table of contents; the sub-skills are the chapters.
The safety lifecycle:
red-team drill -> injection shield -> leak scan -> runtime guards -> admission gate
RED-TEAM ──────▶ SHIELD ──────▶ LEAK ──────▶ GUARD ──────▶ GATE
┌────────────┐ ┌────────────┐ ┌────────────┐ ┌──────────────┐ ┌────────────┐
│ redteam │ │ injection │ │ prompt-leak│ │ tool-call │ │ skill │
│ kit (conf.)│──▶│ shield │──▶│ scanner │──▶│ loop-guard │──▶│ admission │
│ injection │ │ │ │ token-disc │ │ mcp-security │ │ gate │
│ drill │ │ │ │ -check │ │ scan │ │ │
└────────────┘ └────────────┘ └────────────┘ └──────────────┘ └────────────┘
attack first block hostile find what we control what the decide what may
(see what to input at expose before agent is allowed enter the
defend) runtime shipping to call library
Entry index (slug | stage | when to use | call note)
| # | Stage | Sub-skill slug | When to use | Call note | Expected output |
|---|---|---|---|---|---|
| 1 | Red-team drill | agent-redteam-kit (confidential kit — referenced by capability name only) |
Before launch: adversarially stress-test the agent | Invoke the sub-skill for the drill | Scored attack-surface report + fix list |
| 2 | Red-team drill | prompt-injection-drill |
Generate adversarial injection samples to harden against | Invoke the sub-skill with your prompt type | Drill cases + pass/fail verdicts |
| 3 | Injection shield | prompt-injection-shield |
Hostile user/tool input must be blocked at runtime | Invoke the sub-skill on the prompt | Allow/block guard decision |
| 4 | Leak scan | prompt-leak-scanner |
Before shipping a system prompt: catch internal/secret leakage | Invoke the sub-skill on the prompt | Leak findings (line-level) |
| 5 | Leak scan | token-disclosure-check |
Before publishing any token/asset disclosure document | Invoke the sub-skill on the disclosure doc | Disclosure-completeness verdict + gaps |
| 6 | Runtime guard | tool-call-guard |
Before the agent calls external tools: gate the call | Invoke the sub-skill on the proposed call | L0–L4 allow/block decision |
| 7 | Runtime guard | agent-loop-guard |
Long-running agents that may loop or repeat-read | Invoke the sub-skill on the run trace | Repeat/loop detection + stop advice |
| 8 | Runtime guard | mcp-security-scan |
Before wiring a new MCP server/tool into the agent | Invoke the sub-skill on the MCP config/toolset | Risk findings + high-risk count |
| 9 | Admission gate | skill-admission-gate |
Before any third-party skill enters your library | Invoke the sub-skill on the skill dir | Gate verdict; blocks admission on blockers |
Per-stage notes
- 1–2. Attack first. You can't defend what you haven't attacked. Run the red-team kit and the injection drill early; feed their findings into stages 3–5.
- 3. Runtime shield. Block hostile instructions as they arrive, before they drive tool calls.
- 4–5. Leak discipline. Scan the prompt you ship out (4) and any disclosure document before it goes public (5).
- 6–8. Control plane. Three guards, three surfaces: the tool call itself (6), runaway loops (7), and the MCP toolset you plug in (8).
- 9. Admission. The last gate before an untrusted skill ever reaches your library.
Quantified evidence bars (measured, not promised)
- 9/9 sub-skills three-law green: 有籍 7/7 fields, 有证 3/3 artifacts, in-ledger = true — read live from
LGD三律达标率看板_20261017.json(scanned 2026-10-17 10:39). - 718 cumulative ModelScope downloads across the 9 sub-skills (baseline 2026-10-17 11:21): redteam 96 · leak 95 · drill 94 · loop-guard 94 · shield 81 · mcp 81 · tool-guard 74 · token-disc 70 · admission 33.
- Batch eval RPT-20261016-TOP20-B: 9/9 executable PASS, 9/9 reproducible PASS (SHA re-run identical), verdict CONDITIONAL on every package — 0 FAIL; open defects are S2/S3 design notes (fail-open exit-code family; CI must parse JSON output), not broken behavior.
Demo
# list the whole safety lifecycle
python3 scripts/promptshield_flow.py --list
# get the call note for one stage
python3 scripts/promptshield_flow.py --route guard
# ...or by sub-skill slug
python3 sc
Установить PromptShield · AI 安全盾 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepBashFAQ
Что делает скилл PromptShield · AI 安全盾?
One install, your agent stops leaking secrets and obeying injected instructions: a lifecycle suite for agent runtime safety — red-team drill -> injection shield -> prompt-leak scan -> tool-call / loop / MCP guards -> skill admission gate. Orchestrates 9 independently published sub-skills by slug; vendors no internals. Use when the user wants prompt-injection defense, prompt/secret leak scanning, runtime call guarding, or a skill admission gate.
Как установить скилл PromptShield · AI 安全盾?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл PromptShield · AI 安全盾 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic