Blitz is a native macOS application that connects AI agents to App Store Connect for managing and submitting iOS apps. Developers use it to control parts of the iOS release process, including simulator runs, in-app purchases, screenshots, TestFlight testers, and review submissions. The catalogue includes skills, an instruction, and an MCP connection for operating Blitz.
Borrowing it
Nothing to install: this file belongs to blitzdotdev/blitz-mac. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/blitzdotdev/blitz-mac/master/.claude/skills/asc-team-key-create/SKILL.mdgit clone --depth 1 https://github.com/blitzdotdev/blitz-macWrote 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.
[](https://agentmods.dev/skills/blitzdotdev/blitz-mac/asc-team-key-create)<a href="https://agentmods.dev/skills/blitzdotdev/blitz-mac/asc-team-key-create"><img src="https://agentmods.dev/badge/skills/blitzdotdev/blitz-mac/asc-team-key-create/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.
<a href="https://agentmods.dev/skills/blitzdotdev/blitz-mac/asc-team-key-create"><img src="https://agentmods.dev/badge/skills/blitzdotdev/blitz-mac/asc-team-key-create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 2 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Rogue Agent · line 38 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00057 | $0.02112 |
| Opus 5.5 | $0.00023 | $0.00845 |
| Sonnet 5.5 | $0.00011 | $0.00422 |
| Haiku 4.5 | $0.00006 | $0.00211 |
Grade A, and why
asc-team-key-create scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import json, urllib.request, base64, os, sys, time How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
asc team key create
Use this skill to create a new App Store Connect API Key with Admin permissions via Apple's iris API, download the one-time .p8 private key, and save it to ~/.blitz.
When to use
- User asks to "create an API key", "generate a team key", "new ASC key"
- User needs a fresh key for
asc auth login, CI/CD pipelines, or external tooling - User wants to rotate or replace an existing API key
Preconditions
- Web session file available at
~/.blitz/asc-agent/web-session.json. If no session exists or it has expired (401), call theasc_web_authMCP tool first — this opens the Apple ID login window in Blitz and captures the session automatically. - The authenticated Apple ID must have Account Holder or Admin role.
Workflow
1. Check for an existing web session
Before anything else, check if a web session file already exists:
test -f ~/.blitz/asc-agent/web-session.json && echo "SESSION_EXISTS" || echo "NO_SESSION"
- If
NO_SESSION: call theasc_web_authMCP tool first to open the Apple ID login window in Blitz. Wait for it to complete before proceeding. - If
SESSION_EXISTS: proceed to the next step.
2. Ask the user for a key name
Ask the user what they want to name the key (the nickname field in ASC). This is a required input — do not guess or use a default.
3. Create the key, download the .p8, and save it
Use the following self-contained script. Replace KEY_NAME with the user's chosen name. Do not print or log cookies — they contain sensitive session tokens.
python3 -c "
import json, urllib.request, base64, os, sys, time
KEY_NAME = 'KEY_NAME_HERE'
# Read web session file (silent — never print these)
session_path = os.path.expanduser('~/.blitz/asc-agent/web-session.json')
if not os.path.isfile(session_path):
print('ERROR: No web session found. Call asc_web_auth MCP tool first.')
sys.exit(1)
with open(session_path) as f:
raw = f.read()
store = json.loads(raw)
session = store['sessions'][store['last_key']]
cookie_str = '; '.join(
f'{c[\"name\"]}={c[\"value\"]}'
for cl in session['cookies'].values() for c in cl
if c.get('name') and c.get('value')
)
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json',
'X-Requested-With': 'XMLHttpRequest',
'Origin': 'https://appstoreconnect.apple.com',
'Referer': 'https://appstoreconnect.apple.com/',
'Cookie': cookie_str
}
# Step 1: Create the API key
create_body = json.dumps({
'data': {
'type': 'apiKeys',
'attributes': {
'nickname': KEY_NAME,
'roles': ['ADMIN'],
'allAppsVisible': True,
'keyType': 'PUBLIC_API'
}
}
}).encode()
req = urllib.request.Request(
'https://appstoreconnect.apple.com/iris/v1/apiKeys',
data=create_body, method='POST', headers=headers)
try:
resp = urllib.request.urlopen(req)
create_data = json.loads(resp.read().decode())
except urllib.error.HTTPError as e:
body = e.read().decode()
if e.code == 401:
print('ERROR: Session expired. Call asc_web_auth MCP tool to re-authenticate.')
elif e.code == 409:
print(f'ERROR: A key with this name may already exist. Details: {body[:300]}')
else:
print(f'ERROR creating key: HTTP {e.code} — {body[:300]}')
sys.exit(1)
key_id = create_data['data']['id']
can_download = create_data['data']['attributes'].get('canDownload', False)
print(f'Created API key \"{KEY_NAME}\" — Key ID: {key_id}')
if not can_download:
print('ERROR: Key created but canDownload is false. Cannot retrieve private key.')
sys.exit(1)
# Step 2: Download the one-time private key
time.sleep(0.5)
dl_headers = dict(headers)
dl_headers.pop('Content-Type', None)
req = urllib.request.Request(
f'https://appstoreconnect.apple.com/iris/v1/apiKeys/{key_id}?fields%5BapiKeys%5D=privateKey',
method='GET', headers=dl_headers)
try:
resp = urllib.request.urlopen(req)
dl_data = json.loads(resp.read().decode())
except urllib.error.HTTPError as e:
print(f'ERROR downloading key: HTTP {e.code} — {e.read().decode()[:300]}')
sys.exit(1)
pk_b64 = dl_data['data']['attributes'].get('privateKey')
if not pk_b64:
print('ERROR: No privateKey in response. The key may have already been downloaded.')
sys.exit(1)
private_key_pem = base64.b64decode(pk_b64).decode()
# Step 3: Get the issuer ID from the provider relationship
time.sleep(0.35)
req = urllib.request.Request(
f'https://appstoreconnect.apple.com/iris/v1/apiKeys/{key_id}?include=provider',
method='GET', headers=dl_headers)
try:
resp = urllib.request.urlopen(req)
provider_data = json.loads(resp.read().decode())
issuer_id = None
for inc in provider_data.get('included', []):
if inc['type'] == 'contentProviders':
issuer_id = inc['id']
break
if not issuer_id:
issuer_id = provider_data['data']['relationships']['provider']['data']['id']
except Exception:
issuer_id = 'UNKNOWN'
# Step 4: Save .p8 file to ~/.blitz
blitz_dir = os.path.expanduser('~/.blitz')
os.makedirs(blitz_dir, exist_ok=True)
p8_path = os.path.join(blitz_dir, f'AuthKey_{key_id}.p8')
with open(p8_path, 'w') as f:
f.write(private_key_pem)
os.chmod(p8_path, 0o600)
print(f'Private key saved to: {p8_path}')
print(f'Issuer ID: {issuer_id}')
print(f'Key ID: {key_id}')
print()
print('To use with asc CLI:')
print(f' asc auth login --key-id {key_id} --issuer-id {issuer_id} --private-key-path {p8_path}')
print()
print('WARNING: This .p8 file can only be downloaded ONCE. Keep it safe.')
"
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.
- 2mo ago First seen · 214 lines · 57 tokens per session scan A de5a1e33c5cb
asc-team-key-create is a skill published in the GitHub repository blitzdotdev/blitz-mac (1,766 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 2,112 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
asc-team-key-create compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| asc-team-key-createblitzdotdev/blitz-mac | Skill | 1.8k | 3mo ago | Apache-2.0 | A | 57 | Claude Code |
| app-rejection-recoveryEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 168 | Claude Code |
| apple-search-adsEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 127 | Claude Code |
| attribution-setupEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 201 | Claude Code |
| custom-product-pagesEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 157 | Claude Code |
| web-to-app-funnelEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 183 | Claude Code |
| android-asoEronred/aso-skills | Skill | 2.2k | 1mo ago | MIT | A | 98 | Claude Code |