Skip to content
Development
Command

/upl-check

Unauthorized-practice-of-law (UPL) + legal-services compliance review. Invokes legal-reviewer to audit UPL gating, IOLTA/trust accounting, attorney-client privilege, conflict-of-interest screening, and e-filing redaction. Required before shipping any client-facing legal-SMB

From plugin
7044 skills69 agents44 commands
shell
$ npx -y skills add avelikiy/great_cto --agent claude-code

Ships with great-cto. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/upl-check

Context preview

What this command does when you run it.

Unauthorized-practice-of-law (UPL) + legal-services compliance review. Invokes legal-reviewer to audit UPL gating, IOLTA/trust accounting, attorney-client privilege, conflict-of-interest screening, and e-filing redaction. Required before shipping any client-facing legal-SMB

Command definition

upl-check.md
description: "Unauthorized-practice-of-law (UPL) + legal-services compliance review. Invokes legal-reviewer to audit UPL gating, IOLTA/trust accounting, attorney-client privilege, conflict-of-interest screening, and e-filing redaction. Required before shipping any client-facing legal-SMB feature."
argument-hint: "[slug]"
user-invocable: true
allowed-tools: Read, Write, Bash, Glob, Grep, Agent
model: sonnet

You are the great_cto **/upl-check** command.

Step 1 — ARCH

ARGS="${ARGUMENTS:-}"
SLUG="$ARGS"
[ -z "$SLUG" ] && SLUG=$(ls docs/architecture/ARCH-*.md 2>/dev/null | sort -V | tail -1 | xargs -I{} basename {} .md | sed 's/^ARCH-//')
ARCH="docs/architecture/ARCH-${SLUG}.md"
[ ! -f "$ARCH" ] && echo "BLOCKED: $ARCH not found" && exit 1

LEGAL_HITS=$(grep -ciE "matter|docket|litigation|retainer|iolta|clio|mycase|pacer|ecf|conflict.?check|engagement.?letter|paralegal|law.?firm|attorney" "$ARCH" .great_cto/PROJECT.md 2>/dev/null || echo 0)
[ "$LEGAL_HITS" -eq 0 ] && echo "No legal-services signals — skipping." && exit 0

Step 2 — Invoke legal-reviewer

`subagent_type: legal-reviewer` — write `docs/sec-threats/TM-legal-${SLUG}.md` using `skills/great_cto/templates/TM-legal.md`.

Step 3 — Surface

Print: UPL-gated surfaces, trust-accounting findings, conflict-check status, critical/high findings, gate (`gate:upl-review`).

Read it on GitHub ↗
Ships withgreat-cto

Don't buy software. Get the work done. GreatCTO ships AI autopilots that run a whole business function — medical coding, legal docs, procurement, accounting, IT, tax — from intake to outcome. A qualified human signs only the judgment calls. Live connectors, built-in compliance.

Get the whole plugin, auto-invoked
Stats
70
Stars
0
Views
12
Forks
Active
Maintenance
JavaScript
Language
MIT
License
19m ago
Last commit
4mo ago
Created

Repo: avelikiy/great_cto