Skip to content
Agentmart
Submit a tool

indian-constitution

Query Indian Constitution articles and BNS 2023 (Bharatiya Nyaya Sanhita) criminal law sections using RAG with semantic search.

Skill by buckbuckbot.zo.computer

IndexedMIT★ 66
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ankitjh4-indian-constitution

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Query Indian Constitution articles and BNS 2023 (Bharatiya Nyaya Sanhita) criminal law sections using RAG with semantic search. Look up fundamental rights, directive principles, emergency provisions, and BNS offences with cited article/section numbers. Use when the user asks about Indian law, constitutional articles, fundamental rights, BNS sections, IPC equivalents, or legal questions about India.

Use cases: ml, writing, legal

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/indian-constitution

What's inside

Skill name
indian-constitution
Description
Query Indian Constitution articles and BNS 2023 (Bharatiya Nyaya Sanhita) criminal law sections using RAG with semantic search. Look up fundamental rights, directive principles, emergency provisions, and BNS offences with cited article/section numbers. Use when the user asks about Indian law, constitutional articles, fundamental rights, BNS sections, IPC equivalents, or legal questions about India.
License
MIT
Compatibility
Created for Zo Computer
Metadata
tags: constitution, india, law, legal, bns, ipc, lawyer, rag · author: buckbuckbot.zo.computer · category: legal
Instructions
54 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (20)

  • README.md
  • SKILL.md
  • bns-2023.pdf · data/
  • bns-text.txt · data/
  • combined-legal-corpus.txt · data/
  • constitution-of-india.pdf · data/
  • constitution-text.txt · data/
  • chroma.sqlite3 · embeddings/chroma_db/
  • data_level0.bin · embeddings/chroma_db/fc50bd62-9da4-49a4-b8ff-c02d565119b8/
  • header.bin · embeddings/chroma_db/fc50bd62-9da4-49a4-b8ff-c02d565119b8/
  • index_metadata.pickle · embeddings/chroma_db/fc50bd62-9da4-49a4-b8ff-c02d565119b8/
  • length.bin · embeddings/chroma_db/fc50bd62-9da4-49a4-b8ff-c02d565119b8/
  • link_lists.bin · embeddings/chroma_db/fc50bd62-9da4-49a4-b8ff-c02d565119b8/
  • data_level0.bin · embeddings/combined_db/c4592833-7853-4a08-914d-55048b9562b6/
  • header.bin · embeddings/combined_db/c4592833-7853-4a08-914d-55048b9562b6/
  • index_metadata.pickle · embeddings/combined_db/c4592833-7853-4a08-914d-55048b9562b6/
  • length.bin · embeddings/combined_db/c4592833-7853-4a08-914d-55048b9562b6/
  • link_lists.bin · embeddings/combined_db/c4592833-7853-4a08-914d-55048b9562b6/
  • chroma.sqlite3 · embeddings/combined_db/
  • query.py · scripts/

SKILL.md (first lines)

# Indian Constitution + BNS Lawyer Skill

RAG-based legal assistant for Indian constitutional law and BNS 2023 criminal law.

## Quick Start

```bash
# Query Constitution
python3 scripts/query.py "What are fundamental rights?"

# Query BNS
python3 scripts/query.py "What is Section 103 BNS?"

# Get more results
python3 scripts/query.py "Emergency provisions" -k 10
```

## Workflow

1. **Query** — run `python3 scripts/query.py "<question>"` with a natural-language legal question
2. **Review citations** — responses include Article/Section numbers; verify against official sources
3. **Refine** — use `-k 10` (or higher) if the initial results miss the relevant provision
4. **Cross-reference** — query both Constitution and BNS terms when a question spans civil and criminal law

## What You Can Ask

### Constitutional Law
- "What are fundamental rights under Part III?"
- "How is the President elected?"
- "Emergency provisions in Constitution"
- "Article 370 and special status"

### BNS 2023 (Replaced IPC)
- "What is punishment for murder under Section 103 BNS?"
- "Hate speech laws in BNS"
- "Sedition under Section 150 BNS"
- "Domestic violence sections in BNS"

## Data Coverage

| Document | Details |
|----------|---------|
| **Constitution of India** | 402 pages, 395 Articles (as of July 2024, 106th Amendment) |
| **BNS 2023** | 102 pages, 358 Sections (effective July 1, 2024) |
| **Total Corpus** | 1.27M characters, 2,265 chunks |
| **Embedding** | all-MiniLM-L6-v2 (384 dim), ChromaDB, cosine similarity |

## Important Notes

1. **Not Legal Advice** — this skill provides legal information, not professional counsel.
2. **Citations** — all responses include relevant Article/Section numbers for verification.
3. **Source** — Constitution text from https://cdnbbsr.s3waas.gov.in/

From ankitjh4/indic-ai-skills, MIT.

More from ankitjh4/indic-ai-skills

Signals

Stars
66
Forks
10
Open issues
1
Last commit (this folder)
Mar 25, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from buckbuckbot.zo.computer

Cite this page

indian-constitution skill. Agent Mart. https://agentmart.dev/skills/ankitjh4-indian-constitution (last updated 2026-10-24)