lsky-uploader

Upload images to a self-hosted Lsky Pro instance and return shareable URLs.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/cihebi2/codex_skills --skill lsky-uploader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lsky-uploader
Source: https://github.com/cihebi2/codex_skills/tree/main/lsky-uploader
Command: npx skills add https://github.com/cihebi2/codex_skills --skill lsky-uploader

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates pushing local images to a self-hosted Lsky Pro instance and returns shareable URLs and Markdown snippets, enabling seamless embedding in documentation and blogs.

Core Features & Use Cases

  • Upload images to a Lsky Pro instance via REST API and retrieve direct URL, Markdown snippet, and delete URL.
  • Manage albums and storage strategies to organize assets across projects.
  • Use-case: automatically publish screenshots or assets from a CI pipeline and embed links in a blog or documentation.

Quick Start

Provide your Lsky token and base URL, then run the helper script:

  • Set token: export LSKY_TOKEN=your_token
  • Upload: python scripts/upload_image.py path/to/file.png --token "$LSKY_TOKEN" --base-url https://lsky.yourdomain/api/v1 The script prints the image URLs and Markdown snippet for easy paste.

Frequently Asked Questions about lsky-uploader

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

FAQPage Schema
How do I upload images to Lsky Pro via API and get Markdown links?

To upload images to Lsky Pro, run a Python helper script using the requests library to perform multipart form-data uploads. The script returns direct URLs, Markdown snippets, and delete endpoints for embedding images in documentation.

Can I automate image uploads to a self-hosted Lsky Pro instance from a CI pipeline?

You can automate image uploads to a self-hosted Lsky Pro instance by invoking the Python helper script within your CI pipeline. The script accepts environment variables for authentication and outputs structured links for automated asset publishing.

Does the Lsky Pro upload script require any specific Python dependencies?

The Lsky Pro upload script requires the Python requests library to handle multipart form-data transmission. You must also provide your Lsky Pro API token and base URL to authenticate the image upload requests.

How do I organize uploaded images into albums and storage strategies in Lsky Pro?

Organizing uploaded images in Lsky Pro is handled by passing album and strategy IDs during the API upload process. This allows you to manage assets across different projects and storage configurations programmatically.

What output formats do I get after pushing an image to Lsky Pro?

After pushing an image to Lsky Pro, the script prints structured results including the direct image URL, a Markdown snippet for embedding, and a delete URL. This output format enables seamless integration into blogs and documentation.