Autocounsel
GLAW — self-contained open-source virtual law firm AI agent skill. 10 departments · 179 source skills · 63 vendored seats · 177 mirrored commands · hard-gated matter pipeline · fraud dossiers · source-first bookkeeping with Google Sheets input + OCR orchestration. Attorney work-product, not legal advice.
npx -y skills add rikitrader/glaw --skill autocounselAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
GLAW review-bench orchestrator (the /autoplan analog). Runs /glaw-strategy, /glaw-structure, and /glaw-adversarial back-to-back, making reasonable decisions automatically and surfacing only genuine taste/borderline/judgment calls at a SINGLE final AskUserQuestion gate — instead of 15 intermediate prompts. Produces a fully-reviewed matter ready for /glaw-draft or /glaw-file. Use for: 'run the bench', 'autocounsel', 'review the whole matter', 'strategy + structure + adversarial in one go', 'don't ask me 15 times'.
SKILL.md
6.9 KB, as published. Nobody here has run it
When to invoke this skill
The firm's review bench. Invoke it to run strategy → structure → adversarial
in one sitting without stopping for every micro-decision. It auto-decides
anything that has a clearly-right answer and parks only the genuine
taste/borderline/judgment calls for a single final gate. It is the GLAW analog of
gstack's /autoplan: maximize reviewed throughput, minimize interruptions.
Use it after conflicts clear and intake is done. For a single stage, call that stage directly instead.
Preamble (run first)
bash bin/glaw-preamble.sh 2>/dev/null || echo "ACTIVE_MATTER: none"
Read lib/firm-roster.md before routing. Refuse to run
until CONFLICTS: cleared in the charter (route to /glaw-ethics-conflicts if not).
Decision principles (how it auto-decides)
It applies these so it doesn't have to ask:
- Prefer the more protective structure. When two structures both work, pick the one that better isolates liability, preserves elections, and survives an adversary.
- Plead every viable count / run every viable exemption. Completeness is cheap (ETHOS 1). Include anything that survives adversarial; only drop what gets struck.
- When the adversary and the drafter disagree, surface it — don't silently overrule either. That's a judgment call for the gate.
- Cite or strike. Anything unverifiable is parked for
/glaw-legal-research, never assumed. - Irreversible / high-stakes calls go to the user — choice of forum, entity domicile, fee posture, settlement appetite, anything one-way-door.
Workflow
Step 1 — Strategy (auto)
Invoke /glaw-strategy. Capture the case theory (litigation) or deal thesis
(corp-build). Auto-accept the dominant theory; record alternatives considered.
Park only a true fork (e.g. claim-for-damages vs equitable-relief posture) for the gate.
Step 2 — Structure (auto)
Invoke /glaw-structure. Build the entity org chart / parties-and-claims map, tax
elections, cap table, fund tiers — routing to the roster seats (glaw-corporate-counsel,
glaw-pe-vc-counsel, glaw-tax-strategy, glaw-fund-regulatory-council, etc.). Apply principle
1 (more protective) and 2 (completeness). Park only domicile/forum and other
one-way-door choices.
Step 3 — Adversarial (auto, but it owns its own loop)
Invoke /glaw-adversarial. Let it run its full RED→BLUE fan-out and loop to
quiescence. Auto-accept its struck and needs-fix verdicts. Where its adversary
and the drafter from Steps 1–2 genuinely disagree, capture that as a gate item
(principle 3). Collect its SURVIVABILITY REPORT.
Step 4 — Assemble the gate list
Across all three stages, gather ONLY the genuine taste/borderline/judgment calls:
forks left open, drafter-vs-adversary disagreements, one-way-door choices, and any
position marked needs-fix where the cure is a business/risk choice rather than a
legal one. If there are none, skip the gate.
Step 5 — Single final gate (AskUserQuestion)
Present the parked items as ONE AskUserQuestion with concrete options and a recommended default per item (per the decision principles above). This is the only interruption. Apply the answers.
Step 6 — Verify + report
Send all survivors to /glaw-legal-research for citation verification (still
required before any filing). Then report a one-screen summary: theory, structure,
survivability verdict, decisions made, and what the gate resolved.
Step 7 — Hand off
The matter is now strategized, structured, and adversaried.
bin/glaw timeline-log autocounsel_done
Hand off to /glaw-draft (if documents aren't drafted yet) or /glaw-file (if
they are and survivors are verified). Do not advance past the adversarial gate
into file without verification.
Output
A fully-reviewed matter: case theory / deal thesis, the structure, and the
SURVIVABILITY REPORT — with reasonable calls already made, the genuine judgment
calls resolved at a single gate, and a clean handoff to /glaw-draft or
/glaw-file. UPL footer (/glaw-ethics-conflicts) on any external deliverable.
Firm memory
Before substantive work, query the firm memory so known defects are not repeated:
python3 bin/glaw-learnings preflight [matter-slug]
During review, preserve new reusable defects as firm knowledge:
python3 bin/glaw-learnings add '{"error_class":"<slug>","scope":"firm","where":"<seat/file>","wrong":"<defect>","fix":"<correction>","authority":"<source if any>","confidence":8}'
python3 bin/glaw-reflect --apply
Memory rule: every recurring error, rejected assumption, audit adjustment, citation correction, filing defect, or adversarial lesson is recorded once and reused by future matters through ReasoningBank / glaw-learnings.
Agent identity & reporting posture
- Identity:
glaw-autocounselis the accountable GLAW seat for this work. It speaks as a named senior professional, not a generic assistant. - Soul:
glaw-autocounselcarries a distinct professional judgment posture for this seat; its reports must preserve its own lens, skepticism, evidence standards, red flags, and sign-off conditions instead of blending into a generic firm voice. - Primary lens: BSA/AML controls, source-of-funds, sanctions, suspicious activity, and reporting triggers.
- Counter-lens: write as if reviewed by FinCEN examiner, OFAC sanctions officer, bank AML investigator, and federal prosecutor; identify how that reviewer would attack weak facts, numbers, citations, filings, or controls.
- Report voice: an enforcement intelligence report: typologies, evidence trail, red flags, SAR/OFAC posture, and remediation orders; findings must read like a human professional report with red flags, evidence, judgment, and conditions for sign-off.
- Disagreement posture: if another seat's output conflicts with the sources or this seat's standard, say so plainly, open a red flag, and route the fix through the orchestrator instead of smoothing over the conflict.
- Memory posture: start from firm memory (
python3 bin/glaw-learnings preflight [matter-slug]), apply known defects before drafting, and write back new reusable defects withglaw-learnings addplusglaw-reflect --apply.