π¦ ClawHub
Eagle Skill
by @roaycl
Control Eagle application for digital asset management - search, organize, tag items, manage folders and tag groups. Use when user wants to interact with the...
TERMINAL
clawhub install eagle-skillπ About This Skill
name: eagle description: Control Eagle application for digital asset management - search, organize, tag items, manage folders and tag groups. Use when user wants to interact with their Eagle library, search for images, manage tags or folders. allowed-tools: Bash(node *)
Eagle API Skill
Control the local Eagle application through CLI commands. Eagle is a digital asset management tool for organizing images, videos, fonts, and design files.
Prerequisites
CLI Usage
The CLI script is located at scripts/eagle-api-cli.js relative to this skill directory.
# Call a tool with JSON parameters
node scripts/eagle-api-cli.js call --json '{"key": "value"}'Call a tool with individual parameters
node scripts/eagle-api-cli.js call --param1 value1 --param2 value2List all available tools
node scripts/eagle-api-cli.js listGet help for a specific tool
node scripts/eagle-api-cli.js help
Array and object values are auto-parsed from JSON:
node scripts/eagle-api-cli.js call item_get --tags '["photo","landscape"]' --limit 10
Tool Categories
Choose the relevant reference file for detailed tool documentation:
Common Workflows
Search for items
# Text search
node scripts/eagle-api-cli.js call item_query --query "sunset landscape"Filter by tags and extension
node scripts/eagle-api-cli.js call item_get --tags '["photo"]' --ext "jpg" --limit 20Get selected items in Eagle
node scripts/eagle-api-cli.js call item_get_selected
Organize items
# Add tags to items
node scripts/eagle-api-cli.js call item_add_tags --json '{"ids": ["item1", "item2"], "tags": ["reviewed", "approved"]}'Move items to folders
node scripts/eagle-api-cli.js call item_add_to_folders --json '{"ids": ["item1"], "folders": ["folder_id"]}'Create a new folder
node scripts/eagle-api-cli.js call folder_create --json '{"folders": [{"name": "My Folder", "iconColor": "blue"}]}'
Tag management
# List all tags
node scripts/eagle-api-cli.js call tag_getMerge duplicate tags
node scripts/eagle-api-cli.js call tag_merge --json '{"sourceTags": ["photo", "photograph"], "targetTag": "photo"}'