apple-podcasts-mcp: Instructions file for Codex

AGENTS.md

apple-podcasts-mcp AGENTS.md is an instructions file for Codex, OpenCode from conorbronsdon/apple-podcasts-mcp. It costs 621 tokens per session, scanned A, a copy of apple-podcasts-mcp CLAUDE.md, Apache-2.0.

A repository instruction file for an Apple Podcasts Connect analytics server. It tells coding agents how the TypeScript project is organised, how Apple's Reporter data service works, and which rules and tests they must follow.

In plain words
What is it for?
Use it when developing or reviewing tools that read owner analytics such as plays, followers, and per-episode listening from Apple Podcasts Connect.
Why use it?
It gives agents the project context they need before changing code and warns them about non-obvious API behaviour, authentication, errors, dates, and data aggregation.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions Codex.

This is conorbronsdon/apple-podcasts-mcp's own configuration. It tells Codex and OpenCode how to work on apple-podcasts-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything apple-podcasts-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conorbronsdon/apple-podcasts-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conorbronsdon/apple-podcasts-mcp/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/conorbronsdon/apple-podcasts-mcp

Made for: Codex, OpenCode.

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 apple-podcasts-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/conorbronsdon/apple-podcasts-mcp/agents-md/github.svg)](https://agentmods.dev/instructions/conorbronsdon/apple-podcasts-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/conorbronsdon/apple-podcasts-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/conorbronsdon/apple-podcasts-mcp/agents-md/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 apple-podcasts-mcp AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/conorbronsdon/apple-podcasts-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/conorbronsdon/apple-podcasts-mcp/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 621 This file is loaded in full into every session.
When invoked 621 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod 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.00621 $0.00621
Opus 5.5 $0.00248 $0.00248
Sonnet 5.5 $0.00124 $0.00124
Haiku 4.5 $0.00062 $0.00062

Measured today against content hash bcc575b82453, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-podcasts-mcp AGENTS.md 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 today.

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.

Origin

This is a copy

97% identical to apple-podcasts-mcp CLAUDE.md — 42 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

AGENTS.md · 41 lines

How it starts

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

apple-podcasts-mcp

The repository contract for every agent runtime. Codex and other runtimes read this file directly; Claude Code reads it through CLAUDE.md, which imports it.

MCP server for Apple Podcasts Connect owner analytics over the Reporter protocol — plays, followers, per-episode listening. Not the public iTunes catalog.

Architecture

  • src/index.ts — stdio bootstrap, env var read, lazy-auth warning
  • src/client.ts — Reporter wire protocol: form-encoded POST of a jsonRequest field, gzip decode, per-date range fetch
  • src/errors.ts — Reporter numeric code -> typed error hierarchy, plus body parsing (XML / JSON / text)
  • src/tsv.ts — TSV parsing and the column alias table
  • src/dates.ts — Reporter date formatting and capped range expansion
  • src/shape.ts — flow-vs-level aggregation, episode rollup, trend series
  • src/server.ts — 4 tool handlers
  • src/__tests__/ — vitest, fixtures in __tests__/fixtures/

Key constraints

  • Reporter is not REST. Errors come back with a numeric code in the body, often under HTTP 200 — never trust response.ok alone.
  • version must be "2.2". Token auth requires Reporter 2.2+.
  • Reporter has no range query: one date is one HTTP call. max_periods (hard cap 31) exists to keep a tool call from making hundreds.
  • Never hardcode an Apple column name in a handler. Resolve through COLUMN_ALIASES and report resolvedColumns / unmappedColumns.
  • Followers is a level, not a flow. It must not be summed into totals — and "no metric columns found" must be decided from the resolved columns, not from empty totals, or a followers-only report reads as unreadable.
  • A Weekly range with no Sunday in it expands to zero dates. That is "no request was made", not "Apple had no data"; never explain it with the publishing lag.
  • Listener counts are unique devices, not people. An engaged listener is a device that played at least 20 minutes or 40% of an episode — not a completion.
  • account goes in the request payload only when APPLE_PODCASTS_ACCOUNT_ID is set. Reporter 404s on an empty account field.
  • Tests must never call Apple. Stub fetch.
  • Never commit a token, a vendor number, or a real report body.

Read the full file on GitHub · 41 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. today First seen · 41 lines · 621 tokens per session scan A bcc575b82453

Subscribe to this mod's changes

apple-podcasts-mcp AGENTS.md is an instructions file published in the GitHub repository conorbronsdon/apple-podcasts-mcp (1 stars, last pushed today), licensed Apache-2.0. It adds 621 tokens to every session, about $0.0025 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to apple-podcasts-mcp CLAUDE.md, differing in 42 lines, and is treated as a copy.

Related

apple-podcasts-mcp AGENTS.md compared with instructions from other repositories

apple-podcasts-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
apple-podcasts-mcp AGENTS.mdconorbronsdon/apple-podcasts-mcpInstructions file1todayApache-2.0A621Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode