/phoenix-docs-research:phoenix-research-pipelinefrom phoenix-docs-research
Automated research pipeline that searches YouTube, web, and Reddit for security topics, then pushes curated results into Google NotebookLM with branded analysis prompts.
Ships in phoenix-docs-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Automated research → quality filtering → NotebookLM ingestion with Phoenix brand prompts.
# Interactive (prompts for topic)
python3 scripts/research_pipeline.py
# Full pipeline: YouTube + web + NotebookLM
python3 scripts/research_pipeline.py "CISA KEV exploited vulnerabilities 2025" \
--count 25 --notebooklm --prompt blog
# YouTube only
python3 scripts/youtube_research.py "container security kubernetes" --count 25
# Web only (Brave primary, Scrapling fallback)
python3 scripts/web_research.py "ASPM application security posture" --count 20 --reddit
# Push URLs directly to NotebookLM
python3 scripts/notebooklm_push.py --urls urls.txt --title "My Research" \
--backend teng --prompt slides
NotebookLM requires Google auth. Before first use, tell the user:
"Open a separate terminal and run:
notebooklm loginThis will open a browser for Google authentication. Come back when it completes."
This must happen before any --notebooklm flag will work.
User gives topic (or Claude asks)
↓
[1] YouTube Research (yt-dlp) — metadata: title, views, channel, duration, URL
[2] Web Research (Brave → Scrapling fallback) — title, URL, description, quality score
[3] Reddit Research (optional flag) — top posts from security subreddits
↓
Quality Filter (min score 5/10 default, configurable)
Deduplication
↓
[4] NotebookLM Push — all URLs → new notebook → Phoenix prompt → analysis
↓
Summary: sources ingested, notebook URL, analysis preview
When a user gives a research command:
bash_tool:
cd /path/to/skill && python3 scripts/research_pipeline.py "TOPIC" \
--count 25 --notebooklm --prompt blog
--prompt slides"youtube_research.py)Uses yt-dlp. No API key required.
python3 scripts/youtube_research.py "QUERY" [OPTIONS]
Options:
--count N Number of results (default 25)
--min-views N Filter by minimum view count
--json JSON output
--urls-only URLs only (for piping to NotebookLM)
Output fields: title, url, channel, views, duration, upload_date, video_id
web_research.py)Primary: Brave Search API (set BRAVE_API_KEY env var)
Fallback: Scrapling + DuckDuckGo (no key needed)
python3 scripts/web_research.py "QUERY" [OPTIONS]
Options:
--count N Results (default 20)
--reddit Include Reddit results (requires PRAW or uses RSS fallback)
--min-quality N Quality score filter 0-10 (default 0)
--json JSON output
--urls-only URLs only
--brave-key KEY Brave API key (or BRAVE_API_KEY env)
Quality scoring:
notebooklm_push.py)Two backends available:
| Backend | Flag | Package | Auth |
|---|---|---|---|
| teng-lin/notebooklm-py | --backend teng | notebooklm-py | notebooklm login |
| jacob-bd/notebooklm-cli | --backend jacob | notebooklm-cli | notebooklm login |
python3 scripts/notebooklm_push.py \
--urls urls.txt \
--title "Research: Container Security 2025" \
--backend teng \
--prompt blog \
--notebook-id EXISTING_ID # optional, creates new if omitted
Prompts (--prompt):
blog — structured technical research, 7-section format, engineering focusslides — 11-slide deck, Phoenix dark theme, system anatomy framingvideo — technical explainer script, 5-8 min, analytical toneresearch_pipeline.py)python3 scripts/research_pipeline.py "TOPIC" [OPTIONS]
Options:
--count N Results per source (default 25)
--no-youtube Skip YouTube
--no-web Skip web search
--reddit Include Reddit
--notebooklm Push to NotebookLM
--backend teng|jacob (default: teng)
--prompt blog|slides|video (default: blog)
--notebook-id Existing notebook ID
--min-quality N Web quality floor (default 5)
--json JSON output
Written automatically to .env in skill root by install.sh. Source it or let scripts auto-load it:
export BRAVE_API_KEY="your_key" # Brave Search API
export REDDIT_CLIENT_ID="..." # Optional Reddit
export REDDIT_CLIENT_SECRET="..."
export NOTEBOOKLM_NOTEBOOK_ID="..." # Default notebook (optional)
To bake the Brave key into the installer for your team: open scripts/install.sh and set DEFAULT_BRAVE_KEY to your actual key. It becomes the pre-filled default for all installs.
Brave key: https://api.search.brave.com/ (free tier: 2000 req/month)
bash scripts/install.sh
Installs: yt-dlp, scrapling, notebooklm-py, notebooklm-cli, praw, requests, curl-cffi, browserforge
During install, the script prompts for the Brave API key with a pre-filled default. Three ways to supply it:
| Method | How |
|---|---|
| Interactive (default) | Script prompts; hit Enter to accept pre-filled key |
| Env var pre-set | BRAVE_API_KEY=mykey bash scripts/install.sh |
| Post-install edit | Edit .env in the skill root directory |
The install writes .env directly — no manual copy from template needed. If the Brave key remains as placeholder, the pipeline falls back to Scrapling/DuckDuckGo automatically.
references/prompts.md — Full Phoenix brand prompt text for all three formatsscripts/youtube_research.py — yt-dlp YouTube scraperscripts/web_research.py — Brave + Scrapling web searchscripts/notebooklm_push.py — NotebookLM push (teng + jacob backends)scripts/research_pipeline.py — Orchestratorscripts/install.sh — One-shot installer.env.template — Environment variable template| User says | Claude does |
|---|---|
| "Research container security" | Run pipeline with default settings, ask about NotebookLM |
| "Find 25 trending YouTube videos on CISA KEV" | youtube_research.py "CISA KEV" --count 25 |
| "Research [topic] and send to NotebookLM" | Full pipeline with --notebooklm |
| "Make slides from this research" | Re-run with --prompt slides |
| "Use the jacob backend" | Add --backend jacob |
| "Research [topic]" (no topic given) | Ask "What topic?" before running |
| Error | Fix |
|---|---|
NotAuthenticatedError | Run notebooklm login in separate terminal |
BRAVE_API_KEY not set | Scrapling fallback auto-activates; set key for better results |
No module named curl_cffi | Run pip install curl-cffi --break-system-packages |
| yt-dlp returns 0 results | YouTube may rate-limit; retry after 30s or reduce --count |
references/brand.md (opens in a new tab)references/prompts.md (opens in a new tab)scripts/install.sh (opens in a new tab)scripts/notebooklm_push.py (opens in a new tab)scripts/pipeline.py (opens in a new tab)scripts/research_pipeline.py (opens in a new tab)scripts/web_research.py (opens in a new tab)scripts/youtube_research.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub security-phoenix-demo/security-skills-claude-code --plugin phoenix-docs-research3 skills in this plugin
/notebooklmUse this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses./project-documenterGenerate production-grade documentation for any software project. Supports five modes: (0) Express — full pack in one run for new projects; (1) General — README, API docs, modules, changelog; (2) AI/LLM — PROMPTS, LLM_ARCHITECTURE, MODEL_GUARDRAILS, AGENT_WORKFLOWS, AI_RUNBOOK; (3) Architecture — SYSTEM_OVERVIEW, RUNTIME_FLOWS, DATA_CONTRACTS, DEPENDENCY_MAP; (4) Full — all modes with existing-docs audit and integration. Always produces DOC_INDEX.md (compressed routing layer), CLAUDE.md (navigation index), and all sub-documents. Ends with a Completion Report listing every file created/updated/skipped. Trigger when user says: document this project, generate documentation, create docs for, document the AI layer, document the architecture, reverse engineer this repo, full doc pack, new project docs, bootstrap documentation, create system map, self-healing documentation, add ci docs, cursor rules for docs, github actions for docs, or points to a repo and wants comprehensive documentation produced.
Other plugins' skills for the same job