← 返回 Skills 市场
sirimaddala99

instagram-digest

作者 SiriMaddala99 · GitHub ↗ · v1.0.2 · MIT-0
cross-platform ✓ 安全检测通过
150
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install instagram-digest
功能描述
Scrape recent Instagram reels, transcribe audio, summarize with OpenRouter, and save a digest.html file
使用说明 (SKILL.md)

Instagram Digest Skill

Scrapes Instagram reels from a configured list of accounts, transcribes their audio, generates AI summaries, and saves a digest.html file for local viewing.

When to Use

Trigger this skill when the user asks to:

  • Run / send the Instagram digest
  • Get a summary of recent Instagram reels
  • Check what accounts are being tracked
  • Add or remove accounts from the digest
  • Do a dry run / preview without sending email

Working Directory

All commands must be run from the skill's own directory:

cd /path/to/instagram-digest

Commands

Run the digest (saves digest.html)

python main.py

Run digest for specific accounts only

python main.py --accounts username1 username2 username3

List currently configured accounts

python main.py --list-accounts

Adding / Removing Accounts Permanently

The default account list lives in config.py under INSTAGRAM_ACCOUNTS. To permanently add or remove an account, edit that list. Then confirm by running --list-accounts.

Environment Variables

Variable Required Purpose
OPENROUTER_API_KEY ✅ Required OpenRouter API key for transcript summarization (uses Nvidia Nemotron via OpenRouter)
INSTAGRAM_USERNAME Optional Instagram login for story access — use a dedicated throwaway account
INSTAGRAM_PASSWORD Optional Instagram password for story access — use a dedicated throwaway account

Output

Writes digest.html to the skill directory. Open it in a browser to read audio summaries for each reel.

Error Handling

  • If Instagram returns a login wall for an account, that account is skipped and the digest continues with the rest.
  • If transcription or analysis fails for a reel, a fallback message is shown for that item — the digest still sends.
  • If no new reels or stories are found across all accounts, the email is skipped entirely and a message is printed.
安全使用建议
This skill appears to do what it says, but review and consider the following before installing or running it: - You must provide an OpenRouter API key; transcripts and captions are sent to OpenRouter for summarization. - If you supply Instagram credentials, the skill will save session cookies to .instagram_session.json and reuse them — consider using a dedicated throwaway Instagram account as the SKILL.md suggests. - The code downloads media (yt-dlp) and may download Whisper model weights at first run (faster-whisper), which can consume disk space, bandwidth, and time; run in a controlled environment (virtualenv, container) if concerned. - There are minor packaging/documentation inconsistencies (duplicate/unused entries in requirements files, SKILL.md marked instruction-only despite included scripts) — review the source if you want full assurance. - If you don't trust the source, run the code in an isolated sandbox, inspect the code yourself, or avoid providing any real Instagram credentials. If you proceed, consider creating a Python virtual environment and installing dependencies manually so you control what gets installed.
功能分析
Type: OpenClaw Skill Name: instagram-digest Version: 1.0.2 The instagram-digest skill is a legitimate tool for scraping Instagram reels, transcribing their audio, and generating AI-powered summaries. It utilizes Playwright for browser automation, yt-dlp for media retrieval, and faster-whisper for local transcription, with summaries generated via the OpenRouter API. The handling of Instagram credentials and session persistence (scripts/scraper.py) is consistent with the stated purpose of bypassing login walls, and no evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The name/description match the code and runtime requirements: scraping (playwright, requests), downloading media (yt-dlp), local transcription (faster-whisper), and summarization via OpenRouter (OPENROUTER_API_KEY). The optional INSTAGRAM_USERNAME/INSTAGRAM_PASSWORD env vars are reasonable for avoiding login walls. Minor note: top-level requirements.txt includes 'anthropic' which is unused by the code; scripts/requirements.txt lists 'openai' (used) — this packaging inconsistency is likely benign but sloppy.
Instruction Scope
SKILL.md instructs running the bundled Python scripts from the skill directory (cd + python main.py) which matches the included code. The code will: (1) launch Playwright to scrape Instagram pages (may open a visible browser on login), (2) save session cookies to .instagram_session.json if you log in, (3) download thumbnails and reels via HTTP/yt-dlp, (4) transcribe using a Whisper model and (5) send transcripts to OpenRouter for summarization. These actions are within the stated purpose but result in local persistence of session cookies and outbound network traffic to Instagram, package/model hosts, and OpenRouter — the SKILL.md mostly documents this but you should expect these side effects.
Install Mechanism
There is no automated install spec; the project includes requirements files listing packages to pip install. Runtime behavior will also pull potentially large model weights via faster-whisper/WhisperModel('base') and yt-dlp will fetch media from web hosts — both can download significant data at runtime. No arbitrary archive downloads or suspicious external installers are present, but expect model and media downloads.
Credentials
The single required credential (OPENROUTER_API_KEY) is necessary for the summarization step and is declared as primary. INSTAGRAM_USERNAME/INSTAGRAM_PASSWORD are optional and used only to obtain a session for story/login-wall access; no other unrelated credentials or secrets are requested.
Persistence & Privilege
The skill writes files in its directory and temporary directories: digest.html, .instagram_session.json (persisted session cookies when you log in), and temporary media/model files (tmp directories cleaned after run, but the session file persists). always is false and the skill does not request elevated platform privileges. The persistent session file can contain authentication state — the README suggests using a throwaway account.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install instagram-digest
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /instagram-digest 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Added scripts/requirements.txt to specify Python dependencies. - Added scripts/scraper.py for Instagram scraping functionality. - Added scripts/transcriber.py for audio transcription tasks.
v1.0.1
- Updated from Claude API to OpenRouter (Nvidia Nemotron) for transcript summarization, requiring OPENROUTER_API_KEY. - Environment variable requirements and documentation updated accordingly. - Requirements file moved from scripts/requirements.txt to root requirements.txt. - Improved environment variable descriptions, marking Instagram credentials as optional. - Minor description and metadata adjustments for clarity.
v1.0.0
Initial release of instagram-digest: - Scrapes recent Instagram reels from a configurable list of accounts. - Transcribes audio from each reel. - Summarizes audio content using Claude and saves results in a local digest.html file. - Supports listing, adding, and removing tracked accounts through config.py. - Handles login walls and per-reel errors gracefully, always producing a digest when possible. - Can preview, customize accounts for each run, and optionally send results by email.
元数据
Slug instagram-digest
版本 1.0.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

instagram-digest 是什么?

Scrape recent Instagram reels, transcribe audio, summarize with OpenRouter, and save a digest.html file. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 150 次。

如何安装 instagram-digest?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install instagram-digest」即可一键安装,无需额外配置。

instagram-digest 是免费的吗?

是的,instagram-digest 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

instagram-digest 支持哪些平台?

instagram-digest 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 instagram-digest?

由 SiriMaddala99(@sirimaddala99)开发并维护,当前版本 v1.0.2。

💬 留言讨论