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
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ai-agent-opsec - After installation, invoke the skill by name or use
/ai-agent-opsec - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 368 downloads so far.
How do I install AI Agent OPSEC — Runtime Classified Data Enforcer?
Run "/install ai-agent-opsec" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is AI Agent OPSEC — Runtime Classified Data Enforcer free?
Yes, AI Agent OPSEC — Runtime Classified Data Enforcer is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does AI Agent OPSEC — Runtime Classified Data Enforcer support?
AI Agent OPSEC — Runtime Classified Data Enforcer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created AI Agent OPSEC — Runtime Classified Data Enforcer?
It is built and maintained by Shadow Rose (@theshadowrose); the current version is v1.4.0.