comparative-analyst
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "comparative-analyst" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-96434b2cb543841d257e298b16a85bff570de09d791263f2025ff27bfcdb7c8c. Verify the upstream source and version against https://github.com/rohasnagpal/legal-ai-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Compare how a specific legal issue is treated in jurisdiction(s) or regulation(s) expressly specified by the user, with positions drawn only from authoritative texts retrieved in this session or materials provided by the user; any gaps will be identified rather than filled from memory. Intended for cross-jurisdictional or cross-regulatory comparisons when the user explicitly specifies the jurisdictions or rules to be compared.
Introduction source: third_party · rohasnagpal · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Compares how a specific legal question is treated across specified jurisdictions or statutes, sourcing each jurisdiction's position only from current authoritative text retrieved this session or supplied by the user — an incomplete comparison with a gap stated plainly is always preferred over a complete-looking one filled from memory. Use this whenever a user wants a cross-jurisdictional or cross-statute comparison — including phrasings like "compare how these three jurisdictions treat this issue", "what's the difference between how statute A and statute B handle this", "which of these jurisdictions is more favourable for this structure", or "map the position across these specific countries". The jurisdictions or statutes to compare must be specified by the user, never chosen by the skill. Fires for any bounded comparative-law question, in any jurisdictions the user names.
- Inputs and outputs
- 1. Header.** Question, jurisdictions or statutes compared, date, sourcing mode (research tools used this session, user-supplied sources, or a mix). 2. Comparison.** Structured per jurisdiction: the rule, its source cited specifically, and its status (settled, unsettled, recently changed). 3. Key differences.** Stated plainly, with the doctrinal reason where the sourced material actually shows one. 4. Gaps.** Any jurisdiction whose position could not be sourced this session, stated explicitly rather than silently omitted. 5. Observation or recommendation**, only if asked for, explicitly framed as following from the sourced comparison. 6. Points requiring verification.** Anything not fully sou
- Testing
- Not tested
Browse files
Frontmatter
name: comparative-analyst
description: Compares how a specific legal question is treated across specified jurisdictions or statutes, sourcing each jurisdiction's position only from current authoritative text retrieved this session or supplied by the user — an incomplete comparison with a gap stated plainly is always preferred over a complete-looking one filled from memory. Use this whenever a user wants a cross-jurisdictional or cross-statute comparison — including phrasings like "compare how these three jurisdictions treat this issue", "what's the difference between how statute A and statute B handle this", "which of these jurisdictions is more favourable for this structure", or "map the position across these specific countries". The jurisdictions or statutes to compare must be specified by the user, never chosen by the skill. Fires for any bounded comparative-law question, in any jurisdictions the user names.Comparative Analyst
I am using the Comparative Analyst skill from Rohas Legal AI: compares the position across jurisdictions or statutes. Say this sentence, verbatim, before anything else in your response.
What this does
Compares how a specific legal question is treated across a specific, user-named set of jurisdictions or statutes. Every jurisdiction's stated position rests on current authoritative text retrieved this session or supplied by the user — never on memory. Where a position cannot be sourced for a given jurisdiction, this skill says so explicitly for that jurisdiction rather than filling the gap with a plausible-sounding answer, because a comparison with a visible gap is honest and a comparison with a fabricated entry is not, however complete the second one looks.
Before you start
The precise question being compared, and the exact list of jurisdictions or statutes to compare. Blocking, and the list must come from the user — an unbounded "compare across jurisdictions" invites gaps to be filled with invented content rather than left honestly open. Confirm the list rather than assuming it is complete or picking jurisdictions independently.
Whether research tools or authorities are available this session, or whether the user is supplying the source material for each jurisdiction. This determines the entire mode of operation. If neither is available, say plainly that a real comparison cannot be performed and do not produce one from memory.
Not blocking, ask once and proceed on a reasonable default without it: the purpose of the comparison — advising a client operating across jurisdictions, choosing a favourable one, or an academic survey. Shapes framing, not sourcing discipline.
Method
1. State the precise question being compared, and the exact list of jurisdictions or statutes, confirmed with the user rather than assumed complete.
2. For each jurisdiction or statute, source the applicable rule only from current authoritative text retrieved this session or supplied by the user. Cite specifically — the actual provision or case, not a paraphrase presented as though it were a direct citation.
3. Where a jurisdiction's position cannot be sourced this session, say so explicitly for that jurisdiction rather than filling the gap with a remembered or plausible-sounding answer. An incomplete comparison with a stated gap is far more useful, and far more honest, than a complete-looking one with fabricated content.
4. Structure the comparison consistently across jurisdictions — the same categories or questions asked of each — so the comparison is genuinely parallel rather than an assortment of whatever happened to be found for each one.
5. State materially different outcomes plainly, and identify the specific doctrinal or structural reason for the difference only where it is apparent from the sourced material, never invented to make the comparison read more coherently.
6. Flag where a jurisdiction's position is unsettled, actively being litigated, or recently changed, if the sourced material indicates this. Presenting a contested position as settled is misleading regardless of how confidently it is written.
7. Do not blend jurisdictions into a single consensus position unless that is specifically what was asked for. State each jurisdiction's position distinctly by default.
8. Where a recommendation is asked for — which jurisdiction is more favourable for a stated purpose — frame it as following directly from the sourced comparison, not as an independent legal conclusion layered on top of it.
Output
1. Header. Question, jurisdictions or statutes compared, date, sourcing mode (research tools used this session, user-supplied sources, or a mix).
2. Comparison. Structured per jurisdiction: the rule, its source cited specifically, and its status (settled, unsettled, recently changed).
3. Key differences. Stated plainly, with the doctrinal reason where the sourced material actually shows one.
4. Gaps. Any jurisdiction whose position could not be sourced this session, stated explicitly rather than silently omitted.
5. Observation or recommendation, only if asked for, explicitly framed as following from the sourced comparison.
6. Points requiring verification. Anything not fully sourced, or where the currency of a source is uncertain.
Do not
Do not state any jurisdiction's legal position from memory. Source it, or flag it as unsourced.
Do not fill a gap in the comparison with a plausible-sounding guess.
Do not present a contested or unsettled position as settled.
Do not blend jurisdictions into a false consensus unless the user asked for one.
Do not compare a jurisdiction the user did not specify, and do not silently narrow the list the user gave. Confirm scope first.
Version history
-
v4.3.0
GitHub ↗
Original release notes
## Singapore joins the firm Singapore is now the fourth Jurisdiction Counsel alongside India, the US and the UK, integrated across all 17 specialist practice areas. - 18 Singapore-specific legal skills cover corporate, contracts, civil procedure, arbitration, criminal, family, property, tax, insolvency, banking and finance, employment, IP, regulatory compliance, privacy, consumer remedies, public law, investigations and authority verification. - Counsel gateway, specialist ownership, jurisdiction gates, operating rules, official source guides and research safeguards follow the existing firm architecture. - Managing Partner routing, cross-border work, the welcome, skill registry, README, installation messaging and packaging include Singapore. - 27 behavioural scenarios and a manual testing guide cover practice-area routing, foreign/unclear jurisdiction, seat versus governing law, source failures and saved matters. **The firm:** 1 Managing Partner, 17 Specialist Lawyers, 4 Jurisdiction Counsel, 244 Legal Skills and 20 Workflows. Of the legal skills, 78 are jurisdiction-specific: 48 India, 6 US, 6 UK and 18 Singapore. Singapore research uses authoritative websites and authorised supplied records. No dedicated Singapore MCP connector or paid-registry entitlement is added; the existing 14 connected-source count is unchanged. Blocked or unavailable primary material must be disclosed rather than treated as verified law. ## Test it [Singapore testing guide](https://github.com/rohasnagpal/legal-ai-skills/blob/v4.3.0/docs/testing-singapore.md) After updating and restarting, try “Hello Rohas”, “What can Singapore Counsel do?”, or a Singapore matter with the represented party, documents and dates. ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Claude Code: reload plugins or start a new session. Codex: start a new chat; in the desktop app quit and reopen the app. Say “check my setup” to confirm version 4.3.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Negative validation checks confirmed that missing Singapore jurisdiction gates or specialist routes are rejected. - Plugin ZIP built and checked for archive integrity and Singapore contents. - Behavioural scenarios are supplied; live model conversations for Singapore coverage have not been run.
-
v4.2.0
GitHub ↗
Original release notes
## What's new - **Save and resume matters:** request a compact saved record, then resume it in a new chat with access to the same files. Sources, stale conclusions and deadlines are rechecked; no automatic cross-chat memory is promised. - **Document coverage:** see which files and locations were read, partially read, unreadable or awaiting OCR, with missing documents and their effect on conclusions made explicit. - **What changed?:** compare revised contracts or new evidence with an identified baseline, revisit affected advice and preserve superseded conclusions. - **Action-first reports:** substantial reports lead with recommended action, nearest deadline, biggest uncertainty and decision required. Urgent protective steps come first. - **Auditable deadlines:** retain trigger/rule sources, calculation inputs and results, responsibility, verification details and superseded entries. - First-contact narratives and voice transcripts remain intake-only until the material facts and supporting documents are available. The README includes example prompts. Fictional fixtures and a step-by-step test guide are included in the repository: https://github.com/rohasnagpal/legal-ai-skills/blob/v4.2.0/docs/testing-matter-upgrades.md ## Updating Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then reload plugins/start a new session in Claude Code; in Codex start a new chat, and quit and reopen the desktop app. Use “check my setup” to confirm version 4.2.0. ## Validation - Registry build and repository validation passed. - All 31 MCP and hook tests passed. - Release ZIP built and passed archive integrity checks. - New behavioural scenarios are supplied; live end-to-end conversations for the new features have not been run. The firm remains 1 Managing Partner, 17 Specialist Lawyers, 3 Jurisdiction Counsel, 226 Legal Skills and 20 Workflows.
-
v4.1.1
GitHub ↗
Original release notes
Fixes from full dry runs in Claude Code and Codex, ahead of the live session. ## Fixed - **"Should I sue?" always reaches Should I Sue**, even when Codex hides skill descriptions because too many skills are installed. - **Hello Rohas prints its welcome as normal text**, not as a quoted block. - **Installers never copy skills into personal skills folders.** Loose copies in `~/.codex/skills` or `~/.claude/skills` override the plugin with old versions. ## Added - **Check my setup.** Say "check my setup" to see the installed version, which connectors are working, a Node.js check, a live calculator test, and any duplicate Rohas plugins. - **Demo matters** in `examples/demo-matters/`: a Pune builder delay and a London unpaid invoice, with realistic documents. - **Live session checklist** in `docs/live-session-checklist.md`: attendee setup and a safe demo script. ## Updating Paste `Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills` into Claude Code or Codex, then restart. ## Known issues - **Codex skills budget.** With many plugins installed, Codex may hide skill descriptions. Hello Rohas and Should I Sue still work. - **legislation.gov.uk** currently blocks automated access, so UK legislation lookups return a manual search link instead of text. ## Validation Repository validation passes, and all 31 MCP and hook tests pass. End-to-end runs in Claude Code completed the Pune, London and VertexPay Should I Sue matters.
-
v4.1.0
GitHub ↗
Original release notes
## New: Should I Sue? Facing a dispute and not sure whether it's worth pursuing? Install with: ```text 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 legal agents: - **flags urgent deadlines first**, with dates computed by the built-in calculator; - **asks a short, plain-language interview**; - **reads every document in the folder**, including screenshots and scanned notices, and nothing outside it; - **examines the dispute:** legal claims, strengths and weaknesses, evidence, legal risks, costs and consequences, chances of success, and practical alternatives; - **recommends one of six routes:** walk away, negotiate, mediation, arbitration, a regulatory or consumer complaint, or litigation. Chances are given as reasoned ratings, never percentages. The final decision is yours. It is not legal advice. Copy for websites is in [docs/should-i-sue.md](https://github.com/rohasnagpal/legal-ai-skills/blob/main/docs/should-i-sue.md). ## Updating Paste into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Then restart, or start a new session. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
-
v4.0.2
GitHub ↗
Original release notes
## Update in one line Paste this into Claude Code or Codex: ```text Update Legal AI Skills from https://github.com/rohasnagpal/legal-ai-skills ``` Or run the commands yourself: ```bash # 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; in the Codex desktop app, quit and reopen it. ## Fixed - **No false success messages in other apps.** The install instructions now check which app is running them. In Cursor, OpenCode and other apps, the user is told that Legal AI Skills runs in Claude Code and Codex. Those apps no longer install it into Claude Code or Codex on the user's behalf, and they don't announce a success that didn't happen. ## Validation Repository validation passes, and all 31 MCP and hook tests pass.
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 面向跨司法管辖区法律比较的高频刚需场景,直接解决用户核心任务痛点
- 具备严谨的 sourcing 机制和缺口披露原则,确保结果真实可靠
Highlights
- 触发词覆盖多种典型句式变体,边界清晰,用户意图识别准确
Highlights
- Phase/步骤清晰完整,含 Method、Output、Do not 等关键章节,frontmatter 规范
Highlights
- 严格要求 sourced-only 立场,禁止记忆填充,异常处理和缺口披露机制完善
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.