返回顶部
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
安全检测
已通过
1,895
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

policy-lawyer

政策律师

概述

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).

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部