Chuyển đến nội dung
Skillpedia
Agent7.5k · #13212

refly

Skill này làm gì

Skill này cho phép agent tìm, chạy và theo dõi các skill và quy trình nhiều bước của Refly qua CLI Refly. Dành cho người dùng Refly muốn tự động hóa các việc lặp đi lặp lại.

Khi nào nên dùng

  • ✓Khi bạn muốn chạy một skill hoặc quy trình Refly đã lưu.
  • ✓Khi bạn muốn kiểm tra trạng thái của một quy trình vẫn đang chạy.
  • ✓Khi bạn muốn tải các file mà một quy trình đã tạo ra.

Liên kết skill

https://github.com/refly-ai/refly/blob/main/packages/cli/skill/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/refly-ai/refly/blob/main/packages/cli/skill/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy quy trình báo cáo hằng tuần của tôi trong Refly và cho tôi biết khi nào nó hoàn thành.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng CLI Refly để liệt kê các skill đã cài, khởi chạy một lần chạy với đầu vào của nó, và theo dõi tiến trình. Nó chỉ dựa vào đầu ra của lệnh và không bao giờ tự tạo ID hay xử lý token.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

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
Câu hỏi thường gặp

Agent có tự đoán ID quy trình không?

Không. Skill nói không bao giờ được tự tạo ID của quy trình, lần chạy hoặc node.

Nếu một lệnh bị lỗi thì sao?

Agent dừng lại và hiển thị gợi ý từ đầu ra của lệnh.

Nó có tạo được skill mới không?

Có. Skill cũng bao gồm việc tạo các skill gắn với quy trình.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
7.5k
Vị trí xếp hạng
#13212
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự