⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v0.9.0

changelog

ratel-ai@ratel-ai⭐ 573 stars· last commit 1d ago· 8 open issues

Update per-package CHANGELOG.md files for a Ratel release. Drafts entries with git-cliff (scoped per package), lets you curate, then writes the CHANGELOGs. Handles both RC entries and GA-graduation collapse (merging X.Y.Z-rc.* sections into a single X.Y.Z section). Invoke before tagging a release.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐⭐⭐ 573 on GitHubGitHub ↗

Popular

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

Introduction

Ratel is a self-hosted platform for AI agents. Your agent sends it traces and its catalog of tools and skills. Ratel reads that traffic and shows you what the agent gets wrong, what people ask it for, and which changes would make it find and finish more.

It is for anyone building or running an agent who wants to see how it behaves and keep that data on their own machines. It runs as one application and one Postgres database, and it needs nothing else:

  • Console: the pages you read and act on. See What is in the console.
  • Ingest and catalog APIs: OTLP traces and logs, SDK events, catalog pull, skills and intent graph sync, authenticated with per-project API keys.
  • Background jobs: a durable queue in Postgres, drained every minute inside the application. There is no separate worker or scheduler to run.
  • Readings: what Ratel works out from the traffic, as jobs over a ledger of your agent's turns: Agent health signals, workflows and self-corrections, topics, intent clusters and the intent graph, the tool explorer, and match quality.

Model keys are optional. With no key, Ratel makes no outbound model call. The readings that need a model report themselves skipped, workflows keep their tool-order names, and topics are named from their own asks.

Quick Start

You need Docker with Compose 2.24 or later, network access to pull images, about 5 GB of free disk in the Docker VM (the app and Postgres images take under 1 GB, the optional demo image 1.2 GB more, plus your data) and 4 GB of RAM for Docker (8 GB is comfortable). There is no build on your machine.

One command

curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/install.sh | sh

The installer works on macOS and Linux, on your machine or on a cloud VM. It checks Docker, Compose, RAM and disk, clones the repo at the latest release into ~/ratel (/opt/ratel as root), creates .env with random secrets, pulls the published image of that release, starts the stack and waits for /api/health. On a Linux server with no Docker it offers to install Docker with Docker's get.docker.com script. On a cloud VM it prints the ssh -L tunnel command to reach the console. Run it again to upgrade: it pulls the image of the latest release and restarts. This also upgrades an install that was built from source. It keeps the data volume and the values in your .env (it sets RATEL_VERSION and COMPOSE_FILE), and it stops if the checkout has local changes or is newer than the release.

Options, after sh -s --: --version <X.Y.Z> (default: the latest release; edge is the last build of main), --ref <branch|sha> (build that from source instead, about 5 minutes), --dir <path>, --yes (ask nothing) and --demo (load the demo data). For example:

curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/install.sh | sh -s -- --yes --demo

On a server with a public IP, --access public puts Caddy in front of the console, on ports 80 and 443, with a Let's Encrypt certificate and a login (basic auth, user ratel). The password is new and printed once. --domain <name> sets the site name (default <public-ip>.sslip.io), --tls internal uses Caddy's own CA in place of Let's Encrypt, and --auth-hash <bcrypt> sets the password's hash. The routes that SDKs and MCP clients call with project API keys (/v1, /v2, /api/v1, /api/v2, /api/mcp) and /api/health pass without the login. A rerun keeps the mode, and --access private turns Caddy off. The installer writes Caddyfile and adds docker-compose.caddy.yml to COMPOSE_FILE in .env, so every docker compose command in the directory includes Caddy. The containers restart after a reboot.

Deploy to your cloud

From your laptop, one command creates a VM in your cloud and installs Ratel on it:

curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh

deploy.sh finds the cloud you are logged in to: AWS (aws sts get-caller-identity), Google Cloud (the account and project of gcloud), Azure (az account show), DigitalOcean (DIGITALOCEAN_TOKEN or doctl) or Hetzner (HCLOUD_TOKEN or hcloud). With several, it asks, or takes --cloud. It uses OpenTofu (tofu), or Terraform when OpenTofu is not installed. It creates one Ubuntu 24.04 LTS VM with 2 vCPU or more, 8 GB of RAM and 30 GB of disk or more, a firewall, a static IP and a dedicated SSH key. It shows the plan and a rough monthly cost per size, and asks before it creates anything. Then it follows the install and prints how to open the console. The modules are in deploy/terraform/.

There are two access modes:

  • --access public (default): Caddy with TLS and a login, as above. Ports 80 and 443 are open to all, or only to the --allow-cidr ranges (for example a VPN), and then Caddy uses its own CA because Let's Encrypt cannot reach port 80. SSH is open only to your current IP. The certificate is for --domain, or for <ip>.sslip.io with no domain. The login password is printed once, and stays only on your laptop, in ~/.ratel/deploy/<name>/login.
  • --access private: no web port. SSH is open to your current IP and the --allow-cidr ranges, and you reach the console through a tunnel: ssh -i ~/.ratel/deploy/ratel/id_ed25519 -N -L 3000:127.0.0.1:3000 ratel@<ip>.

Other options, after sh -s --: --region, --size, --name (default ratel, for more than one deploy), --version or --ref (passed to install.sh; the default is the latest release), --iac terraform|tofu and --yes. The state, the SSH key and the password stay on your laptop in ~/.ratel/deploy/<name>/ (owner-only), so the other commands need no flags:

curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- status
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- up   # upgrade to the latest release
curl -fsSL https://raw.githubusercontent.com/ratel-ai/ratel/main/deploy.sh | sh -s -- destroy

up on an existing deploy upgrades it: it reruns install.sh on the VM over SSH with --version, or with the latest release. A deploy made with --ref <branch> stays on that branch. If your IP changed, it first opens SSH to the new one. destroy deletes the VM, its disk with all Ratel data and its IP, then the local state. Back up first (see On a server).

One-click deploy

Each button opens your cloud's console with Ratel's template, in your account. Nothing is created until you confirm there. The VM runs install.sh, as deploy.sh does, in the public mode (Caddy with TLS and a login for user ratel, with the password that you type) or in the private mode (no web port, an SSH tunnel). The template's version parameter (default latest) sets the release; its ref parameter builds a branch or commit from source instead.

CloudButtonWhat it opens
AWS[![Launch Stac

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • .claude/skills/changelog/SKILL.md6.1 KBupstream ↗
    ---
    name: changelog
    description: Update per-package CHANGELOG.md files for a Ratel release. Drafts entries with git-cliff (scoped per package), lets you curate, then writes the CHANGELOGs. Handles both RC entries and GA-graduation collapse (merging X.Y.Z-rc.* sections into a single X.Y.Z section). Invoke before tagging a release.
    ---
    
    # /changelog
    
    Updates a release unit's `CHANGELOG.md` in preparation for tagging it. Ratel releases
    **per unit** (ADR-0008): each unit ships on its own tag (`<prefix>-v*`) at its own version.
    For workflow-wired units, `.github/workflows/release.yml` rejects a tag whose unit CHANGELOG
    doesn't contain the version being released. `vercel-ai-sdk` is temporarily published
    manually via `scripts/publish-rc.sh`; still run this skill before its tag even though the
    workflow gate does not cover it yet.
    
    Run it **once per unit** you're releasing.
    
    ## Release units it touches
    
    The units and their manifests/CHANGELOGs live in one registry —
    `scripts/release-units.mjs` — which every release tool reads. Run `node scripts/release-units.mjs --list`
    for the authoritative set; the current eight units are:
    
    | Unit | Registry | CHANGELOG path |
    |---|---|---|
    | `core` | `ratel-ai-core` (crates.io) | `src/core/CHANGELOG.md` |
    | `sdk-ts` | `@ratel-ai/sdk` (npm) | `src/sdk/ts/CHANGELOG.md` |
    | `sdk-py` | `ratel-ai` (PyPI) | `src/sdk/python/CHANGELOG.md` |
    | `telemetry-core` | `ratel-ai-telemetry` (crates.io) | `src/telemetry/core/CHANGELOG.md` |
    | `telemetry-ts` | `@ratel-ai/telemetry` (npm) | `src/telemetry/ts/CHANGELOG.md` |
    | `telemetry-py` | `ratel-ai-telemetry` (PyPI) | `src/telemetry/python/CHANGELOG.md` |
    | `vercel-ai-sdk` | `@ratel-ai/vercel-ai-sdk` (npm) | `src/adapters/ts-vercel-ai-sdk/CHANGELOG.md` |
    | `mastra` | `@ratel-ai/mastra` (npm) | `src/adapters/ts-mastra/CHANGELOG.md` |
    
    `@ratel-ai/mcp-server` lives in [ratel-ai/ratel-mcp](https://github.com/ratel-ai/ratel-mcp) and maintains its own CHANGELOG there.
    
    ## Procedure
    
    ### 1. Pick the unit and read its version
    
    If the user hasn't named the unit, run `node scripts/releasable.mjs` — it lists which
    units have commits since their last release tag. Pick the unit `$UNIT` being released.
    
    Read its canonical version:
    
    ```bash
    node scripts/release-units.mjs --version "$UNIT"   # -> $TARGET
    ```
    
    If the user supplies a different version explicitly, prefer that and warn them the working
    tree disagrees.
    
    ### 2. Determine the diff range
    
    The range is from the unit's **own** last release tag to `HEAD`:
    
    ```bash
    prefix=$(node scripts/release-units.mjs --tag-prefix "$UNIT")
    FROM=$(git describe --tags --match "${prefix}*" --abbrev=0 2>/dev/null || true)
    ```
    
    If `$FROM` is empty the unit has never shipped; the whole history is in range.
    
    ### 3. Generate the draft
    
    ```bash
    bash .claude/skills/changelog/draft.sh --unit "$UNIT"
    ```
    
    It emits a single `### <package-name>` block for the unit, containing either
    Keep-a-Changelog sections (`### Added`, `### Fixed`, `### Changed`) or the sentinel
    `_No user-facing changes._`. (Omit `--unit` to draft every unit at once.) With no
    `<from-ref>` argument the script ranges each unit from its own last tag automatically.
    
    If `draft.sh` exits 127, git-cliff is missing. Tell the user how to install it (the
    script's stderr already does), and stop.
    
    ### 4. Branch on RC vs GA
    
    Inspect `$TARGET`, and edit only **this unit's** CHANGELOG:
    
    - **RC** (`X.Y.Z-rc.N`): prepend a new section above the most recent versioned section:
      ```
      ## [X.Y.Z-rc.N] - YYYY-MM-DD
    
      <draft content for the unit, or the sentinel>
      ```
      Use today's date in `YYYY-MM-DD` (UTC).
    
    - **GA** (no `-rc` suffix): enter **GA-collapse mode**:
      1. Find every `## [X.Y.Z-rc.*]` section already present that matches the same
         `MAJOR.MINOR.PATCH` as `$TARGET`.
      2. Union their bullet entries (per subsection: `### Added`, `### Changed`, `### Fixed`)
         with the new draft entries from step 3 (commits since the last RC tag).
      3. Deduplicate bullets within each subsection (case-insensitive, whitespace-normalised).
      4. Drop the `_No user-facing changes._` sentinel if any real entries exist; keep it only
         if the unioned set is empty.
      5. Replace all the matched RC sections with a single `## [X.Y.Z] - YYYY-MM-DD` section
         containing the merged content.
      6. Leave non-matching prior versions (e.g. `## [0.1.4]`) untouched.
    
    ### 5. Curate with the user
    
    Show the unit's CHANGELOG pending changes in the conversation. Ask the user to confirm or
    edit. Common curation moves:
    
    - Rephrase bullets for user-facing clarity (the draft uses commit subjects verbatim).
    - Drop bullets that are not user-visible (internal refactors that slipped past
      `cliff.toml`'s skip rules).
    - Merge duplicates that survived deduplication.
    - Promote / demote between Added / Changed / Fixed if the commit prefix was wrong.
    
    ### 6. Write the file
    
    Once approved, write **only this unit's** CHANGELOG using the Edit tool. **Do not commit.**
    The release commit is the user's responsibility — they typically include the CHANGELOG
    alongside the version bump in a single `release: <unit>-vX.Y.Z` commit.
    
    If releasing more than one unit, repeat from step 1 for each.
    
    ### 7. Remind
    
    Tell the user:
    
    - The CHANGELOG is staged in the working tree (unstaged).
    - Next step is the release commit + `<unit>-v<version>` tag + push.
    - For workflow-wired units, the `release.yml` `tag-version-check` job verifies the unit's
      CHANGELOG contains the tag version; if it doesn't, the release is blocked.
    - For `vercel-ai-sdk`, publish manually with `scripts/publish-rc.sh` after the tag push; its
      CHANGELOG is not workflow-gated yet.
    
    ## Conventions
    
    - **Date format**: `YYYY-MM-DD` in UTC.
    - **Subsection order**: `### Added`, `### Changed`, `### Fixed`, `### Removed`, `### Deprecated`, `### Security`. Omit empty subsections.
    - **Sentinel**: `_No user-facing changes._` for a unit with no in-scope commits.
    - **Keep `## [Unreleased]` at the top** — it stays empty between releases.
    
    ## Why this exists
    
    ADR 0008 (`docs/adr/0008-release-engineering.md`) records the per-unit tag/version split, the
    CHANGELOG mechanism, and the rationale. Read it if you're unsure why something is structured
    the way it is.
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/ratel-ai-ratel-claude-skills-changelog.md

// REPO STATS

573 stars
8 open issues
Last commit: 1d ago