{
  "markdown": "# PrivacyPilot — Claude Code Plugin\n\n> Scan your `AndroidManifest.xml` and Gradle files, generate a Play Store-compliant privacy policy, and deploy it to GitHub Pages — all from Claude Code.\n\n![Version](https://img.shields.io/badge/version-1.0.0-blue)\n![License](https://img.shields.io/badge/license-MIT-green)\n![Platform](https://img.shields.io/badge/platform-Claude%20Code-blueviolet)\n![Target](https://img.shields.io/badge/target-Android%20%2F%20Google%20Play-brightgreen)\n\n---\n\n## What It Does\n\n1. Reads `AndroidManifest.xml` — detects every permission\n2. Reads `build.gradle` / `libs.versions.toml` — detects every third-party SDK\n3. Maps permissions and SDKs to the exact data they collect\n4. Generates a complete, mobile-friendly HTML privacy policy\n5. Deploys it to GitHub Pages and gives you the URL for Play Console\n\n## Why This Exists\n\nManually maintaining privacy policies across 22+ apps was producing drift. Policies went out of sync when new permissions were added. URLs were sometimes missing from Play Console submissions. Each new app required remembering to create a policy, host it, and submit the URL.\n\nPrivacyPilot automates the entire policy lifecycle: it reads what your app actually collects (from the manifest and Gradle files), generates a compliant HTML policy, and deploys it to a predictable GitHub Pages URL. Every app gets a policy URL on first release. Policy updates are one command when permissions change.\n\n\n---\n\n## Install\n\n**Step 1 — Add the marketplace**\n```bash\n/plugin marketplace add SUDARSHANCHAUDHARI/PrivacyPilot\n```\n\n**Step 2 — Install the plugin**\n```bash\n/plugin install privacypilot\n```\n\nWhen you enable the plugin, Claude Code prompts you for your developer details once (name, company, email, GitHub username, country). These are stored globally and used automatically in every project.\n\n---\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `/privacypilot:generate` | Scan manifest + Gradle, generate complete privacy policy HTML |\n| `/privacypilot:audit` | Audit an existing policy for compliance gaps |\n| `/privacypilot:github-page` | Deploy the generated policy to GitHub Pages |\n| `/privacypilot:update` | Update an existing policy when permissions or SDKs change |\n\n---\n\n## Quick Start\n\n**1. Generate your policy**\n```\n/privacypilot:generate\n```\nProvide your `AndroidManifest.xml` path, `build.gradle` path, app name, and package name. Output is saved to `privacy-policy/index.html`.\n\n**2. Deploy to GitHub Pages**\n```\n/privacypilot:github-page\n```\nReviews the deployment plan, asks for confirmation, then pushes to GitHub Pages.\n\n**3. Add the URL to Play Console**\n\n`Store Presence → Store Settings → Privacy policy URL`\n\n---\n\n## How It Works\n\n```\nAndroidManifest.xml ──► manifest-reader ──┐\n                                           ├──► policy-writer ──► privacy-policy/index.html\nbuild.gradle ────────► sdk-detector ───────┘\n```\n\n- **manifest-reader** — extracts and categorizes all permissions\n- **sdk-detector** — identifies third-party SDKs and their data collection practices\n- **policy-writer** — generates a complete, Play Store-compliant HTML privacy policy\n\n---\n\n## GitHub Pages URL Convention\n\n```\nhttps://[github-username].github.io/[appname-lowercase]-privacy-policy/\n```\n\nThis URL goes directly into Play Console → Store Settings → Privacy Policy.\n\n---\n\n## Compliance Coverage\n\n- Google Play Data Safety form\n- GDPR (EU users)\n- CCPA (California users)\n- COPPA (children's privacy statement)\n\n---\n\n## Requirements\n\n- [Claude Code](https://claude.ai/code) installed and authenticated\n- Git installed and configured\n- GitHub account\n- Android project with `AndroidManifest.xml` and `build.gradle`\n\n---\n\n## Plugin Structure\n\n```\nPrivacyPilot/\n├── .claude-plugin/\n│   ├── plugin.json              # Plugin manifest + userConfig\n│   └── marketplace.json         # Marketplace manifest\n├── commands/                    # /privacypilot:generate|audit|github-page|update\n├── agents/                      # manifest-reader, sdk-detector, policy-writer\n├── skills/                      # permission-data-map, sdk-disclosure-rules,\n│                                #   gdpr-compliance, play-data-safety, github-pages-deploy\n├── templates/\n│   └── privacy-policy-template.html\n├── README.md\n├── CHANGELOG.md\n└── LICENSE\n```\n\n---\n\n## Troubleshooting\n\n**SDK not detected** — If using a version catalog, provide the `libs.versions.toml` path alongside `build.gradle.kts`.\n\n**GitHub Pages 404** — Go to repo Settings → Pages → Source: main / root → Save. Takes 1–2 minutes.\n\n**Policy URL rejected by Play Console** — Verify the URL returns HTTP 200 before submitting.\n\n---\n\n## Author\n\n**SUDARSHANCHAUDHARI** — [github.com/SUDARSHANCHAUDHARI](https://github.com/SUDARSHANCHAUDHARI)\nSudarshanTechLabs\n\n---\n\n## Documentation\n\nFor full details — all detected permissions, all SDKs, compliance coverage, GitHub Pages setup guide, and plugin architecture — see [DOCUMENTATION.md](DOCUMENTATION.md).\n\n---\n\n## License\n\nMIT — see [LICENSE](LICENSE)\n",
  "bytes": 5000,
  "sha": "c99d2145f2df642291156ebd7ec9e2a7de49c0d8437075420a92a4c281ea3c7c",
  "repo_slug": "sudarshanchaudhari/privacypilot",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_sudarshanchaudhari_privacypilot_privacyp_a35c68a2/readme"
}