← Back to Skills Marketplace
crimsondevil333333

Policy Lawyer

by CrimsonDevil333333 · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
1984
Downloads
0
Stars
10
Active Installs
2
Versions
Install in OpenClaw
/install 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.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install policy-lawyer
  3. After installation, invoke the skill by name or use /policy-lawyer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug policy-lawyer
Version 1.0.1
License
All-time Installs 11
Active Installs 10
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1984 downloads so far.

How do I install Policy Lawyer?

Run "/install policy-lawyer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Policy Lawyer free?

Yes, Policy Lawyer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Policy Lawyer support?

Policy Lawyer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Policy Lawyer?

It is built and maintained by CrimsonDevil333333 (@crimsondevil333333); the current version is v1.0.1.

💬 Comments