refly
What it does
This skill lets an agent find, run, and monitor Refly skills and multi-step workflows through the Refly CLI. It is for people who use Refly to automate repeated tasks.
When to use it
- ✓When you want to run a saved Refly skill or workflow.
- ✓When you want to check the status of a workflow that is still running.
- ✓When you want to download the files a workflow produced.
Skill link
https://github.com/refly-ai/refly/blob/main/packages/cli/skill/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run my weekly report workflow in Refly and tell me when it finishes.”
5 new skills a week. 1 minute to read.
How it works
The agent uses the Refly command line to list installed skills, start a run with its input, and watch progress. It relies only on the command output and never invents IDs or handles tokens.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Refly
Rules
- CLI only - Use
refly <command>, never call API directly. - Trust JSON - Only trust CLI JSON (
ok,payload,error,hint). - No fabricated IDs - Never invent workflow/run/node IDs.
- No tokens - Never print or request auth tokens.
- Stop on error - If
ok=false, stop and showhint.
Available Commands
| Command | ID Format | Description |
|---|---|---|
refly status |
- | Check authentication and connection status |
refly login |
- | Authenticate with Refly |
refly skill list |
- | List all available skills in the marketplace |
refly skill installations |
- | List your installed skills (get installationId here) |
refly skill run --id <installationId> --input '<json>' |
skpi-xxx | Run an installed skill, returns runId (we-xxx) |
refly workflow status <runId> --watch |
we-xxx | Watch workflow execution status |
refly workflow detail <runId> |
we-xxx | Get workflow run details |
refly workflow toolcalls <runId> --files --latest |
we-xxx | Get files from latest toolcall |
refly file download <fileId> -o <path> |
df-xxx | Download a file |
Tip: Get installationId (skpi-xxx) from refly skill installations.
Command Options
| Command | Option | Description |
|---|---|---|
workflow status |
--watch |
Poll until workflow completes |
workflow status |
--interval <ms> |
Polling interval in milliseconds (default: 5000) |
workflow toolcalls |
--files |
Return simplified output with only files and content |
workflow toolcalls |
--latest |
With --files, return only files from the most recent toolcall |
workflow toolcalls |
--raw |
Disable output sanitization (show full tool outputs) |
Recommended: Use --files --latest to get files from the final output without processing all toolcalls.
Skill Categories & Execution Patterns
Choose the execution pattern based on the skill's output type:
| Category | Skills | Output | Pattern |
|---|---|---|---|
| File Generation | image, video, audio skills | Files (png/mp4/mp3) | Run → Wait → Download → Open |
| Text/Data | search, research, report skills | Text content | Run → Wait → Extract content |
| Action | email, messaging, integration skills | Status confirmation | Run → Wait → Confirm |
Pattern A: File Generation Skills
Use for: nano-banana-pro, fal-image, fal-video, fal-audio, seedream-image, kling-video, wan-video
# Step 1: Run and capture RUN_ID
RESULT=$(refly skill run --id <installationId> --input '<json>')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# Step 2: Wait for completion
refly workflow status "$RUN_ID" --watch --interval 30000
# Step 3: Get files and download to Desktop
FILES=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.files[]')
echo "$FILES" | jq -c '.' | while read -r file; do
FILE_ID=$(echo "$file" | jq -r '.fileId')
FILE_NAME=$(echo "$file" | jq -r '.name')
if [ -n "$FILE_ID" ] && [ "$FILE_ID" != "null" ]; then
refly file download "$FILE_ID" -o "$HOME/Desktop/${FILE_NAME}"
open "$HOME/Desktop/${FILE_NAME}"
fi
done
Pattern B: Text/Data Skills
Use for: jina, perplexity, weather-report, exa, research skills
# Step 1: Run and capture RUN_ID
RESULT=$(refly skill run --id <installationId> --input '<json>')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# Step 2: Wait for completion
refly workflow status "$RUN_ID" --watch --interval 30000
# Step 3: Extract text content from toolcalls
CONTENT=$(refly workflow toolcalls "$RUN_ID" --files --latest | jq -r '.payload.nodes[].content')
echo "$CONTENT"
Pattern C: Action Skills
Use for: send-email, slack, microsoft-teams, zoom, calendar, CRM integrations
# Step 1: Run and capture RUN_ID
RESULT=$(refly skill run --id <installationId> --input '<json>')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# Step 2: Wait for completion
refly workflow status "$RUN_ID" --watch --interval 30000
# Step 3: Confirm action status
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status')
echo "Action completed with status: $STATUS"
ID Types:
| ID Format | Example | Used For |
|---|---|---|
skpi-xxx |
skpi-h9kpmts9ho1kl9l1sohaloeu | skill run --id only |
we-xxx |
we-abc123def456 |
FAQ
Does the agent guess workflow IDs?
No. The skill says never to invent workflow, run, or node IDs.
What happens if a command fails?
The agent stops and shows the hint from the command output.
Can it create new skills too?
Yes. The skill also covers creating skills bound to workflows.
Details
Original description by the author
Base skill for Refly ecosystem: creates, discovers, and runs domain-specific skills bound to workflows. Routes user intent to matching domain skills via symlinks, delegates execution to Refly backend. Use when user asks to: create skills, run workflows, automate multi-step tasks, or manage pipelines. Triggers: refly, skill, workflow, run skill, create skill, automation, pipeline. Requires: @refly/cli installed and authenticated.
repo: refly-ai/refly
Popularity
- GitHub stars
- 7.5k
- Ranking position
- #13212
- License
- —
- Updated
- 11/2/2026
Comments
- …
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.