← 返回 Skills 市场
crimsondevil333333

Policy Lawyer

作者 CrimsonDevil333333 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1984
总下载
0
收藏
10
当前安装
2
版本数
在 OpenClaw 中安装
/install policy-lawyer
功能描述
Reference the workspace policy playbook, answer "What are the rules for tone, data, and collaboration?" by searching the curated policy doc or listing its sections.
安全使用建议
This skill is coherent and low-risk: it only reads and prints sections from a markdown policy file. Before installing, confirm you are comfortable allowing the agent to read any local path you might pass via --policy-file (do not point it at sensitive files). Review the bundled references/policies.md to ensure the content is appropriate for your workspace. If you plan to allow autonomous invocation, be aware the skill could be asked to read a policy file path the agent has access to — restrict filesystem permissions accordingly.
功能分析
Type: OpenClaw Skill Name: Developer: Version: Description: OpenClaw Agent Skill Suspicious High-Entropy/Eval files: 2 The `scripts/policy_lawyer.py` script is classified as suspicious due to its `--policy-file` argument, which allows the skill to read arbitrary files from the filesystem. While the `SKILL.md` provides a plausible use case for comparing policies across workspaces, this broad file access capability presents a significant local file read vulnerability, enabling potential information disclosure if exploited. There is no direct evidence of data exfiltration, malicious execution, or prompt injection within the provided files.
能力评估
Purpose & Capability
Name/description (reference workspace policy playbook) matches the included CLI and policies.md. The script only implements listing sections, showing a topic, and keyword search — all aligned with the stated purpose.
Instruction Scope
SKILL.md and the CLI only read a specified policy file and print sections/snippets. The optional --policy-file parameter lets you point to another policy document (local path) which is reasonable for comparing workspaces; the skill does not instruct the agent to read arbitrary system credentials or unrelated files.
Install Mechanism
There is no install spec (instruction-only skill with bundled scripts). No downloads or package installs are performed — the script runs with the local Python interpreter.
Credentials
The skill requires no environment variables, credentials, or config paths. All file I/O is limited to the provided policy file path, which is proportional to the task.
Persistence & Privilege
always is false and the skill does not request persistent system presence or modify other skill configurations. It runs on-demand and does not store agent-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install policy-lawyer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /policy-lawyer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added support for the --policy-file argument to compare or search policy documents from other workspaces. - Expanded documentation to include usage instructions for the new --policy-file option. - Added sample CLI commands and detailed usage examples. - Clarified which file contains the curated policy playbook and outlined main reference topics (tone, data, collaboration, security).
v1.0.0
Initial release of policy-lawyer skill. - Enables searching and referencing workspace policy playbook. - CLI supports listing policy topics, viewing specific sections by topic, and keyword search across all policies. - Aids in quickly finding community standards on tone, data, and collaboration. - Useful for drafting announcements or providing authoritative policy answers.
元数据
Slug policy-lawyer
版本 1.0.1
许可证
累计安装 11
当前安装数 10
历史版本数 2
常见问题

Policy Lawyer 是什么?

Reference the workspace policy playbook, answer "What are the rules for tone, data, and collaboration?" by searching the curated policy doc or listing its sections. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1984 次。

如何安装 Policy Lawyer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install policy-lawyer」即可一键安装,无需额外配置。

Policy Lawyer 是免费的吗?

是的,Policy Lawyer 完全免费(开源免费),可自由下载、安装和使用。

Policy Lawyer 支持哪些平台?

Policy Lawyer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Policy Lawyer?

由 CrimsonDevil333333(@crimsondevil333333)开发并维护,当前版本 v1.0.1。

💬 留言讨论