# Send Drafts CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "drafts",
    "name": "Drafts CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nerveband/drafts",
    "canonicalUrl": "https://clawhub.ai/nerveband/drafts",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/drafts",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drafts",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "drafts",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T17:00:39.578Z",
      "expiresAt": "2026-05-09T17:00:39.578Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drafts",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=drafts",
        "contentDisposition": "attachment; filename=\"drafts-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "drafts"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/drafts"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/drafts",
    "downloadUrl": "https://openagent3.xyz/downloads/drafts",
    "agentUrl": "https://openagent3.xyz/skills/drafts/agent",
    "manifestUrl": "https://openagent3.xyz/skills/drafts/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/drafts/agent.md"
  }
}
```
## Documentation

### Drafts CLI

Manage Drafts notes from the terminal on macOS.

### IMPORTANT REQUIREMENTS

This CLI ONLY works on macOS with Drafts app running.

macOS only - Uses AppleScript, will not work on Linux/Windows
Drafts must be RUNNING - The app must be open for any command to work
Drafts Pro required - Automation features require Pro subscription

If commands fail or hang, first check: open -a Drafts

### Setup

Install via Go:

go install github.com/nerveband/drafts/cmd/drafts@latest

Or build from source:

git clone https://github.com/nerveband/drafts
cd drafts && go build ./cmd/drafts

### Create a Draft

# Simple draft
drafts create "Meeting notes for Monday"

# With tags
drafts create "Shopping list" -t groceries -t todo

# Flagged draft
drafts create "Urgent reminder" -f

# Create in archive
drafts create "Reference note" -a

### List Drafts

# List inbox (default)
drafts list

# List archived drafts
drafts list -f archive

# List trashed drafts
drafts list -f trash

# List all drafts
drafts list -f all

# Filter by tag
drafts list -t mytag

### Get a Draft

# Get specific draft
drafts get <uuid>

# Get active draft (currently open in Drafts)
drafts get

### Modify Drafts

# Prepend text
drafts prepend "New first line" -u <uuid>

# Append text
drafts append "Added at the end" -u <uuid>

# Replace entire content
drafts replace "Completely new content" -u <uuid>

### Edit in Editor

drafts edit <uuid>

### Run Actions

# Run action on text
drafts run "Copy" "Text to copy to clipboard"

# Run action on existing draft
drafts run "Copy" -u <uuid>

### Get Schema

# Full schema for LLM integration
drafts schema

# Schema for specific command
drafts schema create

### Output Format

JSON (default) - All commands return structured JSON:

{
  "success": true,
  "data": {
    "uuid": "ABC123",
    "content": "Note content",
    "title": "Note title",
    "tags": ["tag1", "tag2"],
    "folder": "inbox"
  }
}

Plain text - Human-readable output:

drafts list --plain

### Quick Capture

drafts create "Remember to call dentist tomorrow" -t reminder

### Daily Journal

drafts append "$(date): Completed project review" -u <journal-uuid>

### Search and Review

# List all drafts with a specific tag
drafts list -t work

# Get full content of a draft
drafts get <uuid>

### Troubleshooting

Commands fail or return empty:

Is Drafts running? → open -a Drafts
Is Drafts Pro active? → Automation requires Pro
Permissions granted? → System Settings > Privacy > Automation

Commands hang:

Check if Drafts is showing a dialog

### Notes

macOS ONLY (AppleScript-based)
Drafts app MUST be running
Requires Drafts Pro subscription
All UUIDs are Drafts-generated identifiers
Tags are case-sensitive

### Version

Latest (from go install)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: nerveband
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T17:00:39.578Z
- Expires at: 2026-05-09T17:00:39.578Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/drafts)
- [Send to Agent page](https://openagent3.xyz/skills/drafts/agent)
- [JSON manifest](https://openagent3.xyz/skills/drafts/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/drafts/agent.md)
- [Download page](https://openagent3.xyz/downloads/drafts)