image-stats

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

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "image-stats" with this command: npx skills add jjenkins/agent-image-skills/jjenkins-agent-image-skills-image-stats

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 image storage am I using", "check my image hosting usage").

Instructions

Follow these steps exactly:

  1. Resolve the API key
  • Check if $LABNOCTURNE_API_KEY is set: run echo $LABNOCTURNE_API_KEY .

  • If the variable is empty or unset, generate a test key automatically: curl -s https://images.labnocturne.com/key

The response is JSON: {"api_key": "ln_test_..."} . Extract the api_key value and use it. Tell the user a temporary test key was generated.

  • If the variable is set, use its value.
  1. Resolve the base URL
  1. Fetch statistics

Run:

curl -s -H "Authorization: Bearer <api_key>" <base_url>/stats

  1. Handle the response

Success — 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 storage_used_mb 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 that they are approaching their storage limit

  • If usage_percent

= 95, strongly warn the user that they are nearly out of storage and should delete old files or upgrade

Error — the response body is:

{ "error": { "message": "Human-readable message", "type": "error_category", "code": "machine_readable_code" } }

Show the error message to the user and suggest a fix based on the error code:

code

Suggested fix

missing_api_key

Set $LABNOCTURNE_API_KEY or let the skill generate a test key

invalid_api_key

Check that $LABNOCTURNE_API_KEY is correct, or unset it to auto-generate a test key

invalid_auth_format

The key should be passed as Bearer <key> — this is handled automatically

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

image-upload

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

clinic-visit-prep

帮助患者整理就诊前问题、既往记录、检查清单与时间线,不提供诊断。;use for healthcare, intake, prep workflows;do not use for 给诊断结论, 替代医生意见.

Archived SourceRecently Updated
Automation

changelog-curator

从变更记录、提交摘要或发布说明中整理对外 changelog,并区分用户价值与内部改动。;use for changelog, release-notes, docs workflows;do not use for 捏造未发布功能, 替代正式合规审批.

Archived SourceRecently Updated
Automation

klaviyo

Klaviyo API integration with managed OAuth. Access profiles, lists, segments, campaigns, flows, events, metrics, templates, catalogs, and webhooks. Use this skill when users want to manage email marketing, customer data, or integrate with Klaviyo workflows. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

Archived SourceRecently Updated