Agent Native

auto-rebase

This skill automatically detects newer upstream vllm releases and rebases the current fork branch onto the latest one using detect-upstream-base and…

by CohereOfficial publisherNot reviewed

Identity proven by GitHub's verified organisation badge (cohere-ai)

Agents
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, claude.ai and API
License
Apache-2.0 (permissive)
Pin
2a9ed1fpinned Oct 9, 2026
Context cost
about 960 tokenswhen the skill loads
GitHub stars
6on cohere-ai/vllm-skills
Scripts
None found

What it does

“Automatically check for new upstream vllm releases and rebase the current fork branch onto the latest one. Orchestrates detect-upstream-base and rebase-assistant end-to-end. Use when the user asks to check for upstream updates, auto-rebase to the latest release, or keep the fork up to date.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill automatically detects newer upstream vllm releases and rebases the current fork branch onto the latest one using detect-upstream-base and rebase-assistant. It orchestrates the full workflow from checking for updates through conflict resolution and verification, then offers to push the rebased branch.

When to use it

  • Keep a vllm fork synchronized with upstream releases
  • Rebase custom fork changes onto newer upstream versions
  • Check for available upstream updates before manual rebase

When not to

  • User prefers manual rebase control and workflow
  • Working with non-vllm repositories or different upstream sources

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add cohere-ai/vllm-skills --skill auto-rebase

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install cohere-ai/vllm-skills auto-rebase@2a9ed1ff5dd822a521a453f49eff84e8dd5a7071

Installs the commit we checked (2a9ed1f).

Copy by hand

Download the folder at 2a9ed1f and put it in .claude/skills/auto-rebase for Claude Code and in .agents/skills/auto-rebase for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 2a9ed1f

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "auto-rebase" by Cohere.

Source, pinned to commit 2a9ed1ff5dd822a521a453f49eff84e8dd5a7071:
https://github.com/cohere-ai/vllm-skills/tree/2a9ed1ff5dd822a521a453f49eff84e8dd5a7071/skills/auto-rebase

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/auto-rebase/ for Claude Code and .agents/skills/auto-rebase/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/cohere/auto-rebase

SKILL.md at the pin

---
name: auto-rebase
description: >-
  Automatically check for new upstream vllm releases and rebase the current
  fork branch onto the latest one. Orchestrates detect-upstream-base and
  rebase-assistant end-to-end. Use when the user asks to check for upstream
  updates, auto-rebase to the latest release, or keep the fork up to date.
---

# Auto Rebase

Check whether a newer upstream vllm release exists and, if so, rebase the
current fork branch onto it automatically. Uses the same notation as
`rebase-assistant`: **v1**/​**v2** for upstream tags, **b1**/​**b2** for the
branch before/after rebase.

## Step 0: Prerequisites

Verify required tools are installed and authenticated before starting.

```bash
# gh CLI — needed to query upstream releases
gh auth status 2>/dev/null || echo "ERROR: gh not authenticated"
```

If `gh auth status` fails, prompt the user to run `gh auth login` and wait
for confirmation before proceeding. The git-tag fallback in Step 2 works
without `gh`, but release metadata (pre-release flags, release notes) is
only available through the GitHub API.

## Step 1: Detect Current Upstream Base

The current branch is **b1**. Use the `detect-upstream-base` skill to
identify **v1** — the upstream tag that **b1** is based on. See
[detect-upstream-base](../detect-upstream-base/SKILL.md).

Confirm v1 with the user before proceeding.

## Step 2: Check for New Upstream Releases

Fetch the latest tags and compare against v1.

```bash
git fetch upstream --tags
```

List upstream release tags newer than v1:

```bash
git tag --list "v*" --sort=-version:refname \
  | while read -r tag; do
      git merge-base --is-ancestor "upstream/$V1" "$tag" 2>/dev/null \
        && [ "$tag" != "$V1" ] \
        && echo "$tag"
    done
```

Alternatively, use `gh` for a cleaner check:

```bash
gh release list --repo vllm-project/vllm --limit 10 \
  | awk '{print $1}'
```

Pick the **latest stable release** as the candidate **v2**. Skip pre-release
or release-candidate tags unless the user opts in.

Present to user:
- Current base: **v1**
- Latest upstream release: **v2**
- Release notes link: `https://github.com/vllm-project/vllm/releases/tag/$V2`

If v1 == v2 (already up to date), report that and stop.

Ask: "A new release **$V2** is available. Proceed with rebase?"

Wait for confirmation before proceeding.

## Step 3: Collect Rebase Inputs

Before invoking `rebase-assistant`, gather the remaining required inputs:

1. **Verification checks**: Ask the user which checks to run after rebase.
   Examples:
   - `.venv/bin/python -m pytest tests/path/to/test.py -v`
   - `pre-commit run --all-files`

2. **Reference commit** (optional): A known-good commit where checks pass.
   Defaults to `HEAD` on **b1**.

## Step 4: Rebase

Invoke the `rebase-assistant` skill with the collected inputs:
- **v1**: from Step 1
- **v2**: from Step 2
- **Verification checks**: from Step 3
- **Reference commit**: from Step 3 (if provided)

See [rebase-assistant](../rebase-assistant/SKILL.md).

Follow the full rebase-assistant workflow (analyze **b1**, back it up, create
**b2**, rebase onto v2, resolve conflicts, verify **b2**).

## Step 5: Summarize and Push

Once rebase-assistant completes, present a final summary:

- **b1** (original branch): preserved as backup
- **b2** (rebased branch): now based on v2
- **Previous base**: v1 → **New base**: v2
- **Custom commits replayed**: count and brief description
- **Conflicts resolved**: list of files and decisions (from rebase-assistant)
- **Verification results**: pass/fail for each check, with log paths
- **Backup branch**: name for rollback to **b1** if needed

Then ask: "Push **b2** to origin?"

If yes:
```bash
git push origin HEAD
```

If the branch already exists on the remote and needs a force push:
```bash
git push origin HEAD --force-with-lease
```

Warn the user before force-pushing and wait for explicit confirmation.

## Usage Examples

```text
Check if there's a new upstream vllm release and rebase onto it.
Checks: pytest tests/entrypoints/openai/correctness/test_transcription_api_correctness.py
```

```text
Auto-rebase to the latest upstream tag. Run pre-commit and transcription tests.
```

From cohere-ai/vllm-skills at 2a9ed1f, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.

View SKILL.md on GitHub at 2a9ed1f

Files

1 file, 4.2 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 2a9ed1f
All 6 skills from Cohere

More from Cohere

  • rcp-ndcg

    Evaluates retrieval systems using RCP-nDCG, which replaces binary relevance labels with calibrated probabilities from an LLM judge.

    Claude Code, Codex, Cursor +4 · about 3.4K tokens · pinned 6 days ago

  • detect-upstream-base

    This skill identifies the upstream vLLM tag that a forked branch is based on by configuring the upstream remote, fetching tags, and finding the nearest tagged…

    Claude Code, Codex, Cursor +4 · about 220 tokens · pinned 6 days ago

  • install-vllm

    Sets up a Python environment with uv and installs vLLM in editable mode for NVIDIA CUDA GPUs.

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 2.2K tokens · pinned 6 days ago

  • local-test-runner

    Run vLLM tests locally on NVIDIA GPUs using pytest, matching Buildkite CI test behavior.

    Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago

  • rebase-assistant

    Rebase custom fork commits onto a newer upstream vllm tag with automated conflict resolution, safety backups, and post-rebase verification.

    Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago

All Coding workflow skills
  • planning

    This skill orchestrates multi-workflow projects with dependencies and shared data tables by creating a task graph in the orchestrator via the create-tasks tool.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago

  • progressive-building

    This skill implements incremental workflow development for agents building or extending workflows.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 1.4K tokens · pinned 6 days ago

  • workflow-builder

    Builds and edits n8n workflows using the TypeScript SDK.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 14.2K tokens · pinned 6 days ago

  • remotion-upgrade

    This skill upgrades Remotion and its related packages to the latest stable version.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago

  • remotion-upgrade

    This skill upgrades Remotion and related packages across a project, automatically detecting the package manager and workspaces.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago

  • final-release-review

    Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.

    by OpenAIOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago

Open roles at Cohere

5 of 41 open roles on the jobs board

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use