clawpolicy

Install and use ClawPolicy, an explainable autonomous execution policy engine for low-touch, auditable agent execution. Supports initialization, policy supervision, status checks, risky/suspended inspection, and Python API usage.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clawpolicy" with this command: npx skills add dzming/clawpolicy

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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Agent Causal

Helps decide to ship, continue, or roll back changes from A/B test and DiD data by providing statistical analysis, decisions, and audit trails.

Registry SourceRecently Updated
Security

Code Review Inspector

Automated code review checking for bugs, security issues, best practices, performance problems, and code style

Registry SourceRecently Updated
250Profile unavailable
Security

Docker Optimizer

Optimize Dockerfiles with multi-stage builds, layer caching, security best practices, and size reduction techniques

Registry SourceRecently Updated
260Profile unavailable
Security

Skill Auditor

Audit core: a classification taxonomy and a severity scoring function, kept orthogonal. Operates on the whole skill bundle (SKILL.md plus any referenced scri...

Registry SourceRecently Updated
1250Profile unavailable