linear-uploads

Fetch Linear issue attachments and images via linear-cli to files or stdout.

Updated Jul 11, 2022
One-click install
npx skills add https://github.com/kvnxiao/.dotfiles --skill linear-uploads
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: linear-uploads
Source: https://github.com/kvnxiao/.dotfiles/tree/main/claude/skills/linear-uploads
Command: npx skills add https://github.com/kvnxiao/.dotfiles --skill linear-uploads

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the retrieval of attachments and images from Linear issues, eliminating manual download steps and speeding up content collection.

Core Features & Use Cases

  • Download attachments to a file with linear-cli up fetch "https://uploads.linear.app/..." -f filename
  • Output raw bytes to stdout for piping or base64 encoding
  • Find Upload URLs in issue descriptions and comments using linear-cli commands Use Case: When you need to collect all screenshots and file attachments from a Linear ticket for QA reports or archival purposes.

Quick Start

Install and configure linear-cli, then run a command like: linear-cli up fetch "https://uploads.linear.app/{org}/{upload}/{filename}" -f /path/to/file Or pipe to stdout: linear-cli up fetch "https://uploads.linear.app/{org}/{upload}/{filename}" | base64

Frequently Asked Questions about linear-uploads

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

FAQPage Schema
How do I download attachments and images from Linear issues?

To download Linear attachments, use the linear-cli up fetch command with the upload URL and specify an output file using the -f flag, which saves the image or file content directly to your local path.

Can I pipe Linear attachment downloads to stdout for base64 encoding?

Yes, you can pipe Linear attachment downloads to stdout by omitting the -f file flag, allowing you to pipe the raw bytes directly into base64 encoding or another command-line utility.

How do I find upload URLs in Linear issue descriptions and comments?

You can find upload URLs in Linear issue descriptions and comments by running linear-cli commands to retrieve issue details, which will expose the uploads.linear.app URL pattern needed for fetching attachments.

Do I need linear-cli installed to fetch screenshots from Linear tickets?

Yes, you need linear-cli installed and configured to fetch screenshots from Linear tickets, as this Skill relies on the CLI to automate retrieval of attachments and images from issue descriptions or comments.

What's the best way to automate collecting screenshots from Linear for QA reports?

Automating screenshot collection for QA reports is best done by using linear-cli to fetch and save attachments from Linear issues, eliminating manual download steps and speeding up content archival.

Does this Linear attachment download approach handle the uploads.linear.app URL pattern?

Yes, this approach specifically handles the uploads.linear.app URL pattern, ensuring that attachments hosted on Linear's upload domain are correctly identified and fetched using linear-cli commands.