Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

self-improving-legal

БесплатноЗапускает вложенные скриптыНе проверен

Captures clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure to enable continuous legal…

aAAaqwqот aAAaqwq★ 123 звезды на GitHub

Об этом скилле

Self-Improving Legal Skill

Log legal learnings, compliance findings, contract issues, and regulatory changes to markdown files for continuous improvement. Captures clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure. Important learnings get promoted to clause libraries, compliance checklists, regulatory trackers, contract playbooks, or risk registers.

CRITICAL: Privilege & Confidentiality Protection

NEVER log privileged attorney-client communications, specific case strategy, confidential settlement terms, or litigation work product in any learning or issue entry. Always abstract findings to process-level lessons. Use generalized descriptions:

Protected Information Acceptable Abstraction
Attorney-client advice on specific matter "Outside counsel recommended clause revision for indemnity cap"
Settlement amount or terms "Settlement reached; update playbook to flag similar exposure earlier"
Litigation strategy details "Discovery phase revealed need for better document retention process"
Privileged legal memoranda "Internal review identified gap in force majeure clause coverage"
Specific opposing party positions "Counterparty negotiation pattern: late-stage payment term changes"
Confidential deal terms "Deal structure required non-standard IP assignment clause"

When in doubt, omit the specific detail and log only the process improvement lesson. Privilege waiver through careless documentation is irreversible.

First-Use Initialisation

Before logging anything, ensure the .learnings/ directory and files exist in the project or workspace root. If any are missing, create them:

mkdir -p .learnings
[ -f .learnings/LEARNINGS.md ] || printf "# Legal Learnings\n\nClause risks, compliance gaps, precedent shifts, regulatory changes, and legal operations insights.\n\n**Categories**: clause_risk | compliance_gap | precedent_shift | contract_deviation | regulatory_change | litigation_exposure\n**Areas**: contracts | compliance | litigation | intellectual_property | privacy | regulatory | corporate_governance\n\n---\n" > .learnings/LEARNINGS.md
[ -f .learnings/LEGAL_ISSUES.md ] || printf "# Legal Issues Log\n\nContract disputes, compliance failures, regulatory impacts, and litigation matters.\n\n---\n" > .learnings/LEGAL_ISSUES.md
[ -f .learnings/FEATURE_REQUESTS.md ] || printf "# Legal Operations Feature Requests\n\nLegal technology, automation, and process improvement requests.\n\n---\n" > .learnings/FEATURE_REQUESTS.md

Never overwrite existing files. This is a no-op if .learnings/ is already initialised.

Do not log privileged communications, specific case strategy, or confidential settlement terms. Abstract all entries to process-level lessons.

If you want automatic reminders, use the opt-in hook workflow described in Hook Integration.

Quick Reference

Situation Action
Unfavorable clause accepted in contract Log to .learnings/LEARNINGS.md with category clause_risk
Compliance deadline missed or approaching Log to .learnings/LEGAL_ISSUES.md with category compliance_gap
New regulation impacts the organization Log to .learnings/LEARNINGS.md with category regulatory_change
Contract unsigned past SLA Log to .learnings/LEGAL_ISSUES.md with category contract_deviation
IP infringement notice received Log to .learnings/LEGAL_ISSUES.md with category litigation_exposure
New case law in relevant jurisdiction Log to .learnings/LEARNINGS.md with category precedent_shift
Data subject access request reveals gaps Log to .learnings/LEARNINGS.md with category compliance_gap
Vendor changed terms without flagging Log to .learnings/LEGAL_ISSUES.md with category contract_deviation
Regulatory filing deadline within 30 days Log to .learnings/LEGAL_ISSUES.md with priority high
Contract redline rejected 3+ times Log to .learnings/LEARNINGS.md with category clause_risk
Similar to existing entry Link with **See Also**, consider priority bump
Broadly applicable legal pattern Promote to clause library, compliance checklist, or playbook
Proven compliance workflow Promote to AGENTS.md (OpenClaw workspace)
Legal tool configuration Promote to TOOLS.md (OpenClaw workspace)
Legal operations principles Promote to SOUL.md (OpenClaw workspace)

OpenClaw Setup (Recommended)

OpenClaw is the primary platform for this skill. It uses workspace-based prompt injection with automatic skill loading.

Installation

Via ClawdHub (recommended):

clawdhub install self-improving-legal

Manual:

git clone https://github.com/jose-compu/self-improving-legal.git ~/.openclaw/skills/self-improving-legal

Workspace Structure

OpenClaw injects these files into every sess

Полный SKILL.md на GitHub

Установить self-improving-legal в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

.clawhub/origin.json_meta.jsonassets/ERRORS.mdassets/FEATURE_REQUESTS.mdassets/LEARNINGS.mdassets/SKILL-TEMPLATE.mdhooks/openclaw/HOOK.mdhooks/openclaw/handler.jshooks/openclaw/handler.tsreferences/examples.mdreferences/hooks-setup.mdreferences/openclaw-integration.mdscripts/activator.shscripts/error-detector.shscripts/extract-skill.sh

FAQ

Что делает скилл self-improving-legal?

Captures clause risks, compliance gaps, precedent shifts, contract deviations, regulatory changes, and litigation exposure to enable continuous legal operations improvement. Use when: (1) An unfavorable clause is accepted or slips through review, (2) A compliance deadline is missed or approaching, (3) A new regulation impacts the organization, (4) A contract remains unsigned past SLA, (5) An IP infringement notice is received, (6) New case law changes interpretation in a relevant jurisdiction, (7) A data subject access request reveals process gaps.

Как установить скилл self-improving-legal?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл self-improving-legal запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить self-improving-legal с