Compliance
/install compliance
Compliance
Security toolkit for logging, tracking, and exporting compliance-related activities. Each command records timestamped entries to its own log file. Call without arguments to view recent entries; call with arguments to record a new entry.
Commands
| Command | What it does |
|---|---|
compliance generate \x3Cinput> |
Record a generate entry (no args = show recent) |
compliance check-strength \x3Cinput> |
Record a check-strength entry (no args = show recent) |
compliance rotate \x3Cinput> |
Record a rotate entry (no args = show recent) |
compliance audit \x3Cinput> |
Record an audit entry (no args = show recent) |
compliance store \x3Cinput> |
Record a store entry (no args = show recent) |
compliance retrieve \x3Cinput> |
Record a retrieve entry (no args = show recent) |
compliance expire \x3Cinput> |
Record an expire entry (no args = show recent) |
compliance policy \x3Cinput> |
Record a policy entry (no args = show recent) |
compliance report \x3Cinput> |
Record a report entry (no args = show recent) |
compliance hash \x3Cinput> |
Record a hash entry (no args = show recent) |
compliance verify \x3Cinput> |
Record a verify entry (no args = show recent) |
compliance revoke \x3Cinput> |
Record a revoke entry (no args = show recent) |
compliance stats |
Show summary statistics across all log files |
compliance export \x3Cfmt> |
Export all data to json, csv, or txt format |
compliance search \x3Cterm> |
Search all log entries for a keyword |
compliance recent |
Show the 20 most recent history entries |
compliance status |
Health check — version, entry count, disk usage, last activity |
compliance help |
Show help message |
compliance version |
Show version (v2.0.0) |
Data Storage
All data is stored locally in ~/.local/share/compliance/. Each command writes to its own .log file (e.g., audit.log, policy.log). A unified history.log tracks all activity with timestamps.
Requirements
- Bash 4+
- Standard Unix utilities (
wc,du,tail,grep,date,sed)
When to Use
- Logging compliance audit findings, policy checks, and security events with timestamps
- Tracking credential rotations, revocations, and strength checks over time
- Recording data store/retrieve operations for audit trail purposes
- Searching historical compliance entries by keyword
- Exporting compliance records to JSON, CSV, or plain text for regulatory reporting
Examples
# Record an audit finding
compliance audit "reviewed access controls for prod database — 3 issues found"
# Log a credential rotation
compliance rotate "rotated API keys for payment gateway"
# Record a policy update
compliance policy "updated data retention policy to 90 days"
# Check password strength assessment
compliance check-strength "admin account meets complexity requirements"
# Search all logs for "database"
compliance search database
# Export compliance records to JSON
compliance export json
# View overall stats
compliance stats
Powered by BytesAgain | bytesagain.com | [email protected]
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install compliance - 安装完成后,直接呼叫该 Skill 的名称或使用
/compliance触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Compliance 是什么?
Track compliance requirements and generate audit trail reports. Use when auditing controls, checking policies, generating audit trails. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 260 次。
如何安装 Compliance?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install compliance」即可一键安装,无需额外配置。
Compliance 是免费的吗?
是的,Compliance 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Compliance 支持哪些平台?
Compliance 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Compliance?
由 bytesagain-lab(@bytesagain-lab)开发并维护,当前版本 v2.0.0。