Loading...
Loading...
Compare original and translation side by side
APIFY_TOKEN.envGEMINI_API_KEY.envapify-clientgoogle-genai.claude/context/instagram-accounts.mdpython3 -c "
import os
try:
from dotenv import load_dotenv
load_dotenv()
except ImportError:
pass
from apify_client import ApifyClient
from google import genai
assert os.environ.get('APIFY_TOKEN'), 'APIFY_TOKEN not set'
assert os.environ.get('GEMINI_API_KEY'), 'GEMINI_API_KEY not set'
" && echo "Prerequisites OK"APIFY_TOKEN.envGEMINI_API_KEY.envapify-clientgoogle-genai.claude/context/instagram-accounts.mdpython3 -c "
import os
try:
from dotenv import load_dotenv
load_dotenv()
except ImportError:
pass
from apify_client import ApifyClient
from google import genai
assert os.environ.get('APIFY_TOKEN'), 'APIFY_TOKEN not set'
assert os.environ.get('GEMINI_API_KEY'), 'GEMINI_API_KEY not set'
" && echo "Prerequisites OK"RUN_FOLDER="instagram-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && echo "$RUN_FOLDER"RUN_FOLDER="instagram-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && echo "$RUN_FOLDER"python3 .claude/skills/instagram-research/scripts/fetch_instagram.py \
--type reels \
--days 30 \
--limit 50 \
--output {RUN_FOLDER}/raw.json--type--days--limitpython3 .claude/skills/instagram-research/scripts/fetch_instagram.py \
--type reels \
--days 30 \
--limit 50 \
--output {RUN_FOLDER}/raw.json--type--days--limitpython3 .claude/skills/instagram-research/scripts/analyze_posts.py \
--input {RUN_FOLDER}/raw.json \
--output {RUN_FOLDER}/outliers.json \
--threshold 2.0total_postsoutlier_counttopicsaccountsoutlierspython3 .claude/skills/instagram-research/scripts/analyze_posts.py \
--input {RUN_FOLDER}/raw.json \
--output {RUN_FOLDER}/outliers.json \
--threshold 2.0total_postsoutlier_counttopicsaccountsoutlierspython3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \
--input {RUN_FOLDER}/outliers.json \
--output {RUN_FOLDER}/video-analysis.json \
--platform instagram \
--max-videos 5video-content-analyzerpython3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py \
--input {RUN_FOLDER}/outliers.json \
--output {RUN_FOLDER}/video-analysis.json \
--platform instagram \
--max-videos 5video-content-analyzer{RUN_FOLDER}/outliers.json{RUN_FOLDER}/video-analysis.json{RUN_FOLDER}/report.mdundefined{RUN_FOLDER}/outliers.json{RUN_FOLDER}/video-analysis.json{RUN_FOLDER}/report.mdundefined| Video | Format | Pacing | Key Retention Techniques |
|---|---|---|---|
| @username | {format} | {pacing} | {techniques} |
| 视频 | 格式 | 节奏 | 核心留存技巧 |
|---|---|---|---|
| @username | {format} | {pacing} | {techniques} |
| Video | CTA Type | CTA Text | Placement |
|---|---|---|---|
| @username | {type} | "{cta_text}" | {placement} |
| 视频 | CTA类型 | CTA文案 | 位置 |
|---|---|---|---|
| @username | {type} | "{cta_text}" | {placement} |
| Rank | Username | Likes | Comments | Views | Engagement Rate |
|---|---|---|---|---|---|
| [List all outliers with metrics and links] |
| 排名 | 用户名 | 点赞 | 评论 | 浏览量 | 互动率 |
|---|---|---|---|---|---|
| [列出所有带数据和链接的异常值内容] |
Focus on actionable insights. The "Top Performing Hooks" section with replicable formulas should be prominent.
重点关注可落地的洞察。包含可复制公式的"顶级表现钩子"部分应突出显示。RUN_FOLDER="instagram-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && \
python3 .claude/skills/instagram-research/scripts/fetch_instagram.py --type reels -o "$RUN_FOLDER/raw.json" && \
python3 .claude/skills/instagram-research/scripts/analyze_posts.py -i "$RUN_FOLDER/raw.json" -o "$RUN_FOLDER/outliers.json" && \
python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py -i "$RUN_FOLDER/outliers.json" -o "$RUN_FOLDER/video-analysis.json" -p instagramRUN_FOLDER="instagram-research/$(date +%Y-%m-%d_%H%M%S)" && mkdir -p "$RUN_FOLDER" && \
python3 .claude/skills/instagram-research/scripts/fetch_instagram.py --type reels -o "$RUN_FOLDER/raw.json" && \
python3 .claude/skills/instagram-research/scripts/analyze_posts.py -i "$RUN_FOLDER/raw.json" -o "$RUN_FOLDER/outliers.json" && \
python3 .claude/skills/video-content-analyzer/scripts/analyze_videos.py -i "$RUN_FOLDER/outliers.json" -o "$RUN_FOLDER/video-analysis.json" -p instagramlikes + (3 × comments) + (0.1 × views)点赞 + (3 × 评论) + (0.1 × 浏览量)