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.
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- policy-lawyer
- description
- 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.
02 资源文件 5
- 参考文档_meta.json468 B
- 参考文档README.md808 B
- 参考文档references/policies.md1.1 KB
- 脚本scripts/policy_lawyer.py3.0 KB
- 脚本tests/test_policy_lawyer.py1.2 KB
03 SKILL.md 正文
Policy Lawyer
Overview
policy-lawyer is built around the curated policy notebook at references/policies.md. The CLI (scripts/policy_lawyer.py) lets you:
--list-topicsto list every policy heading.--topic <name>to show the section that matches a topic (case-insensitive).--keyword <term>to search all policies for a given keyword.--policy-file <path>to point at a different policy document when comparing workspaces.
Use this skill when you need to remind yourself of the community standards before drafting announcements or when a question lands that needs an authoritative policy quote.
CLI usage
python3 skills/policy-lawyer/scripts/policy_lawyer.py --list-topicsprints every section defined under## <Section Name>in the policy reference.--topic "Tone"prints the tone guidelines exactly as written so you can quote them during calm reminders.--keyword security(or any other keyword) shows the matching lines across all sections so you can quickly see where that topic is governed.- Supply
--policy-file /path/to/repo/references/policies.mdwhen you want to interrogate a copy of the playbook from another workspace.
Sample commands
python3 skills/policy-lawyer/scripts/policy_lawyer.py --topic Tone
python3 skills/policy-lawyer/scripts/policy_lawyer.py --keyword data --policy-file ../other-workspace/references/policies.md
The first command prints the tone section; the second searches for "data" inside another workspace's policies and prints each matching snippet.
References
references/policies.mdis the curated policy playbook that lists tone, data, collaboration, and security rules.
Resources
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.