← 返回 Skills 市场
bytesagain-lab

Compliance

作者 bytesagain-lab · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
260
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install compliance
功能描述
Track compliance requirements and generate audit trail reports. Use when auditing controls, checking policies, generating audit trails.
使用说明 (SKILL.md)

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]

安全使用建议
This skill appears coherent and local-only, but review before installing: the tool stores unencrypted logs in ~/.local/share/compliance (history.log and per-command .log files) so avoid recording secrets or sensitive tokens in entries; consider setting restrictive file permissions (chmod 700 ~/.local/share/compliance) and a retention/cleanup policy. Exports create plaintext files (json/csv/txt) that may contain sensitive data — handle them like any other sensitive export. If you need encrypted storage or remote archival, extend the script or use a secure vault; otherwise the bundled script is simple and readable, and there are no signs of network exfiltration or unrelated credential access.
功能分析
Type: OpenClaw Skill Name: compliance Version: 2.0.0 The 'Compliance' skill bundle is a simple logging utility designed to record and track security-related activities locally in `~/.local/share/compliance/`. The implementation in `scripts/script.sh` uses standard Unix utilities to append timestamped entries to log files and provides basic search and export functionality without any evidence of data exfiltration, persistence, or malicious execution.
能力评估
Purpose & Capability
The name/description (compliance logging, audit trails) match the included script and SKILL.md. All commands are for recording, querying, exporting, and summarizing local log entries.
Instruction Scope
SKILL.md instructs the agent to run simple compliance commands that read/write only the stated data directory (~/.local/share/compliance). There are no instructions to read unrelated system files, credentials, or to call external endpoints.
Install Mechanism
No install spec is provided (instruction-only). A single bash script is bundled; it uses only standard Unix utilities. No downloads, package installs, or archive extraction are performed.
Credentials
The skill requests no environment variables, no credentials, and no config paths outside the user-local data directory. This is proportionate to a local logging tool.
Persistence & Privilege
always is false and the skill does not request persistent or elevated system-wide privileges. It writes only to a per-user data directory and does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install compliance
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /compliance 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Domain-specific upgrade
元数据
Slug compliance
版本 2.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

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。

💬 留言讨论