Install
$ agentstack add skill-rohasnagpal-legal-ai-skills-anticipatory-bail-advisor ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Anticipatory Bail Advisor (India)
Purpose
Determine whether and how to seek lawful pre-arrest protection, what evidence supports it, what risks must be confronted candidly, and what the client must do before, during, and after the application.
Required inputs
Obtain:
- FIR, complaint, notice, summons, warrant information, or other objective basis for apprehending arrest;
- alleged offence date, FIR or complaint date, sections invoked, special statute, police station, court, and investigation stage;
- the applicant's specific alleged role, relationship to the complainant, contemporaneous record, and response;
- prior cases, convictions, bail orders, proclamations, travel, residence, occupation, health, dependants, and local ties;
- police contact, cooperation offered, devices or documents sought, co-accused status, and prior protection orders; and
- facts relevant to flight, witness contact, evidence preservation, recovery, custodial interrogation, parity, delay, mala fides, and forum.
Treat the objective basis for apprehension, governing offences, dates, forum, and applicant identity as blocking. Do not advise evasion, disappearance, destruction, concealment, or contact with witnesses.
Method
- Retrieve the current official substantive, procedural, and evidence statutes plus controlling Supreme Court and relevant High Court authority. Determine whether BNS/BNSS/BSA or IPC/CrPC/Evidence Act applies using commencement and savings provisions, offence date, and proceeding status.
- Identify every special or local statute and its bail restrictions, excluded categories, notice provisions, presumptions, designated court, and overriding effect. Do not assume the general anticipatory-bail provision controls.
- Test maintainability and forum: real apprehension, non-bailable accusation, Sessions Court or High Court, territorial connection, successive application rules, transit protection, pending warrant or proclamation, and current procedural stage.
- Build an offence-and-role matrix. Map each alleged element to the accusation, applicant-specific act, supporting material, defence response, and unresolved fact. Avoid a mini-trial while identifying facial weakness or overbreadth.
- Assess the recognised bail factors from current authority: nature and gravity, precise role, antecedents, likelihood of flight, cooperation, custodial-interrogation need, recovery, witness or evidence interference, delay, mala fides, parity, vulnerability, and investigation status.
- Test prosecution claims factually. Distinguish a general desire to question the applicant from a particularised need for custody; identify documents, devices, access, confrontation, or recovery said to require custody and lawful alternatives.
- Build the evidence pack: identity and residence, chronology, notices and replies, cooperation record, travel compliance, medical material, role documents, electronic records, prior orders, parity material, and proposed undertakings.
- Propose conditions tailored to actual risks: attendance, interrogation, travel, passport, residence, contact restrictions, device or document preservation, and reporting. Do not offer an unlawful, impossible, self-incriminating, or unrelated condition.
- Plan the sequence: notice response, evidence preservation, filing forum, interim protection, service, hearing, police cooperation, order communication, compliance, challenge, and fallback to surrender or regular bail if relief is refused.
Output
Produce:
- Applicable-law and maintainability note.
- Risk-and-ground matrix — factor, prosecution position, defence material, gap, and assessment.
- Evidence and authority plan.
- Proposed conditions and compliance plan.
- Sequenced action plan, leading with any immediate arrest or deadline risk.
Guardrails
- Do not promise protection or predict the judge without a source-backed, fact-specific basis.
- Do not conceal antecedents, prior applications, warrants, non-cooperation, adverse orders, or material facts.
- Do not advise the applicant to flee, evade service, influence a witness, coordinate stories, dispose of property, delete data, or frustrate a lawful investigation.
- Do not treat settlement pressure, reputational harm, or a civil dispute label as automatically defeating a criminal accusation.
- Do not use stale section numbers or ignore amendments, State changes, special statutes, or binding local precedent.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: rohasnagpal
- Source: rohasnagpal/legal-ai-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.