bail-application

bail-application is a command for coding agents from edenbuilds/arya-ai. It costs 4 tokens per session (3,363 once invoked), scanned A, original, MIT.

A guided tool for preparing a bail application in India, which asks for facts about the accused, alleged offence, arrest, custody, and case history. Bail is a request for release while a criminal case continues.

In plain words
What is it for?
Use it to work through anticipatory bail, which is sought before arrest, or other bail-preparation details based on the case stage.
Why use it?
It organizes the information needed to decide what kind of bail may be relevant and to prepare an application.

Command

Part of the arya-ai plugin — 28 skills, 32 commands, 35 agents, 1 MCP server shipped together

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.

agentmods
npx agentmods add commands/edenbuilds/arya-ai/bail-application
Clone the repo
git clone --depth 1 https://github.com/edenbuilds/arya-ai

Or install arya-ai, the plugin that ships this one along with the rest of its 28 skills, 32 commands, 35 agents, 1 MCP server.

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 bail-application

README.md
[![agentmods](https://agentmods.dev/badge/commands/edenbuilds/arya-ai/bail-application.svg)](https://agentmods.dev/commands/edenbuilds/arya-ai/bail-application)
Your own site
<a href="https://agentmods.dev/commands/edenbuilds/arya-ai/bail-application"><img src="https://agentmods.dev/badge/commands/edenbuilds/arya-ai/bail-application.svg" alt="Measured on agentmods" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00004 $0.03363
Opus 5 $0.00002 $0.01682
Sonnet 5 $0.00001 $0.00673
Haiku 4.5 $0.00000 $0.00336

Measured 5d ago against content hash ce42d32054db, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bail-application 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/bail-application.md · 386 lines

How it starts

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

You are assisting with preparing a bail application in India.

Task: Guide user through bail application preparation and draft bail application.

Workflow:

  1. Read Protocol:

    • Read /Users/swarochishchekuri/Downloads/ClaudeBrain_test/Protocols/criminal_law/IL-CRIM-BAIL.md for comprehensive bail law guidance
  2. Gather Information: Ask user (if not provided):

    • Accused details: Name, age, address, occupation
    • Offence: What is the accused charged with? (IPC/BNS sections)
    • Date of arrest: When was accused arrested?
    • Current status: Is accused in custody or anticipating arrest?
    • Charge sheet filed: Yes/No? If yes, when?
    • Previous bail applications: Any earlier bail applications filed and rejected?
    • Accused's background: Previous convictions? Employment? Family? Roots in community?
    • Case strength: How strong is prosecution's case? Any weaknesses?
  3. Determine Bail Type:

    Three Types of Bail:

    A. Anticipatory Bail (Section 438 CrPC / 482 BNSS):

    • When: BEFORE arrest, when person has reason to believe they may be arrested
    • Who can grant: Sessions Court or High Court (NOT Magistrate)
    • Factors: Nature of accusation, antecedents, likelihood of fleeing
    • Continues: Till trial conclusion (Sushila Aggarwal case, 2020)

    B. Regular Bail (Section 437 CrPC / 483 BNSS):

    • When: AFTER arrest
    • For: Non-bailable offences
    • Who can grant: Magistrate, Sessions Judge, High Court
    • Restrictions: Section 437(1) - cannot grant if offence punishable with death/life UNLESS accused is woman, child, or sick

    C. Default Bail (Section 167(2) CrPC / 187(2) BNSS):

    • When: Charge sheet not filed within 60/90 days of arrest
    • Nature: INDEFEASIBLE STATUTORY RIGHT (must be granted)
    • Timeline: 60 days (offences <10 years); 90 days (death, life, ≥10 years)
  4. Assess Bail Eligibility:

    Based on offence, determine:

    Bailable Offence:

    • Right to bail (Section 436 CrPC / 482 BNSS)
    • Court must grant
    • Only surety/bond amount to decide

    Non-Bailable Offence:

    • Discretionary (Section 437)
    • Court considers: nature of offence, strength of case, antecedents, flight risk
    • Difficult if: Murder, rape, terrorism, drugs (NDPS), money laundering (PMLA)
    • Special restrictions: NDPS Section 37, PMLA Section 45 (twin conditions - very strict)
  5. Draft Bail Application:

Based on bail type, provide format:


FORMAT 1: ANTICIPATORY BAIL APPLICATION (Section 438 CrPC / 482 BNSS)

IN THE COURT OF SESSIONS JUDGE / HIGH COURT OF [STATE]
[District]

Criminal Miscellaneous Application No. ____ of 20___

In the matter of:

[Applicant Name]
S/o [Father's Name]
Aged [Age] years
Residing at [Address]
... Applicant / Petitioner

VERSUS

State represented by [Police Station]
... Respondent

APPLICATION UNDER SECTION 438 CrPC / 482 BNSS
(Anticipatory Bail)

MOST RESPECTFULLY SHOWETH:

1. That the applicant is a law-abiding citizen aged [age] years, residing at [address] and engaged in [occupation].

2. That the applicant has reason to believe that he/she may be arrested in connection with [FIR No. ___ dated ___ registered at Police Station ___ for offence punishable under Section(s) ___ IPC / ___ BNS].

[OR: "That complainant [name] has made false allegations against applicant and there is apprehension that police may arrest applicant."]

3. BRIEF FACTS:
[Narrate facts showing:]
- What is the accusation
- Why accusation is false / weak
- Why applicant apprehends arrest

4. GROUNDS FOR ANTICIPATORY BAIL:

a) **Nature of Accusation**: The accusations are [false/exaggerated/based on misunderstanding]. [Explain why case is weak]

b) **Antecedents of Applicant**: 
   - Applicant has clean record with no previous criminal cases
   - Applicant is [respectful occupation/position]
   - Applicant is permanent resident with deep roots in community
   - [Evidence: Employment letter, property documents, character certificates]

c) **No Flight Risk**:
   - Applicant has family residing at [address] 
   - Applicant has immovable property at [address]
   - Applicant has established business/employment
   - Passport details: [number] - willing to surrender

d) **Cooperation**:
   - Applicant undertakes to cooperate with investigation
   - Applicant will appear as and when required
   - Applicant will not tamper with evidence or influence witnesses

e) **Liberty is Sacrosanct** (Arnab Goswami v. State of Maharashtra, 2020):
   - Liberty is fundamental right under Article 21
   - Bail is rule, jail is exception
   - Anticipatory bail should not be denied mechanically

5. That applicant has not filed any earlier application for anticipatory bail in this matter.

6. That applicant is ready to abide by any conditions this Hon'ble Court may deem fit to impose.

PRAYER:

In the circumstances, it is most respectfully prayed that this Hon'ble Court may be pleased to:

a) Grant anticipatory bail to the applicant in the above-mentioned case
b) Direct that in event of arrest, applicant be released on bail on executing personal bond of Rs. [amount] with [number] surety/sureties for like amount to the satisfaction of arresting officer
c) Impose such conditions as this Hon'ble Court deems fit
d) Pass any other order as deemed fit in the interest of justice

AND FOR THIS ACT OF KINDNESS, THE APPLICANT SHALL DUTY BOUND FOREVER PRAY.

Date: [Date]
Place: [Place]

[Signature]
[Name of Applicant / Advocate]

ANNEXURES:
1. Copy of FIR (if available)
2. Employment proof / Business registration
3. Property documents
4. Character certificates
5. [Any other supporting documents]

Read the full file on GitHub · 386 lines

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. 5d ago First seen · 386 lines · 4 tokens per session scan A ce42d32054db

Subscribe to this mod's changes

bail-application is a command published in the GitHub repository edenbuilds/arya-ai (3 stars, last pushed 2mo ago), licensed MIT. It adds 4 tokens to every session and 3,363 once invoked, about $0.0000 per session on Opus 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-08-31.