About linear-attachments
linear-attachments is a skill for managing attachments on Linear issues through linear-cli. It supports listing attachments and retrieving or creating attachment records.
Key features
- 01List issue attachments
- 02Retrieve attachment details
- 03Create attachments
- 04JSON output option
Use cases
- 01Review files linked to an issue
- 02Look up an attachment by ID
- 03Add a URL attachment to an issue
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ nesszer/ linear-cli --skill linear-attachmentsAfter installing, type/linear-attachmentsin Claude Code to confirm it loaded.
Details
From the project READMEAttachments
# List attachments on an issue
linear-cli att list SCW-123
linear-cli att list SCW-123 --output json
# Get attachment details
linear-cli att get ATTACHMENT_ID
# Create attachment
linear-cli att create SCW-123 -T "Design Doc" -u https://example.com
# Link a URL to an issue (shorthand)
linear-cli att link-url SCW-123 https://example.com
# Update attachment
linear-cli att update ATTACHMENT_ID -T "New Title"
# Delete attachment
linear-cli att delete ATTACHMENT_ID --force
Flags
| Flag | Purpose |
|---|---|
-T TITLE | Attachment title |
-u URL | Attachment URL |
--output json | JSON output |
--force | Skip delete confirmation |
Exit Codes
0=Success, 1=Error, 2=Not found, 3=Auth error
Comments
Markdown supported