pypi

pypi is a skill for Claude Code, Codex from AgentComputerAI/torch. It costs 79 tokens per session (1,675 once invoked), scanned A, original, MIT.

A guide for collecting package data from PyPI, the public catalogue of Python software. It points to PyPI's RSS feed or JSON API instead of its search-page HTML.

In plain words
What is it for?
Use it to find newly published Python packages or query PyPI package data through its feed and API.
Why use it?
It avoids the search page's browser challenge, which blocks ordinary scraping requests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find newly published Python packages or query PyPI package data through its feed and API.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentcomputerai/torch/pypi
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 AgentComputerAI/torch --skill pypi
Clone the repo
git clone --depth 1 https://github.com/AgentComputerAI/torch

Made for: Claude Code, Codex.

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 pypi

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentcomputerai/torch/pypi"><img src="https://agentmods.dev/badge/skills/agentcomputerai/torch/pypi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,675 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00079 $0.01675
Opus 5.5 $0.00032 $0.00670
Sonnet 5.5 $0.00016 $0.00335
Haiku 4.5 $0.00008 $0.00168

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

Security

Grade A, and why

pypi 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Phase 0 (curl)**: immediately saw FullStory Client Challenge on `/search/`. Skipped browser entirely.
skills/sites/pypi/SKILL.md · 122 lines

How it starts

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

PyPI (pypi.org)

PyPI (Warehouse) exposes official RSS feeds and a JSON API that return the same data the /search HTML page would, without any anti-bot. The HTML /search endpoint is protected by a FullStory client challenge — don't bother with a browser.

Detection

Signal Value
Server gunicorn (Warehouse, the PyPI codebase)
CDN Fastly (x-served-by: cache-*)
Anti-bot FullStory client challenge on /search/* (/_fs-ch-*/script.js) — serves a Client Challenge HTML stub to non-JS clients
Auth Not needed
robots.txt Disallows /simple/ indexes; RSS feeds and JSON API are fine

Curl https://pypi.org/search/?q=&o=-created returns <title>Client Challenge</title> with a /_fs-ch-1T1wmsGaOgGaSxcX/script.js loader. A plain Chrome UA does not bypass it. Don't waste time — use the feeds.

Architecture

PyPI is served by Warehouse. It exposes three scraper-friendly data sources that completely replace the need to scrape HTML:

  1. RSS feeds (XML, unauthenticated, no anti-bot):
    • https://pypi.org/rss/packages.xml — 40 newest packages (first release only). This is the equivalent of /search/?q=&o=-created.
    • https://pypi.org/rss/updates.xml — 40 newest releases (includes new versions of existing packages).
    • https://pypi.org/rss/project/<name>/releases.xml — per-project release feed.
  2. JSON API (unauthenticated):
    • https://pypi.org/pypi/<name>/json — full metadata for a package (description, author, classifiers, URLs, all releases, file hashes).
    • https://pypi.org/pypi/<name>/<version>/json — metadata for a specific release.
  3. BigQuery / Google Cloud public dataset (bigquery-public-data.pypi.*) — for bulk historical data, not scraping.

Read the full file on GitHub · 122 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. 1mo ago First seen · 122 lines · 79 tokens per session scan A 9f809293db79

Subscribe to this mod's changes

pypi is a skill published in the GitHub repository AgentComputerAI/torch (5 stars, last pushed 6mo ago), licensed MIT. It adds 79 tokens to every session and 1,675 once invoked, about $0.0003 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-31.