linear-uploads
Linear Uploads
Download attachments and images from Linear issues using linear-cli.
Download to File
# Download image/attachment to file
linear-cli up fetch "https://uploads.linear.app/..." -f image.png
# Download to temp directory
linear-cli up fetch "https://uploads.linear.app/..." -f /tmp/screenshot.png
Output to Stdout
# Pipe to other tools
linear-cli up fetch "https://uploads.linear.app/..." | base64
# Redirect to file
linear-cli up fetch "https://uploads.linear.app/..." > file.png
Finding Upload URLs
Upload URLs are found in:
- Issue descriptions (
linear-cli i get LIN-123 --output json) - Comments (
linear-cli cm list LIN-123 --output json)
URL pattern: https://uploads.linear.app/{org}/{upload}/{filename}
View Images (AI Agents)
Since Claude is multimodal, download then read:
# 1. Download to temp file
linear-cli up fetch "https://uploads.linear.app/..." -f /tmp/screenshot.png
# 2. Use Read tool on the file
# Claude can view images directly
Tips
- Requires valid LINEAR_API_KEY
- Use
-f/--fileto specify output filename - Without
-f, outputs raw bytes to stdout - URLs must be from
uploads.linear.app
More from finesssee/linear-cli
linear-create
Create Linear issues. Use when creating bugs, tasks, or feature requests.
100linear-list
List and get Linear issues. Use when viewing issues, checking status, or fetching issue details.
98linear-search
Search Linear issues and projects. Use when finding issues, looking up bugs, or searching the backlog.
95linear-update
Update Linear issues. Use when changing status, priority, assignee, or labels.
95linear-workflow
Start/stop work on Linear issues. Use when beginning work, creating branches, or getting current issue context.
91linear-projects
Manage Linear projects - full CRUD with labels, members, archive. Use when managing projects.
89