SkillsGrove
SkillsGrove/영상 제작/leamsigc/ShortsGenerator/ig-research-setup

ig-research-setup

설치

$npx skills add https://github.com/leamsigc/ShortsGenerator --skill ig-research-setup
$git clone --depth 1 https://github.com/leamsigc/ShortsGenerator.git /tmp/ShortsGenerator && mkdir -p ~/.claude/skills && cp -r /tmp/ShortsGenerator/skills/ig-research-setup ~/.claude/skills/ig-research-setup
이 Agent Skill을 설치해 주세요: https://github.com/leamsigc/ShortsGenerator/tree/7e4e16b8c5cb51f61836265189e3a89282228e40/skills/ig-research-setup — 먼저 SKILL.md와 스크립트를 읽고, 안전하다고 확인한 뒤에만 제 skills 폴더에 설치해 주세요.

요약

원문 설명 · MITSetup state for social research tool. Checks prerequisites, creates directory structure, creates config.json, installs deps, sets up Chrome for scraping. Call this before any other research state.
아래 SKILL.md는 leamsigc/ShortsGenerator(커밋 7e4e16b)에서 MIT 라이선스에 따라 게시한 것입니다. 본문은 변경하지 않았으며, 파일 상단의 메타데이터만 생략하고 이미지는 링크로 표시하며 매우 긴 파일은 일부만 표시합니다. Copyright 2024 leamsigc. 라이선스: LICENSE. 지침 파일만 표시되며 스크립트 등은 원본 저장소를 참고하세요.

Social Research — Setup State

Run this first. It checks prerequisites, creates the project, and sets up Chrome.

Steps

1. Check prerequisites

Check each of these. Ask user for permission before installing anything missing.

  • Homebrew (Mac only): brew --version
  • Node.js (v18+): node --version
  • Python 3: python3 --version
  • ffmpeg: ffmpeg -version
  • yt-dlp: yt-dlp --version or pip3 list 2>/dev/null | grep yt-dlp
  • openai-whisper: pip3 list 2>/dev/null | grep whisper

Install commands:

  • Homebrew: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Node (Mac): brew install node
  • ffmpeg (Mac): brew install ffmpeg | (Windows): winget install ffmpeg
  • yt-dlp: pip3 install yt-dlp
  • whisper: pip3 install openai-whisper

2. Create project directory

SESSION=$(date +%Y-%m-%d_%H%M%S)
mkdir -p .ig-research/projects/<project-name>/$SESSION
mkdir -p .ig-research/projects/<project-name>  # legacy root for back-compat

3. Create config.json

Ask the user:

  1. "What's your niche? (e.g., fitness coaching, real estate, personal branding)"
  2. "What platform? (instagram, facebook, linkedin, x, youtube)"
  3. "What are 1-3 hashtags/keywords?"
  4. "Any competitor accounts to analyze?"
  5. "How many posts per keyword?"

Create .ig-research/projects/<project-name>/config.json:

{
  "name": "Project Name",
  "niche": "Niche description",
  "platform": "instagram",
  "searchTerms": ["keyword1", "keyword2"],
  "competitors": ["https://www.instagram.com/handle/"],
  "browserPort": 9222,
  "maxPostsPerSearch": 50,
  "maxCompetitorPosts": 10
}

4. Install Node dependencies

npm install --prefix "$CLAUDE_SKILL_ROOT/scripts"  # ~/.claude/skills/ig-research/scripts
# fallback: npm install --prefix ./skills/ig-research/scripts

5. Set up Chrome

Tell the user:

"Close Chrome completely (Cmd+Q on Mac, not just closing the window), then reopen it with:"

Mac: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222

"Once Chrome opens, go to instagram.com and log in. Then come back and tell me when you're ready."

Wait for user confirmation before finishing.

라이선스 전문 보기(MIT)
MIT License

Copyright (c) 2024 leamsigc

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.