/install instagram-caption-scraper
Instagram Caption Scraper
Purpose
Extract the caption text from a public Instagram post or reel URL provided by the user.
When to Use This Skill
Trigger this skill when the user:
- Shares an Instagram URL containing
/p/or/reel/ - Says "get the caption", "what does this post say", "read this reel", "summarise this Instagram post"
- Wants to translate, rewrite, or analyse an Instagram caption
How to Run
Execute the following shell command, replacing {{url}} with the Instagram URL:
python3 {{skill_dir}}/instagram_scraper.py {{url}}
The script will return one of:
CAPTION: \x3Ctext>— successfully extracted caption with metadataERROR: \x3Creason>— failure with explanation
Example Triggers
- "Get the caption from https://www.instagram.com/p/DRiFkfoiIuC/"
- "What does this Instagram reel say? https://www.instagram.com/reel/ABC123/"
- "Summarise this post: https://www.instagram.com/p/XYZ/"
- "Translate this Instagram caption: https://www.instagram.com/p/ABC/"
Output Format
On success the script returns:
CAPTION: \x3Cfull caption text>
---
Owner : @username
Type : GraphImage / GraphVideo / GraphSidecar
Likes : 1234
Shortcode: ABC123
Rules
- Only trigger when a valid Instagram URL (
/p/or/reel/) is present - Never fabricate or guess caption content if the script returns an error
- If the post is private, inform the user and suggest they check the account's privacy settings
- Always display the full caption before offering any summary or analysis
- If the user asks to summarise or translate, do so AFTER displaying the raw caption
Setup Notes
Requires Python 3.8+ and the instaloader library:
pip3 install instaloader==4.14.1
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install instagram-caption-scraper - 安装完成后,直接呼叫该 Skill 的名称或使用
/instagram-caption-scraper触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
instagram-caption-scraper 是什么?
Scrapes and returns the caption from any public Instagram post or reel URL. Use this when the user shares an Instagram link and wants to extract, read, summa... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 157 次。
如何安装 instagram-caption-scraper?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install instagram-caption-scraper」即可一键安装,无需额外配置。
instagram-caption-scraper 是免费的吗?
是的,instagram-caption-scraper 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
instagram-caption-scraper 支持哪些平台?
instagram-caption-scraper 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 instagram-caption-scraper?
由 rdk14(@rdk14)开发并维护,当前版本 v1.0.0。