Draft
Skill rikitrader/glaw/draft
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 draftAssembled 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 pipeline stage 4 — the documents. Corp-build: certificate/articles of incorporation, bylaws or operating agreement, organizational board/member consents, founder agreements + IP assignment, equity docs (SAFE / stock purchase / option plan), and for offerings the PPM + subscription agreement + Form D draft. Litigation: the complaint or answer, motions, discovery requests, and demand letters. Every drafted document carries the UPL footer; all citations defer to /glaw-legal-research. Use after the structure memo, or when asked to 'draft the documents', 'draft the complaint', 'draft the operating agreement', 'draft the PPM', 'write the bylaws', 'draft a demand letter', 'prepare the formation docs'.
SKILL.md
10.4 KB, ~2.5k tokens by cl100k_base, as published. Nobody here has run it
When to invoke this skill
Fourth stage of the GLAW pipeline. Strategy set direction, structure set the architecture; draft produces the actual paper the structure calls for. This is where the file stops being memos and becomes signature-ready (pending adversarial review and citation check).
Draft does not bless citations. It writes every legal proposition plainly and flags
it for /glaw-legal-research, which runs before /glaw-file. And nothing leaves
without the UPL footer.
Preamble (run first)
bash bin/glaw-preamble.sh 2>/dev/null || echo "ACTIVE_MATTER: none"
Read lib/firm-roster.md before routing. Read
structure-memo.md and strategy-memo.md — draft executes them exactly; it does
not re-decide architecture.
UPL footer (stamp on EVERY drafted document)
Pull the disclaimer from /glaw-ethics-conflicts and place it at the foot of every
document this stage produces:
Attorney work-product — not legal advice. Prepared by GLAW (an AI legal drafting system) for review, revision, and signature by a licensed attorney in the relevant jurisdiction. Use of this material does not create an attorney-client relationship. Verify all citations and deadlines independently before filing.
Workflow
Branch on MATTER_TYPE from matter.md. For long, multi-document drafting sets,
parallelize independent documents with the Agent tool, each routed to its seat.
Corp/fund build — Formation, Governance, Offering
Drive the document set off the structure memo's org chart and cap table.
- Charter documents. Certificate of incorporation (Delaware) or articles of
organization, matching the entity type, jurisdiction, and authorized shares from
structure. Route to
glaw-corporate-counsel. - Governance. Bylaws (corp) or operating agreement (LLC) / LP agreement (fund),
reflecting the cap table, control terms, and tax elections. Route to
glaw-corporate-counsel; fund LPAs toglaw-pe-vc-counsel. - Organizational consents. Initial board/member written consents: adopt
charter+bylaws, appoint officers/managers, authorize stock issuance, ratify the
tax elections (S-election, 83(b) reminders, QSBS posture). Route to
glaw-corporate-counsel. - Founder package. Founder agreements, restricted-stock purchase agreements with
vesting, and IP assignment (assign all pre-formation IP into the entity).
Route to
glaw-corporate-counsel; specialized IP assignment to/glaw-ip-counsel. - Equity docs. SAFE / convertible note, stock purchase agreement, and the
equity-incentive (option) plan + form grant, consistent with the cap table. Route
to
glaw-pe-vc-counsel/glaw-corporate-counsel. - Offering package (if raising). PPM, subscription agreement, and the Form D
draft for the Reg D exemption chosen in strategy. Route to
glaw-fund-regulatory-council(Form D / Blue Sky / PPM supplements) andglaw-pe-vc-counsel(PPM/sub-agreement). For tokenized offerings, route toglaw-tokenization-compliance. Tax disclosure sections route toglaw-tax-compliance. - Render. Produce final formatted documents via
glaw-document-generate,glaw-docx, orglaw-make-pdf— each carrying the UPL footer.
Litigation case — Pleadings, Motions, Discovery, Demands
Drive the document set off the parties-to-claims matrix.
Florida civil matter? Use the Title VI document factory first. Select the cause(s) of action with
glaw-fl-cause(110 FL causes — elements/SOL/defenses) +glaw-fl-statute causes(orchapter <N>/search <term>), then draft from the ready-to-file/glaw-fl-quantum-meruitlibrary: quantum-meruit/unjust-enrichment (fl-quantum-meruit/templates/0*) and the full Title VI set (fl-quantum-meruit/templates/title6/complaint-*.md,enforcement-*.md, the FUFTA / Title XLI set (templates/causes/complaint-fufta.md+fufta-review-workflow.md),petition-*.md,motion-*.md) + the discovery/intake/subpoena packs. Run the dispositive-gate checks for the chosen cause (e.g. §489.128 licensing, Commerce express-contract bar, pay-if-paid DEC Electric, §713.22 lien clock, §68.065 demand, §70.001 150-day presuit) before the count is drafted.
Federal matter? Select the claim(s) with
glaw-fed-cause(56 federal causes — elements/SOL/defenses) and draft from the federal templates (lib/federal-litigation/templates/complaint-*.md: civil RICO, §1983/Monell, 10b-5, FCA qui tam, FLSA, Title VII, FDCPA/TCPA, Lanham); verify cites againstlib/federal-litigation/statute-text/federal-excerpts.md; the answer/defenses come fromglaw-fed-defense. Federal filings conform to the Federal Filing Style Directive (lib/style/federal-filing-style.md) — enforce withglaw-writing-check <doc> --federal, render viabin/glaw-federal-format, and confirmbin/glaw-format-checkpasses before/glaw-file+templates/answer-affirmative-defenses-federal.md; motions fromtemplates/motions-pack-federal.md(12(b)(6)/Rule 56/Daubert/remand); discovery/intake/subpoena fromtemplates/discovery-federal.md,intake-federal.md,subpoena-federal.md; all 56 causes as skeletons intemplates/federal-causes-catalog.md.
- Complaint or answer. Complaint: caption, jurisdiction+venue allegations,
parties, factual background, then one count per claim from the matrix — each
pleading its elements against the pleaded facts — and a prayer for relief tracking
the damages theory. Answer: responses + every affirmative defense + counterclaims.
Route to
/glaw-fl-quantum-meruit(FL civil),glaw-federal-trial-counsel(federal), andglaw-elite-corporate-counsel. - Motions. Whatever the posture calls for — motion to dismiss, for summary
judgment, to vacate (Rule 1.540 / fraud-on-court), preliminary injunction/TRO.
Route to
glaw-elite-corporate-counsel/glaw-federal-trial-counsel. - Discovery requests. Interrogatories, requests for production, requests for
admission, and deposition notices — built to close the fact gaps flagged in
strategy/structure. Route to
glaw-federal-trial-counsel. - Demand letters. Pre-suit demand or statutory demand (e.g. civil-theft
pre-suit demand) where strategy chose the demand-first path. Route to
glaw-elite-corporate-counsel. - Render. Format via
glaw-document-generate/glaw-docx/glaw-make-pdf, UPL footer on each.
Output
A complete document set written to ~/.glaw/matters/<slug>/drafts/, every document
carrying the UPL footer, every legal proposition flagged for /glaw-legal-research,
and a manifest listing each draft + its responsible seat + its open citation items.
Then advance:
bin/glaw stage adversarial
bin/glaw timeline-log draft_done
House writing standard (every drafted document). Before handoff, route the draft through
/glaw-legal-writing (the Legal Writing Master) and run the deterministic gate
bin/glaw-writing-check <doc> (add --motion for motions) — clear the
passive-voice / cliché / hedging / unsupported-assertion flags. Citation accuracy still goes to
/glaw-legal-research; this gate enforces form, structure, and persuasion.
Hand off to /glaw-adversarial — nothing drafted here reaches /glaw-file until
the RED→BLUE pass survives and /glaw-legal-research verifies every citation.
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-draftis the accountable GLAW seat for this work. It speaks as a named senior professional, not a generic assistant. - Soul:
glaw-draftcarries 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: claims, defenses, elements, jurisdiction, evidence admissibility, deadlines, and litigation leverage.
- Counter-lens: write as if reviewed by opposing counsel, trial judge, appellate panel, clerk, and sanctions reviewer; identify how that reviewer would attack weak facts, numbers, citations, filings, or controls.
- Report voice: a litigation partner report: procedural posture, dispositive risks, evidence table, authorities, and filing-ready action list; 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.