bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
Set Up an AI-Powered Full-Service Law Firm in 90 Seconds
Translation pending
SkillsJavaScript · RubyGitHub @rohasnagpalSelf-installOwner unconfirmed
Paste into Claude or ChatGPT for installation instructions suited to your environment.
Have you tried it? One tap is enough. No sign-in needed.
Loading the full README. The saved excerpt is shown below.
Set Up an AI-Powered Full-Service Law Firm in 90 Seconds
To install Legal AI Skills by Rohas Nagpal, open Claude Code or the Codex app or CLI on your computer and run this prompt. It does not install in Codex on the web (chatgpt.com/codex) or in a claude.ai chat.
• 1 Managing Partner: Receives matters, assigns specialist lawyers, coordinates work and reviews final outputs.
• 17 Specialist Lawyers: Handle matters across practice areas such as corporate, criminal defence, contracts, family law, real estate, tax and litigation.Read the full README ↗To install Legal AI Skills by Rohas Nagpal, open Claude Code or the Codex app or CLI on your computer and run this prompt. It does not install in Codex on the web (chatgpt.com/codex) or in a claude.ai chat.
Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Hello Rohas".
1 Managing Partner: Receives matters, assigns specialist lawyers, coordinates work and reviews final outputs.
17 Specialist Lawyers: Handle matters across practice areas such as corporate, criminal defence, contracts, family law, real estate, tax and litigation.
3 Jurisdiction Counsel: Identify and verify applicable laws, legal authorities and procedures in India, the US and the UK.
226 Legal Skills: Reusable capabilities such as contract review, legal research, due diligence, evidence analysis and legal drafting, including jurisdiction-specific skills for RERA and Section 138 NI Act.
20 Workflows: Step-by-step processes for matters such as M&A due diligence, divorce proceedings, contract negotiation and litigation preparation.
14 Official Legal Research Sources and Connectors: Provide access to legislation, regulations, judgments, court records, official notices, company registries and sanctions lists through official and authoritative legal sources.
Built-in Legal Tools: Exact deadline and interest calculators, and private sanctions screening against the US, UK and UN lists, all running on your own machine.
Built in India 🇮🇳 for the world by Rohas Nagpal.
Facing a dispute and not sure whether to pursue it? Install with this prompt instead:
Install Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills and say "Should I Sue".
Put your contracts, emails, messages, screenshots and notices in one folder, open a new session in that folder, and ask "Should I sue?" A team of AI lawyers reads every document, examines the claims, evidence, risks, costs, chances and alternatives, and recommends litigation, arbitration, mediation, negotiation, a regulatory or consumer complaint, or walking away, with any urgent deadline first. It reads only the folder you open, and the final decision is yours. More at docs/should-i-sue.md.
Managing Partner receives the matter and consults Jurisdiction Counsel to identify applicable laws, jurisdiction, relevant procedures and required expertise.
Managing Partner assigns the most appropriate Specialist Lawyer as Matter Owner and selects a relevant workflow, where available.
Matter Owner develops a matter plan, identifies the required skills, adapts the workflow to the case and delegates tasks to other Specialist Lawyers as needed. The Matter Owner remains responsible for coordinating the matter throughout.
Specialist Lawyers conduct research, analysis, drafting and review using relevant legal skills. Jurisdiction Counsel provides and verifies applicable local laws, procedures and legal authorities.
Matter Owner consolidates findings, resolves inconsistencies, identifies outstanding issues and prepares the final deliverables.
Managing Partner reviews the completed work for completeness, legal reasoning, consistency, supporting evidence, verified authorities and legal risks. Jurisdiction Counsel assists with final local-law verification where required. The Managing Partner requests revisions when necessary.
Final output is delivered to the user, clearly identifying any unresolved issues, unverified information and required human legal review or approval.
Simple questions skip the team: the Managing Partner uses the one relevant skill directly.
AI Managing Partner
│
├── Jurisdiction Counsel
│ ├── India Counsel
│ ├── US Counsel
│ └── UK Counsel
│
├── Specialist Lawyers
│ ├── Corporate Lawyer
│ ├── Contracts Lawyer
│ ├── Litigation Lawyer
│ ├── Dispute Resolution Lawyer
│ ├── Criminal Defence Lawyer
│ ├── Family Lawyer
│ ├── Real Estate Lawyer
│ ├── Tax Lawyer
│ ├── Insolvency Lawyer
│ ├── Banking & Finance Lawyer
│ ├── Employment Lawyer
│ ├── Intellectual Property Lawyer
│ ├── Compliance Lawyer
│ ├── Consumer Protection Lawyer
│ ├── Public Law & Regulatory Lawyer
│ ├── Investigations Lawyer
│ └── Legal Research Lawyer
│
├── Legal Skills
│ ├── Jurisdiction-Neutral Skills
│ └── Jurisdiction-Specific Skills
│
├── Matter Workflows
│ ├── M&A Due Diligence
│ ├── Contract Review & Negotiation
│ ├── Litigation Preparation
│ ├── Divorce Proceedings
│ ├── RERA Complaints
│ └── ...
│
├── Official Legal Research Sources & Connectors (14)
│ ├── Legislation & Regulations — legislation.gov.uk, eCFR, Federal Register, GovInfo
│ ├── Case Law & Judgments — CourtListener, Find Case Law
│ ├── Court, Rulemaking & Official Notices — CourtListener dockets, Regulations.gov, The Gazette
│ ├── Company Registries — SEC EDGAR, GLEIF, UK Companies House
│ └── Sanctions Lists — US OFAC, UK Sanctions List, UN Consolidated List
│
└── Built-in Legal Tools (run on your machine)
├── Deadline & Interest Calculators — deadlines, periods between dates, simple & compound interest
├── Sanctions Screening — private, alias-aware name screening
└── Document Production — DOCX, PDF, conversion, OCR & bundle assembly
Confidentiality: Before uploading client documents or confidential information, ensure that your AI environment and connected services comply with applicable confidentiality, privacy and professional obligations.
Human Review: AI-generated legal analysis, advice and documents should be reviewed by an appropriately qualified legal professional where required. Court filings, representation and other regulated legal activities remain subject to applicable professional and legal requirements.
Legal Accuracy: The system should verify applicable laws and authorities wherever possible and clearly disclose any information it cannot verify. Its outputs are not guaranteed to be accurate or complete.
If you are Codex or Claude running the install prompt above, follow AGENTS.md. In short:
claude plugin marketplace add rohasnagpal/legal-ai-skills, then claude plugin install legal-ai-skills@rohas-legal in the terminal yourself. (A person can type /plugin marketplace add … and /plugin install … instead.)codex plugin marketplace add rohasnagpal/legal-ai-skills, then codex plugin add legal-ai-skills@rohas-legal./reload-plugins, so tell the user to do that and then type Hello Rohas.Node.js 18 or later is needed for the bundled registry, research and document tools. The legal skills work without it.
Upgrading from vCLO: the plugin is now legal-ai-skills. Uninstall the older Rohas plugins (vclo-by-rohas, rohas-legal-ai, navigator, privacy) and install legal-ai-skills@rohas-legal, so skills and connectors don't load twice. In the Codex desktop app, quit and reopen the app after installing so the connectors load. "Hello vCLO" still works for this release.
Paste this into Claude Code or Codex:
Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills
Or run the commands yourself:
# Claude Code
claude plugin marketplace update rohas-legal
claude plugin update legal-ai-skills@rohas-legal
# Codex
codex plugin marketplace upgrade rohas-legal
codex plugin add legal-ai-skills@rohas-legal
Then restart: in Claude Code run /reload-plugins or start a new session; in Codex start a new chat, and in the Codex desktop app quit and reopen it. Say Hello Rohas to check the version is working. See the changelog for what changed.
| Workflow | Matter Owner |
|---|---|
| Divorce and matrimonial proceedings | Family Lawyer |
| RERA complaint | Real Estate Lawyer |
| Property purchase due diligence | Real Estate Lawyer |
| Cheque dishonour (Section 138) | Litigation or Criminal Defence Lawyer |
| Criminal defence | Criminal Defence Lawyer |
| Consumer complaint | Consumer Protection Lawyer |
| Tax assessment and appeal | Tax Lawyer |
| Insolvency and CIRP | Insolvency Lawyer |
| Debt recovery | Banking & Finance Lawyer |
| Employment dispute |
Each workflow names its Matter Owner, supporting lawyers, branches, review checkpoints and escalation points.
| Source | Coverage | Access |
|---|---|---|
| CourtListener | US case law and court records | Free account |
| GovInfo | US federal statutes, regulations and records | Free API key recommended |
| eCFR (Code of Federal Regulations) | US federal regulations, current or as at a date | No account |
| Federal Register | US rules and notices | No account |
| Regulations.gov | US rulemaking dockets | Free API key |
| legislation.gov.uk | UK legislation | No account |
| Find Case Law (The National Archives) | UK judgments | No account |
| The Gazette | UK insolvency, company and probate notices | No account; rate-limited |
| SEC EDGAR | US company filings | No account |
| GLEIF | Global legal entity identifiers | No account |
| UK Companies House | UK company records | Free key may be needed |
| US OFAC sanctions lists (SDN and consolidated) | US sanctions designations and aliases | No account; screened locally |
| UK Sanctions List | UK sanctions designations and aliases | No account; screened locally |
| UN Security Council Consolidated List | UN sanctions designations and aliases | No account; screened locally |
India Counsel routes Indian research through official sources such as India Code, eGazette, the Supreme Court, High Courts, tribunals and regulators where accessible. There is no unrestricted eCourts access, paid database or commercial citator. When a source is unavailable, the firm says what it could not check.
Sanctions screening: the firm downloads the official US, UK and UN sanctions lists, keeps them on your machine for 24 hours, and screens names there with fuzzy matching across aliases, so the names you screen are never sent to anyone. Results are potential matches for review, not clearance, and EU, Indian and other national lists are not included. See the sanctions screening guide.
Legal calculators: a local, offline calculator (guide) computes deadlines (days, working days, months or years, with supplied holidays), periods between dates, and simple or compound interest, exactly and with the working shown. It applies only the rules it is given, so statutory periods and rates still come from Jurisdiction Counsel.
The firm also includes a local document-production adapter for DOCX and PDF creation, conversion, OCR and assembly using free local engines, and can use documents, email, calendars and cloud storage that you connect and authorise in your host.
Start with the two-minute guide, then see fictional demonstrations for an Indian divorce, a RERA complaint, contract negotiation, M&A due diligence, an Indian commercial dispute, US privacy applicability and a UK employment issue.
Two founders are splitting equity 60/40. Draft a founders' agreement with four-year vesting, a one-year cliff and IP assignment to the company.
A UK employer wants to dismiss a remote worker after a failed performance review. What must be established before we can give advice?
A customer bought a defective laptop online and the seller refuses to replace it. Can they file a consumer complaint in India, and what compensation can they claim?
An employee has reported that her manager is harassing her. As the company, what should we do under India's POSH Act, step by step?
We want to launch an online marketplace for customers in California, Texas and New York. Which US state privacy laws might apply, and what facts do we need to confirm?
Draft a mutual NDA between two Indian companies exploring a joint venture, with a two-year confidentiality period and arbitration in Mumbai.
Is my client data sent anywhere? Your documents stay in your Codex or Claude environment. The calculators and sanctions screening run on your machine; research connectors send only the search terms needed to the official source. Check your own AI provider's data terms before sharing confidential material.
Where does it run? Inside Codex or Claude. In Claude Code each lawyer runs as its own subagent. In Codex, lawyers run as subagents where Codex supports it, or their work is performed in turn and kept separate.
What does it cost? $0, plus your ChatGPT or Claude subscription.
Who is it for? Practising lawyers, in-house counsel, startups, businesses and law students.
Languages? It works in the languages your Codex or Claude model supports. The skills and source guides are maintained in English, so verify translations, defined terms and filing-language requirements.
For law firms: need help setting up or customising Legal AI Skills? Contact Rohas Nagpal at [email protected].
Each skill is listed under the lawyer who owns it. Many are shared: any lawyer can use any skill, and the skill registry records the owner, shared users and jurisdiction of every skill. Jurisdiction-specific skills are marked 🇮🇳, 🇺🇸 or 🇬🇧.
Managing Partner and firm operations · Corporate Lawyer · Contracts Lawyer · Litigation Lawyer · Dispute Resolution Lawyer · Criminal Defence Lawyer · Family Lawyer · Real Estate Lawyer · Tax Lawyer · Insolvency Lawyer · Banking and Finance Lawyer · Employment Lawyer · IP Lawyer · Compliance Lawyer · Consumer Protection Lawyer · · · · · ·
Instructions: managing-partner.md
Instructions: corporate-lawyer.md
Instructions: contracts-lawyer.md
Instructions: litigation-lawyer.md
Instructions: dispute-resolution-lawyer.md
Instructions: criminal-defence-lawyer.md
Instructions: family-lawyer.md
Instructions: real-estate-lawyer.md
Instructions: tax-lawyer.md
Instructions: insolvency-lawyer.md
Instructions: banking-finance-lawyer.md
Instructions: employment-lawyer.md
Instructions: ip-lawyer.md
Instructions: compliance-lawyer.md
Instructions: consumer-protection-lawyer.md
Instructions: public-law-lawyer.md
Instructions: investigations-lawyer.md
Instructions: legal-research-lawyer.md
Instructions: india-counsel.md
Instructions: us-counsel.md
Instructions: uk-counsel.md
Corrections, bug reports and suggestions are welcome: please open an issue.
New skills by discussion first. Open an issue describing the skill before
writing it, so we can agree the scope and check it does not overlap something
already in the library. Skills are reviewed for legal substance before merging,
not just for structure. After adding a skill, run ruby scripts/build-skill-registry.rb
and ruby scripts/validate.rb.
Contributions are accepted under the MIT licence.
MIT. See LICENSE.
| Employment Lawyer |
| Contract review and negotiation | Contracts Lawyer |
| M&A due diligence | Corporate Lawyer |
| Financing transaction | Banking & Finance Lawyer |
| Dispute viability assessment | Litigation Lawyer |
| Litigation preparation | Litigation Lawyer |
| Commercial dispute lifecycle | Litigation Lawyer |
| Arbitration lifecycle | Dispute Resolution Lawyer |
| Regulatory compliance review | Compliance Lawyer |
| Data breach response | Compliance Lawyer |
| Internal investigation | Investigations Lawyer |