lightning-artifacts

Publish local files to Lightning AI storage for permanent public URLs.

5|Updated Jul 3, 2026
One-click install
npx skills add https://github.com/Lightning-AI/skills --skill lightning-artifacts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lightning-artifacts
Source: https://github.com/Lightning-AI/skills/tree/main/lightning-artifacts
Command: npx skills add https://github.com/Lightning-AI/skills --skill lightning-artifacts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the challenge of sharing agent-generated files, reports, or datasets by providing a permanent, public URL that renders inline in any browser without requiring the recipient to have a Lightning AI account.

Core Features & Use Cases

  • Durable Sharing: Generate permanent lightning.ai/artifacts/ links that do not expire, unlike temporary presigned cloud storage URLs.
  • Inline Rendering: Automatically configures content types so that HTML, PDF, and image files display directly in the browser.
  • Lifecycle Management: Easily list, revoke, or delete shared artifacts directly through the CLI.
  • Use Case: An agent generates a complex HTML dashboard or a PDF report and needs to provide a stable, clickable link to a stakeholder or a CI/CD pipeline.

Quick Start

Use the lightning-artifacts skill to publish the file named report.html and provide the resulting public URL.

Frequently Asked Questions about lightning-artifacts

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

FAQPage Schema
How do I generate permanent public links for agent-generated HTML reports and datasets?

To generate permanent public links for agent-generated files, you publish local HTML reports or datasets to Lightning AI storage. This process creates durable lightning.ai/artifacts/ URLs that render inline in any browser without requiring recipients to have an account.

What is the best way to share a PDF dashboard with external stakeholders without expiring links?

The best way to share a PDF dashboard without expiring links is to use Lightning AI storage, which generates durable public-facing URLs. Unlike temporary presigned cloud storage URLs, these artifact links do not expire and automatically configure content types for inline browser viewing.

How do I publish local files to Lightning AI storage using the CLI?

To publish local files to Lightning AI storage, you use the lightning-sdk CLI to manage multipart uploads, content-type headers, and artifact registration. Executing the publish command with your target file, such as report.html, instantly returns a shareable public URL.

Can I display HTML and PDF files inline in a browser when sharing artifacts?

Yes, you can display HTML and PDF files inline in a browser when sharing artifacts. The system automatically configures content-type headers during the upload process, ensuring that HTML, PDF, and image files render directly in the browser for viewers.

How do I manage the lifecycle of shared artifacts and revoke public URLs?

To manage the lifecycle of shared artifacts and revoke public URLs, you use the lightning-sdk CLI. The CLI allows you to easily list previously published files, revoke access by deleting shared artifacts, and control the availability of your reports and datasets.

Do I need a Lightning AI account to view files published through the artifacts CLI?

No, recipients do not need a Lightning AI account to view files published through the artifacts CLI. The generated lightning.ai/artifacts/ links are public-facing and render inline in any standard browser, ensuring frictionless sharing across teamspace and external stakeholders.