← 返回 Skills 市场
363
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawpolicy
功能描述
Install and use ClawPolicy, an explainable autonomous execution policy engine for low-touch, auditable agent execution. Supports initialization, policy super...
使用说明 (SKILL.md)
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
clawpolicyproject. - Canonical source code, releases, and issue tracking remain in the upstream GitHub repository.
安全使用建议
This skill is an instruction-only wrapper that installs and uses the public 'clawpolicy' package from PyPI. That is coherent, but installing any third-party package runs code at install time and then executes that package locally. Before installing: (1) review the upstream GitHub repo and PyPI package page for recent releases and maintainership, (2) run the included verify_install.sh in an isolated environment (virtualenv or VM) as the script itself does, (3) avoid giving the agent elevated credentials or running this in a high-privilege environment until you trust the package, and (4) be aware optional extras (clawpolicy[phase3]) pull heavier dependencies—only install them if you need them. If you want stronger assurance, inspect the package contents from PyPI before running it (pip download + unpack) or run tests in a sandbox.
功能分析
Type: OpenClaw Skill
Name: clawpolicy
Version: 3.0.2
The skill bundle is a legitimate wrapper for the 'clawpolicy' Python package, an autonomous execution policy engine. It provides standard installation instructions via pip, a verification script (scripts/verify_install.sh), and comprehensive documentation consistent with its stated purpose. No indicators of malicious intent, data exfiltration, or harmful prompt injection were found across the SKILL.md or supporting files.
能力评估
Purpose & Capability
Name, description, and SKILL.md all describe a CLI/Python API wrapper for the ClawPolicy project; required binaries (python3, pip3) and the pip install requirement are appropriate and proportional.
Instruction Scope
Runtime instructions only install the PyPI package and call its CLI and Python module entrypoint; they create a local '.clawpolicy/' directory as documented. The SKILL.md does not ask the agent to read unrelated files, exfiltrate data, or access extra environment variables.
Install Mechanism
Install is via PyPI (python -m pip install clawpolicy), which is expected for a Python CLI/library. No downloads from personal servers, shorteners, or arbitrary URLs are present. The included verification script uses an isolated venv, which is a good practice.
Credentials
No environment variables, credentials, or config paths are requested. The package may write local files under the documented '.clawpolicy/' path, which is consistent with its purpose.
Persistence & Privilege
The skill is not forced-always, does not request system-wide configuration changes, and contains no instructions to modify other skills. Autonomous invocation is allowed (platform default) and appropriate for a policy supervision tool.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawpolicy - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawpolicy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.0.2
Fix listing mismatch: publish the actual ClawPolicy policy-engine wrapper metadata and install instructions; adds explicit license acceptance for current ClawHub API.
v3.0.1
- Updated SKILL.md with improved meta tags and description for better security messaging and compatibility.
- Added detailed summary emphasizing secure key management features for AI agents, including secure storage, session keys, leak prevention, and defense against prompt injection.
- Enhanced Open Graph and Twitter card metadata for improved sharing and discoverability.
元数据
常见问题
ClawPolicy 是什么?
Install and use ClawPolicy, an explainable autonomous execution policy engine for low-touch, auditable agent execution. Supports initialization, policy super... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 363 次。
如何安装 ClawPolicy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawpolicy」即可一键安装,无需额外配置。
ClawPolicy 是免费的吗?
是的,ClawPolicy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
ClawPolicy 支持哪些平台?
ClawPolicy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawPolicy?
由 DZMing(@dzming)开发并维护,当前版本 v3.0.2。
推荐 Skills