← Back to Skills Marketplace
jose-compu

Self-Improving Legal

by José I. O. · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
108
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install self-improving-legal
Description
Captures clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure to enable continuous legal operati...
Usage Guidance
This skill appears coherent and implements only local reminders, detectors, and scaffolding for legal learnings — it does not request secrets or call external endpoints. Before installing: 1) Review the scripts (activator.sh, error-detector.sh, extract-skill.sh) yourself to confirm you are comfortable with files they create; 2) Only enable hooks in trusted workspaces (hooks run with agent filesystem permissions and will create/modify files under the workspace); 3) Keep the CRITICAL guidance: do not record privileged attorney-client communications, settlement terms, or case strategy in .learnings/ — the skill relies on you to abstract sensitive content; 4) If you enable the PostToolUse detector, be aware it reads CLAUDE_TOOL_OUTPUT (platform-provided) — do not forward that output verbatim; 5) Prefer enabling the activator only with a matcher filter (so reminders fire for legal-related prompts) if you want to limit noise and exposure; 6) Verify the referenced GitHub repo URL before cloning if you plan to use the manual install path.
Capability Analysis
Type: OpenClaw Skill Name: self-improving-legal Version: 1.1.0 The 'self-improving-legal' skill is a framework for legal operations designed to log and categorize contract risks, compliance gaps, and regulatory changes. It utilizes shell scripts (scripts/activator.sh, scripts/error-detector.sh, scripts/extract-skill.sh) and OpenClaw hooks to provide session reminders and scaffold new legal skills. The instructions in SKILL.md and the hooks explicitly prioritize the protection of attorney-client privilege and the abstraction of confidential information. No indicators of malicious intent, data exfiltration, or unauthorized persistence were found.
Capability Tags
cryptocan-make-purchases
Capability Assessment
Purpose & Capability
The name/description (capture legal learnings, compliance gaps, clause risks) matches the included files: activator and detector scripts, examples, templates, and OpenClaw hook handlers. All scripts and documentation relate to creating/maintaining .learnings files, scaffolding new legal skills, injecting reminders at agent bootstrap, and detecting legal patterns in tool output — functionality expected for a 'self-improving legal' skill. There are no unrelated requirements (no cloud creds, no unrelated binaries).
Instruction Scope
Runtime instructions explicitly tell the agent to create and append to files under a .learnings/ workspace directory and to avoid logging privileged/confidential content. The activator and error-detector are intended to run as hooks (UserPromptSubmit and PostToolUse) and read platform-provided context (CLAUDE_TOOL_OUTPUT, agent event). This scope is appropriate for the stated purpose, but it does involve writing files into the project/workspace and injecting a virtual reminder file at bootstrap — so enable only in trusted environments and ensure operators follow the CRITICAL guidance about privilege/confidentiality.
Install Mechanism
The skill is instruction-only (no install spec). It includes local scripts and hook handlers in the package; there are no remote downloads or extracts performed by the skill itself. SKILL.md suggests cloning from a GitHub URL if installing manually (standard practice). Note: registry metadata listed source as unknown while the README references a GitHub repo; that's a minor metadata mismatch but not indicative of malicious behavior.
Credentials
The skill requires no environment variables or credentials. Scripts read platform-provided context (CLAUDE_TOOL_OUTPUT, event/session context) and write local workspace files — behavior that fits the described functionality. No secrets, API keys, or unrelated config paths are requested.
Persistence & Privilege
always:false and model-invocation is allowed (platform default). Hooks and scripts are opt-in: the user must copy/enable the hook and/or configure .claude/.codex settings to run activator/error-detector commands. When enabled, hooks run with the agent's permissions and can add files to the workspace (including creating skills via extract-skill.sh). This is expected for a workspace-integrated skill, but users should be aware hooks persist in workspace config until disabled and have the same filesystem privileges as the agent.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install self-improving-legal
  3. After installation, invoke the skill by name or use /self-improving-legal
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
**Version 1.1.0** - Added stackability contract for multi-skill installations. - Added namespaced logging guidance (`.learnings/legal/`) for coexistence with other skills. - Added required `Skill: legal` metadata field and cross-skill precedence/ownership rules. - Clarified hook arbitration model (single dispatcher, dedupe, rate limiting).
v1.0.0
Self-Improving Legal skill initial release. - Enables continuous legal operations improvement by logging clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure. - Strictly prohibits logging privileged, confidential, or case-specific details—abstract all learnings to process-level lessons. - Guides users to initialize and structure `.learnings/` log files for tracking legal insights, issues, and feature requests. - Quick-reference tables map common legal scenarios to appropriate log actions and categories. - Includes integration and promotion instructions for OpenClaw and generic agent setups.
Metadata
Slug self-improving-legal
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Self-Improving Legal?

Captures clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure to enable continuous legal operati... It is an AI Agent Skill for Claude Code / OpenClaw, with 108 downloads so far.

How do I install Self-Improving Legal?

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

Is Self-Improving Legal free?

Yes, Self-Improving Legal is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Self-Improving Legal support?

Self-Improving Legal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Self-Improving Legal?

It is built and maintained by José I. O. (@jose-compu); the current version is v1.1.0.

💬 Comments