pypi

pypi is a skill for Claude Code, Codex from JustVugg/tools-factory. It costs 37 tokens per session (397 once invoked), scanned A, original, MIT.

A command-line skill for retrieving PyPI data, where PyPI is the Python Package Index. It can call listed PyPI endpoints, search cached records, and synchronize them into a local database, returning structured JSON.

In plain words
What is it for?
Use it to query package request or package metadata endpoints, search the local PyPI cache, synchronize PyPI data, and pass machine-readable results to other tools.
Why use it?
It gives an agent a consistent way to obtain package information from PyPI without manually handling web requests. Cached results can be searched locally after synchronization.

Skill for Claude CodeCodex

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

Good fit Use it to query package request or package metadata endpoints, search the local PyPI cache, synchronize PyPI data, and pass machine-readable results to other tools.

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

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/justvugg/tools-factory/pypi.svg)](https://agentmods.dev/skills/justvugg/tools-factory/pypi)
Your own site
<a href="https://agentmods.dev/skills/justvugg/tools-factory/pypi"><img src="https://agentmods.dev/badge/skills/justvugg/tools-factory/pypi.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 397 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.00037 $0.00397
Opus 5 $0.00018 $0.00198
Sonnet 5 $0.00007 $0.00079
Haiku 4.5 $0.00004 $0.00040

Measured 8d ago against content hash 379c007e7754, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

library/tools/pypi/skills/pypi/SKILL.md · 49 lines

What it actually says

pypi

Generated by Gutenberg. Use this skill to call the pypi API through the local pypi CLI.

When to use

  • The user asks for data exposed by pypi (pypi).
  • An agent task needs structured JSON from https://pypi.org.
  • You need to perform a write/destructive operation on pypi — always preview first, run with --yes only on explicit user confirmation.

How to invoke

The skill assumes the generated CLI is on PATH (or invoke via scripts/use-go.sh run ./cmd/pypi from the project directory).

pypi operations
pypi call getPypiRequests --json
pypi sync --json
pypi search "<keyword>" --json

Authentication

No authentication required.

Operations index

  • getPypiRequests (GET /pypi/requests/json) — read — GET /pypi/requests/json
  • getPypiNumpy (GET /pypi/numpy/json) — read — GET /pypi/numpy/json

Output contract

  • All commands accept --json and emit machine-readable output.
  • call returns { dryRun, operation, request, response }. dryRun: true means the call was not executed (write op without --yes).
  • search returns cached records. sync populates the local SQLite cache.

Provenance

  • Schema: gutenberg.blueprint.v1
  • Generated by: gutenberg 0.3.0
  • Source spec: /tmp/pypi.openapi.json
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. 8d ago First seen · 49 lines · 37 tokens per session scan A 379c007e7754

Subscribe to this mod's changes

pypi is a skill published in the GitHub repository JustVugg/tools-factory (52 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 397 once invoked, about $0.0002 per session on Opus 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.