instagram について
Instagramへの投稿や、メディアとインサイトに関する操作を行うReflyスキルです。投稿文と画像、またはインサイトの期間を入力し、ワークフローで処理します。
主な機能
- 01Instagramへの投稿
- 02メディアの管理
- 03インサイトの取得
- 04投稿ワークフローの実行
- 05投稿処理ステータスの返却
活用シーン
- 01キャプション付き画像の投稿
- 02指定期間のInstagramインサイト確認
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ refly-ai/ refly-skills --skill instagramインストール後、Claude Code で/instagramを入力して読み込まれたか確認します。
同梱ファイルREADME.md
詳細
ソーシャルメディア向けに Instagram と連携します。次のことが必要な場合に使用します:(1)Instagram にコンテンツを投稿する、(2)メディアやインサイトを管理する、または(3)Instagram への投稿ワークフローを自動化する。
入力
JSON 形式で入力します:
{
"post_caption": "Caption text for your Instagram post",
"post_image": "<file-reference>",
"insights_period": "Time period for analytics insights (e.g., 'last 7 days', 'last 30 days')"
}
実行(パターン C:アクション)
ステップ 1:スキルを実行して実行 ID を取得する
RESULT=$(refly skill run --id skpi-ouiqydzmtpr5oeu9i6b6akfn --input '{
"image_url": "https://example.com/image.jpg",
"caption": "Check out our new product! #launch"
}')
RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
# RUN_ID is we-xxx format, use this for workflow commands
ステップ 2:ブラウザーでワークフローを開き、完了を待つ
open "https://refly.ai/workflow/c-z15u3sezyx46cvplswiukpel"
refly workflow status "$RUN_ID" --watch --interval 30000
ステップ 3:アクションのステータスを確認する
# Confirm post published
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status')
echo "Action completed with status: $STATUS"
期待される出力
- タイプ:API レスポンス
- 形式:JSON による投稿確認
- アクション:投稿が正常に公開されたことを確認する
ルール
基本のスキルワークフローに従ってください:~/.claude/skills/refly/SKILL.md
コメント
Markdown 対応