← 返回
安全合规 中文

ClawPolicy

Install and use ClawPolicy, an explainable autonomous execution policy engine for low-touch, auditable agent execution. Supports initialization, policy super...
安装并使用ClawPolicy,这是一款可解释的自主执行策略引擎,用于低接触、可审计的智能体执行。支持初始化、策略超集...
dzming
安全合规 clawhub v3.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 656
下载
💾 3
安装
1
版本
#latest

概述

ClawPolicy

ClawPolicy is an explainable autonomous execution policy engine for low-touch, auditable agent execution.

What it does

  • Initializes canonical local policy storage in .clawpolicy/policy/
  • Tracks policy lifecycle: hint -> candidate -> confirmed -> suspended -> archived
  • Exposes a supervision CLI: clawpolicy policy ...
  • Provides a stable Python API for confirmation, policy storage, and Markdown conversion/export

Install

python3 -m pip install clawpolicy

Optional extras:

python3 -m pip install "clawpolicy[phase3]"

Quick start

clawpolicy init
clawpolicy analyze
clawpolicy policy status
clawpolicy policy recent
clawpolicy policy risky
clawpolicy policy suspended

Verification

The published package should pass this minimal smoke path:

python3 -m pip install clawpolicy
clawpolicy --help
clawpolicy init
clawpolicy policy status
python -m clawpolicy policy status

Python API

from clawpolicy import (
    ConfirmationAPI,
    PolicyEvent,
    PolicyStore,
    Playbook,
    Rule,
    MarkdownToPolicyConverter,
    PolicyToMarkdownExporter,
    create_api,
)

References

  • Upstream repo: https://github.com/DZMing/clawpolicy
  • Chinese README: references/upstream-README.zh-CN.md
  • English README: references/upstream-README.md
  • Changelog: references/upstream-CHANGELOG.md
  • Security policy: references/upstream-SECURITY.md

Notes

  • This ClawHub package is a skill wrapper for the public clawpolicy project.
  • Canonical source code, releases, and issue tracking remain in the upstream GitHub repository.

版本历史

共 1 个版本

  • v3.0.2 当前
    2026-03-29 21:47 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 89 📥 30,590
security-compliance

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,701
security-compliance

1password

steipete
设置和使用 1Password CLI (op)。适用于:安装 CLI、启用桌面应用集成、登录(单/多账户)、通过 op 读取/注入/运行密钥。
★ 53 📥 31,137