Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add queelius/claude-anvil/plugin install pub-pipelineWrote 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/queelius/claude-anvil/pypi-publish)<a href="https://agentmods.dev/skills/queelius/claude-anvil/pypi-publish"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/pypi-publish/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/queelius/claude-anvil/pypi-publish"><img src="https://agentmods.dev/badge/skills/queelius/claude-anvil/pypi-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00076 | $0.01932 |
| Opus 5.5 | $0.00030 | $0.00773 |
| Sonnet 5.5 | $0.00015 | $0.00386 |
| Haiku 4.5 | $0.00008 | $0.00193 |
Grade C, and why
pypi-publish scanned grade C with 3 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.
Downloads and executes remote codemediumSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
curl -s https://pypi.org/pypi/<name>/json | python3 -c 'import json,sys; print(sorted(json.load(sys.stdin)["releases"]))' Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
cd /path/to/package && rm -rf dist/* && python -m build && python -m twine check --strict dist/* Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s https://pypi.org/pypi/<name>/json | python3 -c 'import json,sys; print(sorted(json.load(sys.stdin)["releases"]))' How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PyPI Package Publication
Audit, build, and publish a Python package to PyPI. The default publishing path is a trusted publisher: a GitHub Actions workflow authenticated by OIDC, triggered by a GitHub release, with no long-lived token. Every upload command here is non-interactive; never run anything that prompts for credentials.
Workflow
1. Locate the Package (Glob tool)
Package root: $ARGUMENTS if given, else the current directory. Look for pyproject.toml (preferred), setup.py, or setup.cfg. If there are none, say so: point to /pub-pipeline:r-publish when a DESCRIPTION file exists, or the papermill plugin for a .tex paper.
2. Load User Config (Read tool)
Read .claude/pub-pipeline.local.md if it exists (author metadata for authors). If missing, offer to create it from ${CLAUDE_PLUGIN_ROOT}/docs/user-config-template.md.
3. Audit Package Metadata (Read tool)
| Field | Check |
|---|---|
name |
Present, follows PyPI naming rules (lowercase, hyphens/underscores only) |
version |
Present, PEP 440 (e.g. "1.0.0", "0.1.0a1") |
description |
Present, concise one-line summary |
readme |
Points to an existing README file |
license |
SPDX expression string (e.g. "MIT"), per PEP 639; the {text = ...} / {file = ...} table form is deprecated |
license-files |
Globs for license files (e.g. ["LICENSE"]); each must match a file |
authors or maintainers |
At least one with name and email |
urls |
Homepage, documentation, repository, bug tracker |
classifiers |
Development status, audience, Python versions. No License :: classifiers (deprecated by PEP 639; build tools may reject them alongside license) |
requires-python |
Floor at a non-EOL release (">=3.11" as of 2026-10, when 3.10 reached end of life) |
Recommended: keywords, dependencies, optional-dependencies (dev, test, docs).
4. Verify Tests Pass (Bash tool)
Run python -m pytest (or python -m unittest discover if pytest is not the runner). If tests fail, stop and report. Do not publish.
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.
- 1mo ago Changed · -139 lines · +23 tokens per session scan B → C fb5e830b6d7d
- 1mo ago First seen · 268 lines · 53 tokens per session scan B 7972ce45f63b
pypi-publish is a skill published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 76 tokens to every session and 1,932 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 3 findings (downloads and executes remote code, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.
pypi-publish compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pypi-publishqueelius/claude-anvil | Skill | 3 | 1mo ago | MIT | C | 76 | Claude Code |
| python-servicesiliaal/whetstone | Skill | 37 | today | MIT | A | 48 | Claude Code, Codex |
| ia-python-servicesiliaal/whetstone | Skill | 37 | today | MIT | A | 56 | Claude Code |
| fastapi-expertSKB3002/agenthub | Skill | 4 | 7mo ago | none | A | 37 | Claude Code |
| python-patternsSKB3002/agenthub | Skill | 4 | 7mo ago | none | A | 30 | Claude Code |
| sqlalchemy-expertSKB3002/agenthub | Skill | 4 | 7mo ago | none | A | 37 | Claude Code |
| shiny-py-optimizeposit-dev/skills | Skill | 582 | 22d ago | MIT | A | 105 | Claude Code |