cursor_rule

cursor_rule is a cursor rule for Cursor from xiaoleiy/podpull. It costs 22 tokens per session (543 once invoked), scanned A, original, MIT.

A rule for downloading podcast episode audio with the podpull command-line program. It supports podcast sources such as Apple Podcasts links, RSS feeds, and Xiaoyuzhou links.

In plain words
What is it for?
Use it to search for shows, list episodes, download selected or latest episodes, process pasted episode links, and return results as JSON when needed.
Why use it?
It gives the agent a consistent way to find episodes and download their audio without relying on an interactive picker or manually handling different podcast URLs.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to search for shows, list episodes, download selected or latest episodes, process pasted episode links, and return results as JSON when needed.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/xiaoleiy/podpull/cursor_rule
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.

Clone the repo
git clone --depth 1 https://github.com/xiaoleiy/podpull

Made for: Cursor.

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 cursor_rule

README.md
[![agentmods](https://agentmods.dev/badge/rules/xiaoleiy/podpull/cursor_rule/github.svg)](https://agentmods.dev/rules/xiaoleiy/podpull/cursor_rule)
Your own site
<a href="https://agentmods.dev/rules/xiaoleiy/podpull/cursor_rule"><img src="https://agentmods.dev/badge/rules/xiaoleiy/podpull/cursor_rule/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 cursor_rule

Your own site · 80×15
<a href="https://agentmods.dev/rules/xiaoleiy/podpull/cursor_rule"><img src="https://agentmods.dev/badge/rules/xiaoleiy/podpull/cursor_rule.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 543 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.
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.00022 $0.00543
Opus 5.5 $0.00009 $0.00217
Sonnet 5.5 $0.00004 $0.00109
Haiku 4.5 $0.00002 $0.00054

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

Security

Grade A, and why

cursor_rule 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 1mo 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.

src/podpull/integrations/cursor_rule.mdc · 33 lines

What it actually says

Downloading podcast audio with podpull

When the user wants to download a podcast episode's audio file, use the installed podpull CLI (https://github.com/xiaoleiy/podpull). Install if missing: brew install xiaoleiy/tap/podpull or pipx install git+https://github.com/xiaoleiy/podpull.

Commands:

  • podpull search "<keywords>" — find a show (Apple ID, episode count).
  • podpull list <src> [--match RE] [--all] — list episodes; index 0 = newest.
  • podpull get <src> --match RE | --latest N | --index 0,2 — download (alias: pull).
  • podpull get <episode-url> — a pasted Apple ?i= or xiaoyuzhou link.
  • podpull get <src> ... -q/--quiet — suppress spinner/progress bar.
  • podpull --json <cmd> … — one JSON document on stdout (flag before the command).
  • podpull serve — local UI (search / trending / browser download).
  • Hosted UI: https://podpull.xiaolei.work/app (metadata API only; audio via publisher CDN). <src> = Apple show URL · bare Apple ID · RSS feed URL · Apple episode URL · xiaoyuzhou link.

Rules:

  • Always pass a selector and --no-input; a bare podpull get <show> opens an interactive picker that can't be driven from the agent.
  • Also pass -q/--quiet — the spinner/progress bar are pointless outside a live terminal; stdout output (the saved file path) is unaffected.
  • Prefer podpull --json … when you need structured data (search/info/list/get).
  • File path prints to stdout, progress to stderr. Default output is ./<show name>/ in the current directory (--out DIR changes the parent).
  • Every show download → per-show folder; filenames are normalized to be cloud-storage-safe (CJK kept).
  • Optional: if PODCASTINDEX_API_KEY/PODCASTINDEX_API_SECRET are set, search also queries Podcast Index and feed resolution gains a fallback; ximalaya.com/album/ links work as a source.
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. 1mo ago Changed · +1 lines ccfd9c7fe78c
  2. 1mo ago First seen · 32 lines · 22 tokens per session scan A f52029d3682c

Subscribe to this mod's changes

cursor_rule is a cursor rule published in the GitHub repository xiaoleiy/podpull (146 stars, last pushed 1mo ago), licensed MIT. It adds 22 tokens to every session and 543 once invoked, about $0.0001 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-08-30.

Related

Other cursor rules, from other repositories