# Rye

> Use this skill when the user wants to manage Python projects, install dependencies with lockfile, sync environments, publish packages, or use the uv-backed Python package manager.

- Skill: `javimosch/rye` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/rye`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/rye/raw
- Safety review: WARNING (external: skill-scanner WARNING, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/rye

---


# rye Plugin

Python package manager with uv backend, lockfile, and workspace support.

## Commands

### Project
- `rye init run` — Initialize a new Python project
- `rye build run` — Build Python package
- `rye publish run` — Publish package to PyPI

### Dependencies
- `rye sync run` — Sync environment with lockfile
- `rye add run` — Add a Python package dependency
- `rye lock run` — Generate lockfile

## Usage Examples
- "Initialize a new Python project with rye"
- "Install dependencies from lockfile"
- "Add a package dependency"
- "Build and publish my package"

## Installation

```bash
curl -fsSL https://rye.astral.sh/get | bash
```

## Examples

```bash
# Init new project
rye init my-project

# Add dependency
rye add requests

# Sync environment
rye sync

# Lock dependencies
rye lock

# Build
rye build

# Publish
rye publish
```

