Install
openclaw skills install @zhaoxinghua09-cell/ai-safety-suiteOne 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.
openclaw skills install @zhaoxinghua09-cell/ai-safety-suite凡自治之物 · 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%)
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
| # | 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 |
LGD三律达标率看板_20261017.json (scanned 2026-10-17 10:39).# 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 scripts/promptshield_flow.py --route tool-call-guard
agent-redteam-kit is a confidential kit: this suite cites its capability name and safety role only — no drill internals, payloads, or scripts are reproduced here.一个合集/编排技能:一次安装,把智能体运行时安全的完整生命周期串起来。它不重写任何检测逻辑——而是按环节,把你路由到 9 个已独立发布、各自维护的子技能。本合集是目录,子技能是章节。
安全生命周期:
红队演练 -> 注入防护 -> 泄漏扫描 -> 运行时守卫 -> 准入门禁
红队演练 ──────▶ 注入防护 ──────▶ 泄漏扫描 ──────▶ 运行时守卫 ──────▶ 准入门禁
┌────────────┐ ┌────────────┐ ┌────────────┐ ┌──────────────┐ ┌────────────┐
│ redteam │ │ injection │ │ prompt-leak│ │ tool-call │ │ skill │
│ kit(保密) │──▶│ shield │──▶│ scanner │──▶│ loop-guard │──▶│ admission │
│ injection │ │ │ │ token-disc │ │ mcp-security │ │ gate │
│ drill │ │ │ │ -check │ │ scan │ │ │
└────────────┘ └────────────┘ └────────────┘ └──────────────┘ └────────────┘
先攻一遍 运行时拦注入 发出前查泄漏 管住它能调什么 决定什么能
(知道防什么) (到达即拦) (发货前自查) (工具/循环/MCP) 进你的库
| # | 环节 | 子技能 slug | 何时用 | 调用说明 | 预期输出 |
|---|---|---|---|---|---|
| 1 | 红队演练 | agent-redteam-kit (保密包:仅引用能力名) | 上线前对抗性压测智能体 | 调子技能跑演练 | 攻击面评分报告 + 修复清单 |
| 2 | 红队演练 | prompt-injection-drill | 生成对抗注入样例做加固 | 对 prompt 类型调子技能 | 演练用例 + 对错判定 |
| 3 | 注入防护 | prompt-injection-shield | 运行时需拦截恶意输入 | 对 prompt 调子技能 | 放行/拦截判定 |
| 4 | 泄漏扫描 | prompt-leak-scanner | 发系统提示词前查泄漏 | 对 prompt 调子技能 | 泄漏发现(行级) |
| 5 | 泄漏扫描 | token-disclosure-check | 披露文件公开发出前 | 对披露文档调子技能 | 披露齐备性判定 + 缺项 |
| 6 | 运行时守卫 | tool-call-guard | 智能体调外部工具前加闸门 | 对拟调用调子技能 | L0–L4 放行/拦截判定 |
| 7 | 运行时守卫 | agent-loop-guard | 长任务可能死循环/重复读 | 对运行轨迹调子技能 | 重复/循环检出 + 停机建议 |
| 8 | 运行时守卫 | mcp-security-scan | 接入新 MCP server/工具集前 | 对 MCP 配置调子技能 | 风险发现 + 高风险计数 |
| 9 | 准入门禁 | skill-admission-gate | 第三方技能入库存之前 | 对技能目录调子技能 | 门禁结论;有阻断项即禁入 |
LGD三律达标率看板_20261017.json(2026-10-17 10:39 扫描)。# 列出安全生命周期全流程
python3 scripts/promptshield_flow.py --list
# 查某个环节怎么调
python3 scripts/promptshield_flow.py --route guard
# 也可按子技能 slug 查
python3 scripts/promptshield_flow.py --route tool-call-guard
agent-redteam-kit 为保密包:本合集只引用其能力名与安全角色——不复制演练内部用例、载荷或脚本。