remove-release-assets

Delete all assets from a GitHub release via the GitHub API.

4|2|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/sensei-hacker/inav-claude --skill remove-release-assets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: remove-release-assets
Source: https://github.com/sensei-hacker/inav-claude/tree/main/.claude/skills/remove-release-assets
Command: npx skills add https://github.com/sensei-hacker/inav-claude --skill remove-release-assets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the tedious and error-prone process of deleting all assets from a GitHub release, which is crucial when preparing to re-upload new artifacts or clean up a draft release.

Core Features & Use Cases

  • Bulk Asset Deletion: Programmatically identify and delete all assets associated with a specified GitHub release tag.
  • Deletion Verification: Confirm that all assets have been successfully removed from the release.
  • Use Case: A release manager needs to clear all existing firmware hex files and configurator packages from a draft INAV release before uploading a new, corrected set of artifacts. This skill ensures a clean slate for the upload.

Quick Start

Remove all assets from the INAV 9.0.0-RC2 release in the 'iNavFlight/inav' repository.

Frequently Asked Questions about remove-release-assets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delete all assets from a GitHub release?

Delete all assets from a GitHub release by specifying the repository and release tag. The Skill enumerates assets via the GitHub API, removes each by ID, and verifies zero assets remain on the target release.

Can I remove assets from draft releases on GitHub?

Yes, the Skill handles both draft and published releases. It removes all associated assets regardless of release state, making it suitable for cleaning up draft releases before uploading corrected artifacts.

How do I clear GitHub release assets before re-uploading new files?

Bulk asset deletion prepares a release for fresh uploads by removing all existing artifacts at once. Specify the repository and tag, and the Skill programmatically deletes each asset and confirms the release is empty.

What's the best way to automate GitHub release cleanup?

Automate release cleanup by programmatically identifying and deleting all assets via the GitHub API rather than manual removal. This eliminates errors and speeds up preparing releases for new artifact uploads.

Does this work with any GitHub repository?

The Skill applies to any GitHub repository and release tag. It requires API access to enumerate and delete assets, and works with repositories of any size or asset count.