indian-constitution
Skill65 starsChanged 7 months agoMITView on GitHub
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.
In this repository22 other files it gives its agents.
- bhagavad-gitaSkill
- cashfreeSkill
- covid-indiaSkill
- gurbaniSkill
- ifsc-apiSkill
- indian-newsSkill
- railradarSkill
- mutual-fundSkill
- namma-yatriSkill
- ondc-buyerSkill
- ondc-sellerSkill
- phonepeSkill
- pincodeSkill
- rapidoSkill
- razorpaySkill
- sarvam-aiSkill
- shiprocketSkill
- thirukkuralSkill
- uber-indiaSkill
- vedic-astrologySkill
- vedic-textsSkill
- zohoSkill
The file
Files
Indian Constitution + BNS Lawyer Skill
RAG-based legal assistant for Indian constitutional law and BNS 2023 criminal law.
Quick Start
# 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 10Workflow
- Query — run
python3 scripts/query.py "<question>"with a natural-language legal question - Review citations — responses include Article/Section numbers; verify against official sources
- Refine — use
-k 10(or higher) if the initial results miss the relevant provision - 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
- Not Legal Advice — this skill provides legal information, not professional counsel.
- Citations — all responses include relevant Article/Section numbers for verification.
- Source — Constitution text from https://cdnbbsr.s3waas.gov.in/
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

