Agent skill

Uv Pypi Publish

by ML4ITS in ML4ITS/TimeVQVAE

Publish a Python package to PyPI using uv with credentials loaded from a local .secrets file.

MITAuto-check passedAI & LLM Engineering

Install Uv Pypi Publish

skills CLI
$ npx skills add ML4ITS/TimeVQVAE --skill uv-pypi-publish -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ML4ITS/TimeVQVAE uv-pypi-publish --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ML4ITS/TimeVQVAE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/uv-pypi-publish .claude/skills/uv-pypi-publish && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
uv-pypi-publish
GitHub stars
166
Token cost
~178 tokens
SKILL.md length
42 words
Files
2
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Publish a Python package to PyPI using uv with credentials loaded from a local .secrets file.

  • Works in 4 steps: Load secrets → Remove old build artifacts → Build package → …
  • Asked to release a package after building
  • Calls uv; needs UV_PUBLISH_TOKEN
  • Run a clean rebuild (dist/ reset)

What it does

Uv Pypi Publish is an agent skill from ML4ITS/TimeVQVAE. Publish a Python package to PyPI using uv with credentials loaded from a local .secrets file. Use when asked to release a package after building, to run a clean rebuild (dist/ reset), and to publish with UVPUBLISHTOKEN from environment variables.

Its SKILL.md is about 180 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in AI & LLM Engineering, covering Forecasting and time series, Secrets management and Deep learning. It works with Python and PyTorch. The repository describes itself as: [official] PyTorch implementation of TimeVQVAE from the paper ["Vector Quantized Time Series Generation with a Bidirectional Prior Model", AISTATS 2023]. The licence is MIT.

When your agent uses it

  • Asked to release a package after building
  • Run a clean rebuild (dist/ reset)
  • To publish with UVPUBLISHTOKEN from environment variables

Example prompts

  • “/uv-pypi-publish”

Requirements

  • Python 3
  • A credential in UV_PUBLISH_TOKEN

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Load secrets
  2. Remove old build artifacts
  3. Build package
  4. Publish with token

What it can do on your machine

Read from SKILL.md and the folder at commit 39f98e9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • UV_PUBLISH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Uv Pypi Publish loads about 178 tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 42 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~178

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ML4ITS/TimeVQVAE at commit 39f98e9, republished under its MIT licence (© ML4ITS). 42 words, ~178 tokens.

Download SKILL.mdSave it as .claude/skills/uv-pypi-publish/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
uv-pypi-publish
description
Publish a Python package to PyPI using uv with credentials loaded from a local `.secrets` file. Use when asked to release a package after building, to run a clean rebuild (`dist/` reset), and to publish with `UV_PUBLISH_TOKEN` from environment variables.

Uv Pypi Publish

Execute this workflow in order when publishing:

  1. Load secrets:
bash
source .secrets
  1. Remove old build artifacts:
bash
rm -rf dist/
  1. Build package:
bash
uv build
  1. Publish with token:
bash
UV_PUBLISH_TOKEN=$UV_PUBLISH_TOKEN uv publish

If UV_PUBLISH_TOKEN is empty after sourcing, stop and report that publishing cannot proceed without a valid token.

© ML4ITS, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/uv-pypi-publish of ML4ITS/TimeVQVAE.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 39f98e9

Compare with similar skills

Uv Pypi Publish next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Uv Pypi Publish compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Uv Pypi Publish this skillML4ITS/TimeVQVAE166—~178Automated safety check: PassMIT
Technology Selectiondotnet/skills5.6k1 repos~2.1kAutomated safety check: PassMIT
Physicsnemo DiscoverNVIDIA/skills3.6k—~1.8kAutomated safety check: PassApache-2.0
PyTorch Lightning TrainingOrchestra-Research/AI-Research-SKILLs13k6 repos~2.3kAutomated safety check: PassMIT
Formattingbrendanhasz/probflow175—~381Automated safety check: PassMIT
Alphagenome Predictionsgenomicsxai/alphagenome-pytorch162—~868Automated safety check: PassApache-2.0

Similar skills

  • Official

    Guides technology selection and implementation of AI and ML features in .NET 8+ applications using ML.NET, Microsoft.Extensions.AI (MEAI), Microsoft Agent Framework (MAF), GitHub Copilot SDK, ONNX…

    5.6k GitHub starsUsed in 1 repo~2.1k tokens
    AI & LLM EngineeringAuto-check passed
  • Official

    Official NVIDIA-authored guidance for navigating PhysicsNeMo — pick the model, datapipe, or example for a SciML/AI4Science task (surrogates, forecasting, downscaling, physics-informed, inverse…

    3.6k GitHub stars~1.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • PyTorch Lightning Training

    Orchestra-Research/AI-Research-SKILLs

    Shows how to organize PyTorch training with Lightning's LightningModule and Trainer, covering validation, DDP, callbacks and learning-rate scheduling.

    13k GitHub starsUsed in 6 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Formatting

    brendanhasz/probflow

    Ensure consistent code formatting using the uv package manager and pre-commit.

    175 GitHub stars~381 tokensUpdated 14 days ago
    AI & LLM EngineeringAuto-check passed
  • Alphagenome Predictions

    genomicsxai/alphagenome-pytorch

    Run AlphaGenome-PyTorch to get genomic track predictions — via the agt predict CLI (single locus, BED regions, whole chromosomes, raw FASTA sequences, or per-gene count tables/AnnData), variant…

    162 GitHub stars~868 tokensUpdated 25 days ago
    AI & LLM EngineeringAuto-check passed
  • Ray Train Distributed Training

    Orchestra-Research/AI-Research-SKILLs

    Scales PyTorch, TensorFlow and Hugging Face training from a single GPU to multi-node clusters with Ray Train, including Ray Tune sweeps and checkpoint recovery.

    13k GitHub starsUsed in 2 repos~2.7k tokens
    AI & LLM EngineeringAuto-check passed

More from ML4ITS/TimeVQVAE

  • Refresh GitNexus indexing and regenerate local GitNexus skills when repository status is stale.

    166 GitHub stars~264 tokensUpdated 7 mo ago
    Auto-check passed

Works with

Questions about Uv Pypi Publish

What does Uv Pypi Publish do?

Publish a Python package to PyPI using uv with credentials loaded from a local .secrets file. Uv Pypi Publish is an agent skill from ML4ITS/TimeVQVAE.secrets file.

When should I use Uv Pypi Publish?

Uv Pypi Publish fits situations like: asked to release a package after building; run a clean rebuild (dist/ reset); to publish with UVPUBLISHTOKEN from environment variables.

How do I install Uv Pypi Publish in Claude Code?

Run `npx skills add ML4ITS/TimeVQVAE --skill uv-pypi-publish -a claude-code`. Or copy the skill folder (.agents/skills/uv-pypi-publish in ML4ITS/TimeVQVAE) into .claude/skills/uv-pypi-publish in your project. Claude Code loads it when a task matches its description.

How do I install Uv Pypi Publish in Codex?

Run `npx skills add ML4ITS/TimeVQVAE --skill uv-pypi-publish -a codex`. Or copy the skill folder (.agents/skills/uv-pypi-publish in ML4ITS/TimeVQVAE) into .agents/skills/uv-pypi-publish in your project. Codex loads it when a task matches its description.

Can I use Uv Pypi Publish in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ML4ITS/TimeVQVAE --skill uv-pypi-publish -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/uv-pypi-publish, .gemini/skills/uv-pypi-publish, .github/skills/uv-pypi-publish and .opencode/skills/uv-pypi-publish in your project.

What does Uv Pypi Publish need to run?

Going by SKILL.md and its folder, Uv Pypi Publish needs the command-line tools its instructions call (uv) and credentials named UV_PUBLISH_TOKEN. Our summary lists: Python 3; A credential in UV_PUBLISH_TOKEN.

Does Uv Pypi Publish access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Uv Pypi Publish safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Uv Pypi Publish use?

Uv Pypi Publish is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Uv Pypi Publish use?

About 178 tokens (SKILL.md is roughly 712 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Uv Pypi Publish?

Skills that share tags, products or a category with Uv Pypi Publish: Technology Selection (dotnet/skills, 5.6k stars), Physicsnemo Discover (NVIDIA/skills, 3.6k stars), PyTorch Lightning Training (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Formatting (brendanhasz/probflow, 175 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Uv Pypi Publish?

ML4ITS (a GitHub organization) maintains it in ML4ITS/TimeVQVAE, which has 166 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on March 1, 2026.

Source: ML4ITS/TimeVQVAE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.