skills$openclaw/policy-lawyer
crimsondevil3333334.5k

by crimsondevil333333

policy-lawyer – OpenClaw Skill

policy-lawyer is an OpenClaw Skills integration for coding workflows. 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.

4.5k stars3.9k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namepolicy-lawyer
descriptionReference the workspace policy playbook, answer "What are the rules for tone, data, and collaboration?" by searching the curated policy doc or listing its sections. OpenClaw Skills integration.
ownercrimsondevil333333
repositorycrimsondevil333333/policy-lawyer
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @crimsondevil333333/policy-lawyer
last updatedFeb 7, 2026

Maintainer

crimsondevil333333

crimsondevil333333

Maintains policy-lawyer in the OpenClaw Skills directory.

View GitHub profile
File Explorer
9 files
.
references
policies.md
1.1 KB
scripts
policy_lawyer.py
3.0 KB
tests
test_policy_lawyer.py
1.2 KB
_meta.json
468 B
README.md
808 B
SKILL.md
2.0 KB
SKILL.md

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.

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-topics to 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-topics prints 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.md when 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.md is the curated policy playbook that lists tone, data, collaboration, and security rules.

Resources

README.md

Policy Lawyer

Policy Lawyer keeps the workspace policies within reach. It reads references/policies.md and helps you quote the right clause when the team needs clarity on tone, data usage, or collaboration etiquette.

Usage

python3 skills/policy-lawyer/scripts/policy_lawyer.py --list-topics
python3 skills/policy-lawyer/scripts/policy_lawyer.py --topic "Tone"
python3 skills/policy-lawyer/scripts/policy_lawyer.py --keyword security

Testing

python3 -m unittest discover skills/policy-lawyer/tests

Packaging & release

python3 $(npm root -g)/openclaw/skills/skill-creator/scripts/package_skill.py skills/policy-lawyer

Links

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install policy-lawyer?

Run openclaw add @crimsondevil333333/policy-lawyer in your terminal. This installs policy-lawyer into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/crimsondevil333333/policy-lawyer. Review commits and README documentation before installing.