confluence-attachmentlisted
Install: claude install-skill ulises-jeremias/agent-toolkit
# Confluence Attachment Skill
Manage file attachments on Confluence pages.
---
## ⚠️ PRIMARY USE CASE
**This skill manages files attached to Confluence pages.** Use for:
- Uploading files to pages
- Downloading attachments
- Listing files on a page
- Deleting attachments
---
## When to Use / When NOT to Use
| Use This Skill | Use Instead |
|----------------|-------------|
| Upload/download files | - |
| List page attachments | - |
| Delete attachments | - |
| Create/edit pages | `confluence-page` |
| Search for content | `confluence-search` |
---
## Risk Levels
| Operation | Risk | Notes |
|-----------|------|-------|
| List/download | - | Read-only |
| Upload | - | Can be deleted |
| Update | ⚠️ | Replaces existing file |
| Delete | ⚠️ | Moves to trash (recoverable) |
| Delete `--purge` | ⚠️⚠️ | **Permanent** - only works on an already-trashed attachment |
---
## CLI Commands
### confluence-as attachment upload
Upload a file to a page.
**Usage:**
```bash
confluence-as attachment upload PAGE_ID FILE_PATH
confluence-as attachment upload 12345 report.pdf
confluence-as attachment upload 12345 image.png --comment "Screenshot"
confluence-as attachment upload 12345 data.csv --output json
```
**Options:**
- `--comment` - Comment describing the attachment
- `--output, -o` - Output format: `text` (default) or `json`
### confluence-as attachment download
Download an attachment.
**Usage:**
```bash
confluence-as attachment download ATTACHMENT_ID --output ./downloads/
con