AI Agent OPSEC — Runtime Classified Data Enforcer
/install ai-agent-opsec
AI Agent OPSEC — Runtime Classified Data Enforcer
Keep your secrets out of web searches, external LLM calls, and subagent spawns.
Side Effects (Declared)
| Type | Path | Description |
|---|---|---|
| READS | \x3Cworkspace>/classified/classified-terms.md |
Your term registry — add terms here once, protected everywhere |
| WRITES | \x3Cworkspace>/memory/security/classified-access-audit.jsonl |
Append-only audit log; auto-rotates at 1MB; never contains original sensitive text |
| NETWORK | None | Zero external calls. Fully local. |
Important: Add
classified/andmemory/security/to your.gitignoreto prevent accidental commits.
Setup
- Create
classified/classified-terms.mdin your workspace root - Add one term per line (blank lines and
#comments ignored) - Require and use the enforcer before any external call
const ClassifiedAccessEnforcer = require('./src/ClassifiedAccessEnforcer');
const enforcer = new ClassifiedAccessEnforcer('/path/to/workspace');
// Before any external API call
const { safe, payload } = enforcer.gateExternalPayload(userQuery, 'web_search');
// Before spawning a subagent
const { task } = enforcer.redactTaskBeforeSpawn(taskString, 'ResearchAgent');
See README.md for full documentation. \r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ai-agent-opsec - 安装完成后,直接呼叫该 Skill 的名称或使用
/ai-agent-opsec触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
AI Agent OPSEC — Runtime Classified Data Enforcer 是什么?
Prevent your AI agent from leaking classified terms to external APIs, subagents, or logs. Term registry + runtime redaction + pre-publish audit. Zero depende... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 368 次。
如何安装 AI Agent OPSEC — Runtime Classified Data Enforcer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-agent-opsec」即可一键安装,无需额外配置。
AI Agent OPSEC — Runtime Classified Data Enforcer 是免费的吗?
是的,AI Agent OPSEC — Runtime Classified Data Enforcer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AI Agent OPSEC — Runtime Classified Data Enforcer 支持哪些平台?
AI Agent OPSEC — Runtime Classified Data Enforcer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AI Agent OPSEC — Runtime Classified Data Enforcer?
由 Shadow Rose(@theshadowrose)开发并维护,当前版本 v1.4.0。