jjenkins/agent-image-skills · Archived

image-stats

View image storage usage, quota, and statistics for Lab Nocturne.

First seen Mar 1, 2026

Installation

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

Summary

  • View image storage usage, quota, and statistics for Lab Nocturne.
  • Check how many images are stored, how much space is used, and remaining capacity.
  • Storage monitoring for AI agents managing hosted images and CDN assets.
  • Use this skill whenever the user asks about storage, usage, quota, capacity, or how many images they have — even indirectly like 'am I running low on space'.
  • Triggered by /stats 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
storage-stats usage-monitoring image-storage quota-check

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,115 B
  • docs SUMMARY.md 432 B

History

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

SKILL.md

Usage Statistics

View storage usage and quota statistics for your Lab Nocturne Images account.

Invocation

/stats — also triggered naturally (e.g. "show my image stats", "how much storage am I using", "check my quota", "am I running out of space").

Instructions

1. Authenticate

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

2. Fetch statistics

Run:

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

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

3. Handle the response

Success (HTTP 200) — the response body is:

{
  "storage_used_bytes": 1234567,
  "storage_used_mb": 1.18,
  "file_count": 5,
  "quota_bytes": 104857600,
  "quota_mb": 100,
  "usage_percent": 1.18
}

Present to the user as a summary:

  • Files: the file_count value
  • Storage used: the storageusedmb value formatted with units (e.g. "1.18 MB of 100 MB")
  • Usage: the usage_percent value with a visual indicator (e.g. "1.18% used")
  • If usage_percent >= 80, warn the user they are approaching their storage limit. Suggest using /files to review uploads and /delete <id> to free space
  • If usage_percent >= 95, strongly warn the user they are nearly out of storage and uploads may fail soon. Suggest cleanup or upgrading

Error — see references/auth.md for common error codes. If the server returns a non-JSON response or an unexpected HTTP status, tell the user the API may be temporarily unavailable.