privacy-publish

privacy-publish is a skill for Claude Code from rshankras/claude-code-apple-skills. It costs 73 tokens per session (1,012 once invoked), scanned A, original, MIT.

A tool for turning privacy policies, terms of service, and other legal drafts into hosted web pages and linking them to an app's App Store listing.

In plain words
What is it for?
Use it when preparing an Apple app for submission and you need hosted Privacy Policy, Support, or Marketing URLs.
Why use it?
It closes the gap between writing required legal documents and making them available where Apple requires them. It also explains which privacy information still needs to be entered manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Part of the apple-skills plugin — 182 skills shipped together , and of apple-skills

Good fit Use it when preparing an Apple app for submission and you need hosted Privacy Policy, Support, or Marketing URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rshankras/claude-code-apple-skills/privacy-publish
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.

Any agent
npx skills add rshankras/claude-code-apple-skills --skill privacy-publish
Clone the repo
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills

Made for: Claude Code.

Or install apple-skills, the plugin that ships this one along with the rest of its 182 skills.

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 privacy-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/privacy-publish/github.svg)](https://agentmods.dev/skills/rshankras/claude-code-apple-skills/privacy-publish)
Your own site
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/privacy-publish"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/privacy-publish/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 privacy-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/rshankras/claude-code-apple-skills/privacy-publish"><img src="https://agentmods.dev/badge/skills/rshankras/claude-code-apple-skills/privacy-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00073 $0.01012
Opus 5.5 $0.00029 $0.00405
Sonnet 5.5 $0.00015 $0.00202
Haiku 4.5 $0.00007 $0.00101

Measured 25d ago against content hash 7eb344cf323f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

privacy-publish 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 25d 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.

skills/legal/privacy-publish/SKILL.md · 52 lines

How it starts

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

Privacy Publish

Close the "hosted legal pages + ASC URLs" gap: render .planning/legal/{privacy,terms}.md → host them → PATCH the Privacy/Support URLs onto the App Store version. The one thing with no API — the App Privacy nutrition label — is handed off as a precise checklist.

Depends on the user's web infra, so ask once, remember. Hosting choice is theirs; the ASC URL-setting is the automatable part.

Prerequisites

  • Legal drafts exist: .planning/legal/privacy.md, .planning/legal/terms.md (from legal/privacy-policy).
  • _shared/asc-api/ set up (README).
  • Set ASC="python3 <path to asc.py>" — resolve asc.py relative to this SKILL.md file's location (../../_shared/asc-api/asc.py), never the project cwd. Known install locations:
    • SwiftShip symlink install: ~/.claude/swiftship-skills/_shared/asc-api/asc.py
    • Copied install: .claude/skills/_shared/asc-api/asc.py (project) or ~/.claude/skills/_shared/asc-api/asc.py (global)
    • Plugin install: resolve from this file's location — the _shared/ tree ships with the plugin.
    • npx skills install: the installer copies only this skill's folder, so _shared/ is missing. Clone https://github.com/rshankras/claude-code-apple-skills and use <clone>/skills/_shared/asc-api/asc.py.
  • The app has a current editable App Store version + an en-US appInfoLocalization and appStoreVersionLocalization (get their ids first).

Flow — dry-run → confirm → apply

  1. Render. Markdown → minimal self-contained HTML (or keep .md if the host renders it).
  2. Publish (pick per the user's infra — AskUserQuestion once, then remember in .planning/):
    • git static site — commit + push to the pages repo/branch.
    • WordPress — POST /wp-json/wp/v2/pages with an application password.
    • Netlify / S3 / other — the host's CLI.
    • Browser fallback — drive the CMS with claude-in-chrome (detect → preview → confirm → act → fall back, per TOOL-HANDOFF.md).
    • Confirm both URLs resolve (HTTP 200) before touching ASC.
  3. Set the ASC URLs (REST — dry-run, confirm, then --apply):
    • Privacy Policy URL → appInfoLocalizations (privacyPolicyUrl):
      $ASC PATCH /v1/appInfoLocalizations/<id> '{"data":{"type":"appInfoLocalizations","id":"<id>","attributes":{"privacyPolicyUrl":"https://…/privacy"}}}' --apply
      
    • Support / Marketing URL → appStoreVersionLocalizations (supportUrl, marketingUrl) — PATCH the current version's en-US localization id.
  4. Nutrition label (manual — no API). Emit a checklist matching Sources/PrivacyInfo.xcprivacy (e.g. Data Not Collected, no tracking) for the user to click in ASC ▸ App Privacy. Do not claim this step is automated.

Read the full file on GitHub · 52 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. 25d ago Changed · +1 lines 7eb344cf323f
  2. 3mo ago First seen · 51 lines · 73 tokens per session scan A 8ae99ef192fa

Subscribe to this mod's changes

privacy-publish is a skill published in the GitHub repository rshankras/claude-code-apple-skills (927 stars, last pushed 26d ago), licensed MIT. It adds 73 tokens to every session and 1,012 once invoked, about $0.0003 per session on Opus 5.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-09-03.

Related

privacy-publish compared with skills from other repositories

privacy-publish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
privacy-publishrshankras/claude-code-apple-skillsSkill92726d agoMITA73Claude Code
ipaship-auditatharvnaik1/ipaship-auditSkill716mo agoMITA57Claude Code, Codex
app-review-maxDev869/swift-tothemaxSkill75mo agoMITA218Claude Code
apple-legal-maxDev869/swift-tothemaxSkill75mo agoMITA235Claude Code
playbook-social-engineerings0ld13rr/pentestcodeSkill1.3k4d agoMITA37Claude Code, Codex
bauangebot-steuernKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A66Claude Code
bautraegerpruefung-steuernKlotzkette/claude-fuer-deutsches-rechtSkill2.0ktodayApache-2.0A75Claude Code