GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shwetankg07/legal-radar: A Claude Code skill that keeps products built for Indian users out of legal trouble: DPDP, CERT-In, the 2026 AI-labelling rules, CCPA dark patterns, e-commerce, RBI payments, TRAI DLT and the online gaming ban. Writes the compliant version while you build, or audits a repo. Not legal advice.

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude-plugin
.claude-plugin
 
 
docs
docs
 
 
research
research
 
 
skills/legal-radar
skills/legal-radar
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
check.py
check.py
 
 

Repository files navigation

legal-radar

An agent skill that keeps products built for Indian users out of legal trouble. It catches the laws that ordinary code trips: a pre-ticked donation box, an OTP template, a seven-day log retention setting, a ₹49 quiz with cash prizes.

When Claude Code writes a checkout, a signup, an SMS flow or an AI image feature, the skill makes it write the compliant version and tell you why in three lines, with the real fine someone paid. Ask it to audit a repo and you get a ranked table of problems, each with the file, the law, the provision and the fix.

It covers India only, and only the parts that turn into code. The law files live in skills/legal-radar/laws/:

File Law
laws/dpdp.md Digital Personal Data Protection Act 2023 and Rules 2025
laws/cert-in.md CERT-In Directions 2022 (6-hour reporting, 180-day logs)
laws/it-rules.md IT Intermediary Rules 2021, including the Feb 2026 AI-content labelling rules
laws/dark-patterns.md CCPA Dark Patterns Guidelines 2023 and the fines so far
laws/ecommerce.md Consumer Protection (E-Commerce) Rules 2020
laws/payments.md RBI rules on card storage, payment aggregators, e-mandates, wallets
laws/sms-dlt.md TRAI DLT rules for SMS and OTP
laws/gaming.md Online Gaming Act 2025 and Rules 2026
laws/get-a-lawyer.md SEBI, crypto, lending, health and insurance: where a checklist isn't enough

Every claim links to its source, primary sources first. Every file has a last_verified date, and the checker fails once a file goes six months without a re-check.

This is not legal advice. It tells you where to look and what usually goes wrong. Check the linked sources or a lawyer before you rely on it.

Install

Claude Code, as a plugin:

/plugin marketplace add shwetankg07/legal-radar
/plugin install legal-radar@legal-radar

On Claude Code 2.1.275 or later this works in one step: /plugin install legal-radar --marketplace shwetankg07/legal-radar

Claude Code, Cursor, Codex and other agents, with the skills CLI:

npx skills add shwetankg07/legal-radar        # this project
npx skills add shwetankg07/legal-radar -g     # all projects

By hand:

git clone https://github.com/shwetankg07/legal-radar ~/Work/legal-radar
ln -s ~/Work/legal-radar/skills/legal-radar ~/.claude/skills/legal-radar

Then build something for Indian users, or ask "is this repo safe to launch in India?". The skill loads on its own.

The first time it reads a law file, Claude Code may ask for permission to read the skill's folder, because the folder sits outside your project. Allow it. If you don't, the skill still flags problems but can't cite the provisions or real cases, and it will tell you so.

Files

  • skills/legal-radar/SKILL.md: the rules, the table that maps code to laws, and audit mode
  • skills/legal-radar/laws/: one file per law
  • check.py: lints the law files, standard library only. Run python3 check.py, or --selftest.
  • tests/: the scenarios used to test the skill, with and without it
  • docs/BUILD-LOG.md: how it was built, what was verified, and every test result
  • research/: the raw research behind the law files, unedited
  • .claude-plugin/: the Claude Code plugin and marketplace manifests

License

MIT

About

A Claude Code skill that keeps products built for Indian users out of legal trouble: DPDP, CERT-In, the 2026 AI-labelling rules, CCPA dark patterns, e-commerce, RBI payments, TRAI DLT and the online gaming ban. Writes the compliant version while you build, or audits a repo. Not legal advice.

Topics

agent-skillsai-labellingcert-inclaude-codeclaude-skillscomplianceconsumer-protectiondark-patternsdpdpindialegal-techprivacyrbitraivibe-coding

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.