jjenkins/agent-image-skills · Archived

image-delete

Delete an image from Lab Nocturne image storage.

First seen Mar 1, 2026

Installation

$ npx skills add jjenkins/agent-image-skills --skill image-delete

Summary

  • Delete an image from Lab Nocturne image storage.
  • Remove uploaded screenshots, photos, or other hosted files by image ID.
  • Soft-delete with confirmation — clean up old uploads, free storage space, remove unwanted images from CDN.
  • Use this skill whenever the user wants to remove, delete, or clean up an image — even if they say 'get rid of that image' or 'I don't need that upload anymore'.
  • Triggered by /delete <image_id> or naturally.

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from jjenkins/agent-image-skills.

npx skills add jjenkins/agent-image-skills

Browse all from jjenkins/agent-image-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
tags
image-delete file-delete image-storage cleanup

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,437 B
  • docs SUMMARY.md 458 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Delete Image

Soft-delete an image from your Lab Nocturne Images account.

Invocation

/delete <imageid> — also triggered naturally (e.g. "delete image imgabc...", "remove that image", "clean up my old uploads").

Instructions

1. Resolve the image ID

  • The user provides an image ID as the argument (e.g. /delete img_01JXYZ...).
  • If no ID is given, ask the user which image to delete. Suggest using /files to find the ID.
  • If the user provides a raw ULID without the img prefix, prepend img automatically.
  • The ID should match the pattern img_ followed by a ULID (26 alphanumeric characters).

2. Confirm with the user

This is a destructive action. Before executing, tell the user which image ID will be deleted and ask for confirmation. Only proceed if the user confirms.

3. Authenticate

Follow the steps in references/auth.md to resolve the API key and base URL.

4. Delete the image

Run:

curl -s -w '\n%{http_code}' -X DELETE \
  -H "Authorization: Bearer <api_key>" \
  <base_url>/i/<image_id>

Parse the last line as the HTTP status code and everything before it as the response body.

5. Handle the response

Success (HTTP 200) — the response body is:

{
  "success": true,
  "message": "File deleted successfully",
  "id": "img_..."
}

Present to the user:

  • Confirm the image was deleted successfully
  • Show the deleted image ID
  • If the user was deleting to free space, suggest running /stats to check updated usage

Error — see references/auth.md for common error codes. Additional delete-specific codes:

code Suggested fix
filenotfound The image ID was not found. Use /files to list your images and find the correct ID

If the server returns a non-JSON response or an unexpected HTTP status, tell the user the API may be temporarily unavailable.