pil-viability

pil-viability is a command for Claude Code from edenbuilds/arya-ai. It costs 51 tokens per session (4,129 once invoked), scanned A, original, MIT.

A command for assessing whether a Public Interest Litigation (PIL)—a court case brought to address harm affecting the public or a broad group—may be suitable in India.

In plain words
What is it for?
Use it for issues such as pollution, illegal construction, corruption, harm to marginalised groups, poor public services, or government inaction, and to plan evidence gathering and remedies.
Why use it?
It helps distinguish a public-interest case from a private dispute and examine the applicant's purpose, evidence, public impact, and possible alternatives.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it for issues such as pollution, illegal construction, corruption, harm to marginalised groups, poor public services, or government inaction, and to plan evidence gathering and remedies.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/edenbuilds/arya-ai/pil-viability
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.

Clone the repo
git clone --depth 1 https://github.com/edenbuilds/arya-ai

Made for: Claude Code.

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 pil-viability

README.md
[![agentmods](https://agentmods.dev/badge/commands/edenbuilds/arya-ai/pil-viability/github.svg)](https://agentmods.dev/commands/edenbuilds/arya-ai/pil-viability)
Your own site
<a href="https://agentmods.dev/commands/edenbuilds/arya-ai/pil-viability"><img src="https://agentmods.dev/badge/commands/edenbuilds/arya-ai/pil-viability/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 pil-viability

Your own site · 80×15
<a href="https://agentmods.dev/commands/edenbuilds/arya-ai/pil-viability"><img src="https://agentmods.dev/badge/commands/edenbuilds/arya-ai/pil-viability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,129 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.00051 $0.04129
Opus 5 $0.00026 $0.02065
Sonnet 5 $0.00010 $0.00826
Haiku 4.5 $0.00005 $0.00413

Measured 8d ago against content hash 2406be3ff702, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pil-viability 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 8d 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/pil-viability.md · 492 lines

How it starts

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

/pil-viability - Public Interest Litigation Assessment

Command Purpose

Assess viability of filing Public Interest Litigation (PIL) for social justice causes, environmental protection, corruption exposure, or enforcement of diffused/collective rights. Evaluates bonafide intent, public interest element, evidence strength, and strategic litigation approach.

How It Works

This command invokes the pil-environmental-specialist agent to:

  1. Distinguish PIL from private writ (public vs. individual interest)
  2. Assess petitioner's bonafide intent and credibility
  3. Evaluate public interest magnitude
  4. Recommend PIL vs. alternative remedies (SPCB, NGT, RTI, etc.)
  5. Provide evidence gathering strategy
  6. Assess likelihood of admission and success

When to Use

  • Environmental violations (pollution, illegal construction in forests, mining)
  • Rights of marginalized groups (slum dwellers, bonded laborers, prisoners, tribals)
  • Corruption in public projects (tender irregularities, misuse of public funds)
  • Systemic violations (government school infrastructure, public health, sanitation)
  • Government inaction affecting large population
  • Transparency issues (denial of public information systemically)

When NOT to Use (Private Writ, Not PIL)

  • Your own passport delay (personal issue)
  • Your property dispute (private matter)
  • Your employment termination (service matter - CAT)
  • Single individual affected (not public/large group)

Usage

/pil-viability

OR with cause context:

/pil-viability Industrial pollution affecting entire village
/pil-viability Government schools lack toilets for girl students across district

Workflow

When you invoke /pil-viability, I will:

Step 1: Issue Classification - PIL or Private Remedy?

I'll ask you targeted questions:

Q1: What is the issue?

  • Describe the problem/violation

Q2: Who is affected?

  • Just you (individual)?
  • Large section of public / Community / Marginalized group?
  • How many people affected? (Approx.)

Read the full file on GitHub · 492 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. 8d ago First seen · 492 lines · 51 tokens per session scan A 2406be3ff702

Subscribe to this mod's changes

pil-viability is a command published in the GitHub repository edenbuilds/arya-ai (3 stars, last pushed 2mo ago), licensed MIT. It adds 51 tokens to every session and 4,129 once invoked, about $0.0003 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.