一键导入
yt-research-daily
Daily YouTube idea research pipeline — pull free-tier signals, score, dedup, write daily folder, promote recurring ideas to wiki.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Daily YouTube idea research pipeline — pull free-tier signals, score, dedup, write daily folder, promote recurring ideas to wiki.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Browse the research corpus for video ideas or generate a single-file HTML planning brief for a chosen idea. Browse mode prints a table in chat; brief mode writes ./briefs/<slug>.html to the local working directory. Pulls everything from the Connapse container via MCP.
Weekly corpus hygiene — orphans, stale claims, raw prune, daily archive.
Weekly positioning pass — read last 7 daily summaries and all /wiki/strategy/, produce a new positioning-theses page and a pillar-balance report.
| name | yt-research-daily |
| description | Daily YouTube idea research pipeline — pull free-tier signals, score, dedup, write daily folder, promote recurring ideas to wiki. |
Work through these phases in order. Each phase commits its own artifacts.
export RUN_DATE=$(date -u +%Y-%m-%d)mkdir -p /tmp/run/$RUN_DATE and use this as the local staging area before uploading.Shell out in this order (deterministic, no LLM reasoning):
python -m connapse_yt.pull.youtube_cli \
--api-key "$YOUTUBE_API_KEY" \
--query "claude code mcp" --query "agent memory rag" \
--channel UC_AIJ --channel UC_IDD --channel UC_COLEMEDIN \
--out /tmp/run/$RUN_DATE/youtube.json
python -m connapse_yt.pull.reddit_cli \
--sub ClaudeAI --sub ClaudeCode --sub AI_Agents --sub LLMDevs \
--sub LangChain --sub LocalLLaMA --sub mcp --sub cursor --sub SideProject \
--time-filter day --limit 25 \
--out /tmp/run/$RUN_DATE/reddit.json
# Uses old.reddit.com public JSON; no auth. Optionally set REDDIT_USER_AGENT
# to identify this deployment (falls back to a generic project UA).
python -m connapse_yt.pull.hn_cli \
--out /tmp/run/$RUN_DATE/hn.json
python -m connapse_yt.pull.trends_cli \
--keyword "claude code" --keyword "mcp server" --keyword "rag" \
--keyword "agent memory" --keyword "connapse" \
--out /tmp/run/$RUN_DATE/trends.json
If any pull fails, log it to /tmp/run/$RUN_DATE/errors.log and continue with available sources. If ≥2 fail, abort per CLAUDE.md.
Then upload each raw JSON via mcp__connapse__upload_file:
/raw/youtube/$RUN_DATE/pull.json/raw/reddit/$RUN_DATE/pull.json/raw/hn/$RUN_DATE/pull.json/raw/trends/$RUN_DATE/pull.jsonRead each JSON locally. Produce /tmp/run/$RUN_DATE/observations.md — a markdown list of notable items:
For each observation, include source path (e.g., /raw/youtube/2026-04-18/pull.json#vid001).
From the observations, generate 8-15 candidate video ideas. For each:
outlier_precedent: python -c "from connapse_yt.outlier import score_from_ratio; print(score_from_ratio(<ratio>))"trend_slope: from trends.json for the relevant keywordpain_density: count distinct Reddit/HN threads citing the pain (integer → divide by 5, cap at 1.0)audience_fit and signup_pull yourself (LLM judgment, with rationale).cloud_compatible (true unless the hook requires S3/Azure/FS connectors).promotion_surface (hosted | oss | both). Enforce the routing rule from §1.cloud_compatible=False and promotion_surface=hosted → reject or reframe before including.token-diet, rag-as-memory, file-search-agent, skills-stateless, mcp-audit, context-engineering. Slugs must be unique within the daily. Do NOT use sequential C-numbers — slugs are human-readable and stable across file reorderings, so downstream skills (notably video-brief) can reference candidates by a name the human can actually say aloud.Write /tmp/run/$RUN_DATE/candidates.md with a YAML header block per candidate. Header format per candidate: ## <slug> — "<hook>". Ranking table at the bottom uses slug as the ID column (not C-number).
For each candidate, call mcp__connapse__search_knowledge:
search_knowledge(
containerId=<cached>,
query=<candidate text>,
path="/wiki/",
mode="hybrid",
topK=3,
minScore=0.05,
)
If top result has score ≥0.82, the candidate is a dedup hit:
mcp__connapse__get_document.## Evidence section.connapse-yt plan-update --manifest <local> --topic <topic> --body-file <updated> --frontmatter-json '{"type":"evergreen"}'/daily/*/candidates.md files.connapse-yt plan-update to produce ops, execute them.Upload:
/daily/$RUN_DATE/summary.md — what changed, what's new, which candidates promoted./daily/$RUN_DATE/candidates.md — full scored list./daily/$RUN_DATE/observations.md — raw highlights.Read /wiki/log.md, append a line:
- 2026-04-18: sources=youtube,reddit,hn,trends; candidates=12; promoted=1; session=<URL>
Re-upload /wiki/log.md (delete+re-upload via plan-update).
Read /_manifest.md. Generate a fresh /wiki/index.md TOC grouped by topic folder. Upload (delete+re-upload).
Exit 0.