arrest-rights-advisor

arrest-rights-advisor is a skill for Claude Code, Codex from rohasnagpal/legal-ai-skills. It costs 142 tokens per session (860 once invoked), scanned A, original, MIT.

A legal guide for someone who has been arrested, detained, questioned by police, summoned, or worried about arrest. It explains immediate rights such as knowing the grounds, contacting a lawyer or family member, and being brought before a court within the applicable time.

In plain words
What is it for?
It helps organise facts about the arrest or notice, identify applicable rights, review warrants or grounds, and prepare questions and immediate actions for the person or their family.
Why use it?
The first hours of detention can involve strict deadlines and important choices. This helps identify the person’s status and urgent steps while making clear that it does not replace a lawyer attending the station or court.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the legal-ai-skills plugin — 272 skills shipped together

Good fit It helps organise facts about the arrest or notice, identify applicable rights, review warrants or grounds, and prepare questions and immediate actions for the person or their family.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rohasnagpal/legal-ai-skills --skill arrest-rights-advisor
Clone the repo
git clone --depth 1 https://github.com/rohasnagpal/legal-ai-skills

Made for: Claude Code, Codex.

Or install legal-ai-skills, the plugin that ships this one along with the rest of its 272 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for arrest-rights-advisor

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor/github.svg)](https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor)
Your own site
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for arrest-rights-advisor

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor"><img src="https://agentmods.dev/badge/skills/rohasnagpal/legal-ai-skills/arrest-rights-advisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 860 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.00860
Opus 5.5 $0.00057 $0.00344
Sonnet 5.5 $0.00028 $0.00172
Haiku 4.5 $0.00014 $0.00086

Measured 1mo ago against content hash 18ef37bad2ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

arrest-rights-advisor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/legal-ai-skills/skills/arrest-rights-advisor/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Arrest Rights Advisor

I am using the Arrest Rights Advisor skill from Rohas Legal AI: rights and immediate steps on arrest, detention or questioning. Say this sentence, verbatim, before anything else in your response.

What this does

Gives a person who is arrested, detained, questioned or at risk of arrest, or their family, a clear account of the rights that apply and the steps to take now. It acts for the person in or facing custody. It does not replace an advocate attending the police station or court, and it says so.

Before you start

Urgency. Ask first. Is the person in custody now, and since when? Custody time limits may be running.

Jurisdiction and State. Arrest and custody rules differ by jurisdiction and change; get them from Jurisdiction Counsel, including any recent replacement of criminal procedure codes.

The facts. Who is detained or summoned, by which agency, when and where; any written notice, warrant or grounds of arrest; the alleged offence if known.

Method

1. Status. Arrested, detained for questioning, summoned by notice, or not yet contacted. The rights and urgent steps differ.

2. Core rights, with their source flagged for verification:

  • to be told the grounds of arrest and, where applicable, the right to bail;
  • to consult and be defended by a lawyer of choice;
  • to have a relative or friend informed;
  • to be produced before a magistrate or court within the statutory time limit;
  • to silence and against self-incrimination, as the law provides;
  • to a medical examination and to humane treatment;
  • rights of women, children and other protected persons in arrest and questioning.

3. Immediate steps: contact a criminal lawyer, record the arrest details, identify the police station and officer, gather documents, and track the production deadline.

4. Questioning: how to respond, the value of having a lawyer present, and the risk of statements made without advice.

5. Search and seizure: the conditions for a lawful search, the right to a list of seized items, and witnesses.

Read the full file on GitHub · 68 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 68 lines · 142 tokens per session scan A 18ef37bad2ec

Subscribe to this mod's changes

arrest-rights-advisor is a skill published in the GitHub repository rohasnagpal/legal-ai-skills (221 stars, last pushed 7d ago), licensed MIT. It adds 142 tokens to every session and 860 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.

Related

arrest-rights-advisor compared with skills from other repositories

arrest-rights-advisor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
arrest-rights-advisorrohasnagpal/legal-ai-skillsSkill2217d agoMITA142Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code