A base skill for the Refly ecosystem to run, create, and manage automated domain-specific workflows via CLI.

Install

mkdir -p .claude/skills/refly && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2979" && unzip -o skill.zip -d .claude/skills/refly && rm skill.zip

Installs to .claude/skills/refly

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
432 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Routes user intent to domain-specific skills
  • Manages multi-step task pipelines
  • Lists and executes installed automation workflows
  • Downloads files from workflow outputs

How it works

It acts as a base skill that routes requests to specific domain skills via symlinks and delegates execution to the Refly backend CLI.

Inputs & outputs

You give it
User intent or workflow command
You get back
Execution status, workflow results, or downloaded files

When to use refly

  • Run installed automation workflows
  • List available domain-specific skills
  • Check status of multi-step task pipelines
  • Download files from workflow outputs

About this skill

Refly

Rules

  1. CLI only - Use refly <command>, never call API directly.
  2. Trust JSON - Only trust CLI JSON (ok, payload, error, hint).
  3. No fabricated IDs - Never invent workflow/run/node IDs.
  4. No tokens - Never print or request auth tokens.
  5. Stop on error - If ok=false, stop and show hint.

Available Commands

CommandID FormatDescription
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-xxxRun an installed skill, returns runId (we-xxx)
refly workflow status <runId> --watchwe-xxxWatch workflow execution status
refly workflow detail <runId>we-xxxGet workflow run details
refly workflow toolcalls <runId> --files --latestwe-xxxGet files from latest toolcall
refly file download <fileId> -o <path>df-xxxDownload a file

Tip: Get installationId (skpi-xxx) from refly skill installations.

Command Options

CommandOptionDescription
workflow status--watchPoll until workflow completes
workflow status--interval <ms>Polling interval in milliseconds (default: 5000)
workflow toolcalls--filesReturn simplified output with only files and content
workflow toolcalls--latestWith --files, return only files from the most recent toolcall
workflow toolcalls--rawDisable 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:

CategorySkillsOutputPattern
File Generationimage, video, audio skillsFiles (png/mp4/mp3)Run → Wait → Download → Open
Text/Datasearch, research, report skillsText contentRun → Wait → Extract content
Actionemail, messaging, integration skillsStatus confirmationRun → 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 FormatExampleUsed For
skpi-xxxskpi-h9kpmts9ho1kl9l1sohaloeuskill run --id only
we-xxxwe-abc123def456workflow status, workflow detail, workflow toolcalls
c-xxxc-g6emwcpi1wpalsz6j4gyi3d9Browser URL only
df-xxxdf-b3yxyelshtwsbxbrkmcqxmx9file download
skpe-xxxskpe-qga5lpyv59yjzz2ghz2iv9bu⚠️ Do NOT use for workflow commands

Required behavior:

  • skill run returns RUN_ID (we-xxx) in .payload.workflowExecutions[0].id
  • Use we-xxx for all workflow commands (status, detail, toolcalls)
  • Choose execution pattern (A/B/C) based on skill category
  • File skills: Download to ~/Desktop/ and open to show user
  • Text skills: Extract .payload.nodes[].content for text output
  • Action skills: Confirm .payload.status for completion

Directory Structure

~/.refly/skills/
├── base/                       # Base skill files (this symlink target)
│   ├── SKILL.md
│   └── rules/
│       ├── execution.md
│       ├── workflow.md
│       ├── node.md
│       ├── file.md
│       └── skill.md
└── <skill-name>/               # Domain skill directories
    └── SKILL.md

~/.claude/skills/
├── refly → ~/.refly/skills/base/           # Base skill symlink
└── <skill-name> → ~/.refly/skills/<name>/  # Domain skill symlinks

Routing

User intent -> match domain skill (name/trigger) in ~/.claude/skills/ -> read domain skill SKILL.md -> execute via refly skill run -> return CLI-verified result.

References

  • rules/execution.md - Skill execution patterns and error handling
  • rules/workflow.md - Workflow command reference
  • rules/node.md - Node command reference
  • rules/file.md - File command reference
  • rules/skill.md - Customized Skill command reference

When not to use it

  • When the @refly/cli is not installed or authenticated
  • When the task does not involve Refly-managed workflows

Prerequisites

@refly/cli installedAuthentication with Refly

Limitations

  • Requires CLI authentication
  • Must use specific ID formats for commands

How it compares

It provides a unified interface for discovering and running domain-specific automation workflows instead of manual execution.

Compared to similar skills

refly side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
refly (this skill)46moReviewIntermediate
using-superpowers953moNo flagsBeginner
ultrawork112moNo flagsAdvanced
clawhub252moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

using-superpowers

obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

95205

ultrawork

Yeachan-Heo

Parallel execution engine for high-throughput task completion

11184

clawhub

openclaw

Use the ClawHub CLI to search, install, update, and publish agent skills from clawhub.com. Use when you need to fetch new skills on the fly, sync installed skills to latest or a specific version, or publish new/updated skill folders with the npm-installed clawhub CLI.

25151

skill-installer

openai

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

29141

continuous-learning

affaan-m

Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.

995

memory-keeper-proactive-context-maintenance

b4CU-R4U

Automatically detect and maintain memory freshness by monitoring context staleness, significant code changes, task completions, and phase transitions. Proactively suggests and executes memory sync operations with user confirmation. Use when the user says "sync memory", "update context", or when the Skill detects that context is stale (>2 hours), significant changes have occurred (new commits), tasks completed, or major milestones reached. Replaces passive "context is stale" warnings with active maintenance.

694

Search skills

Search the agent skills registry