闲社服务运行正常AI智能体自动化平台
p

政策律师

技能标识: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.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.1
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

政策律师

政策律师

概述

policy-lawyer 围绕 references/policies.md 中精心整理的政策笔记本构建。CLI(scripts/policy_lawyer.py)允许您:

  • - 使用 --list-topics 列出所有政策标题。
  • 使用 --topic <名称> 显示与主题匹配的部分(不区分大小写)。
  • 使用 --keyword <术语> 搜索所有政策中给定的关键词。
  • 使用 --policy-file <路径> 在比较工作区时指向不同的政策文档。

当您在起草公告前需要提醒自己社区标准,或遇到需要权威政策引用的问题时,请使用此技能。

CLI 用法

  • - python3 skills/policy-lawyer/scripts/policy_lawyer.py --list-topics 打印政策参考中 ## <章节名称> 下定义的每个部分。
  • --topic 语气 按原样打印语气指南,以便您在温和提醒时引用。
  • --keyword security(或任何其他关键词)显示所有部分中的匹配行,以便您快速查看该主题在何处被管理。
  • 当您想查询另一个工作区的手册副本时,提供 --policy-file /path/to/repo/references/policies.md。

示例命令

bash
python3 skills/policy-lawyer/scripts/policy_lawyer.py --topic 语气
python3 skills/policy-lawyer/scripts/policy_lawyer.py --keyword 数据 --policy-file ../other-workspace/references/policies.md

第一个命令打印语气部分;第二个命令在另一个工作区的政策中搜索数据并打印每个匹配的片段。

参考

  • - references/policies.md 是精心整理的政策手册,列出了语气、数据、协作和安全规则。

资源

  • - GitHub: https://github.com/CrimsonDevil333333/policy-lawyer
  • ClawHub: https://www.clawhub.ai/skills/policy-lawyer

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 policy-lawyer-1776368375 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 policy-lawyer-1776368375 技能

通过命令行安装

skillhub install policy-lawyer-1776368375

下载

⬇ 下载 policy-lawyer v1.0.1(免费)

文件大小: 4.63 KB | 发布时间: 2026-4-17 14:13

v1.0.1 最新 2026-4-17 14:13
- 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).
返回顶部