youtube

📁 refly-ai/refly-skills 📅 8 days ago
8
总安装量
3
周安装量
#36020
全站排名
安装命令
npx skills add https://github.com/refly-ai/refly-skills --skill youtube

Agent 安装分布

openclaw 3
mcpjam 2
claude-code 2
junie 2
zencoder 2

Skill 文档

Youtube

Integrate with YouTube for video management. Use when you need to: (1) upload videos to YouTube, (2) manage channel content, or (3) retrieve video analytics and insights.

Input

Provide input as JSON:

{
  "video_file": "<file-reference>",
  "video_title": "Title for your YouTube video",
  "video_description": "Description for your YouTube video",
  "video_tags": "Tags for your video (comma-separated)",
  "privacy_status": "Privacy status: public, private, or unlisted"
}

Execution (Pattern C: Action)

Step 1: Run the Skill and Get Run ID

RESULT=$(refly skill run --id skpi-jdgmfvnvnx0fxm3npchfuqwg --input '{
  "video_id": "dQw4w9WgXcQ",
  "action": "get_details"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands

Step 2: Open Workflow in Browser and Wait for Completion

open "https://refly.ai/workflow/c-i7p2l6i0ceoa8urcbtk06rbi"
refly workflow status "$RUN_ID" --watch --interval 30000

Step 3: Confirm Action Status

# Confirm action completed
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status')
echo "Action completed with status: $STATUS"

Expected Output

  • Type: API Response
  • Format: JSON video/channel data
  • Action: Confirm video uploaded or details retrieved

Rules

Follow base skill workflow: ~/.claude/skills/refly/SKILL.md