sentencing-analyst

Analyzes statutory sentencing ranges, aggravating and mitigating factors, evidence, and factual circumstances. Intended for use after conviction or plea, during negotiations, or when preparing sentencing submissions and post-sentencing advice.

Last repository push
GitHub Stars
220
Forks
47
Issues / PRs
2

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 "sentencing-analyst" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2a87260e1475d8a3dfedde36efe83301081861483293daf376873ca00d3d346e. 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

Analyzes statutory sentencing ranges, aggravating and mitigating factors, evidence, and factual circumstances. Intended for use after conviction or plea, during negotiations, or when preparing sentencing submissions and post-sentencing advice.

0 Downloads

Introduction source: third_party · rohasnagpal · 0.0.1 Reference

SkillPi interpretation

Tasks
Analyses lawful sentencing ranges, aggravating and mitigating factors, evidence and realistic scenarios. Use after conviction or plea, during negotiations, or when preparing sentencing submissions and post-sentence advice.
Inputs and outputs
Jurisdiction, offence date, statute, counts and mode of conviction or plea Verdict, plea basis, agreed facts and judicial findings Applicable maximum, minimum, enhancement and guideline material, if known Prior record and treatment of spent, juvenile or foreign matters Arrest, remand and other custody-credit dates Victim impact, loss, restitution or compensation information Personal mitigation, dependants, health, employment and rehabilitation evidence Prosecution position, co-offender outcomes and special sentencing rules Treat missing facts as unknown and identify the records required to resolve them.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: sentencing-analyst
description: Analyses lawful sentencing ranges, aggravating and mitigating factors, evidence and realistic scenarios. Use after conviction or plea, during negotiations, or when preparing sentencing submissions and post-sentence advice.

Sentencing Analyst

I am using the Sentencing Analyst skill from Rohas Legal AI: mitigating and aggravating factors and reasoned sentencing scenarios. Say this sentence, verbatim, before anything else in your response.

Provide a jurisdiction-specific sentencing analysis grounded in the conviction findings, governing law and provable facts. Present scenarios, not assurances.

Required inputs

  • Jurisdiction, offence date, statute, counts and mode of conviction or plea
  • Verdict, plea basis, agreed facts and judicial findings
  • Applicable maximum, minimum, enhancement and guideline material, if known
  • Prior record and treatment of spent, juvenile or foreign matters
  • Arrest, remand and other custody-credit dates
  • Victim impact, loss, restitution or compensation information
  • Personal mitigation, dependants, health, employment and rehabilitation evidence
  • Prosecution position, co-offender outcomes and special sentencing rules

Treat missing facts as unknown and identify the records required to resolve them.

Method

  1. Fix the governing regime. Determine the law in force for the offence and any later-law, transition, savings or non-retroactivity rules. Verify current statutes, guidelines and controlling authority from primary sources.
  2. Calculate the lawful range. Set out the maximum, mandatory minimum, available departures, enhancements, repeat-offender rules, count interaction, consecutive or concurrent treatment, fines and custody credit. Show arithmetic and assumptions.
  3. Identify sentencing principles. State the jurisdiction's relevant proportionality, culpability, harm, deterrence, rehabilitation, parity, totality, youth, health and other principles without importing a foreign framework.
  4. Build the factor matrix. Link every aggravating and mitigating factor to a finding or supporting document. Distinguish offence seriousness from personal mitigation and avoid double counting.
  5. Test parity. Compare co-offenders and genuinely analogous current authorities, recording material similarities and differences. Do not convert a small case sample into a statistical prediction.
  6. Assess alternatives. Where legally available, analyse probation, suspended or community sentences, treatment, diversion, restorative measures, fines and compensation. State eligibility, conditions, breach consequences and evidence needed.
  7. Address harm and responsibility. Accurately present victim impact, restitution and remediation. Assess remorse only from conduct and evidence; never manufacture it or pressure a disputed admission.
  8. Model scenarios. Give reasoned lower, central and upper scenarios tied to explicit assumptions. Separate the lawful range, the advocated result and uncertainty.
  9. Plan proof and advocacy. Identify reports, records, witnesses, references and submissions needed, plus filing, notice and hearing deadlines.

Output

Produce:

  • A sentencing-range and count-interaction table
  • An aggravating and mitigating factor matrix with evidence status
  • Custody-credit and financial calculations
  • Comparable-outcome and parity analysis
  • Lower, central and upper scenarios with assumptions
  • A sentencing-submissions outline and evidence checklist
  • A collateral-consequences and post-sentence options note

Guardrails

  • Do not fabricate remorse, illness, dependency, employment, references, restitution or family hardship.
  • Do not minimise victim harm or retaliate against a victim for giving an impact statement.
  • Do not promise a sentence or present a scenario as a prediction.
  • Distinguish the imposed sentence from parole, remission, release eligibility and executive clemency.
  • Check for double counting, unlawful disparity and consequences requiring immigration, regulatory or other specialist advice.

Version history

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 面向法律专业人士的高价值量刑分析工具
  • 提供系统化九步分析法覆盖从法条定位到情景建模全流程
  • 严格区分事实与假设避免误导性结论
Trigger Precision95/100

Highlights

  • 触发描述清晰界定使用时机(定罪后/谈判/陈述准备)
  • 中英文 description 完整且位置规范
  • 边界明确不易与其他法律类 Skill 混淆
Structure and Standards95/100

Highlights

  • Phase 划分清晰(Method 九步+Output+Guardrails)
  • 包含完整输入清单与产出物模板
  • 文档结构严谨符合专业文档标准
Execution Reliability95/100

Highlights

  • 强调基于可证实事实进行分析
  • 设置多重伦理 guardrails 防止越界
  • 对缺失信息采取保守处理策略
Evidence Verifiability (mean of the first four)93/100

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.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

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.