/vibe-deep-research:deep-researchfrom vibe-deep-research
Run deep account research — queries GTM Gold/Silver, generates hypothesis-driven analysis, produces HTML reports, and compounds memory. Use when researching an account, generating exec reports, or building account intelligence.
Ships in vibe-deep-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.
None: SKILL.md is the whole skill.
Run the vibe-deep-research pipeline with 2-wave compounding intelligence — Wave 1 establishes context, Wave 2 uses that context for targeted searches across 10 sources.
The user will say /deep-research <account_name> or ask to "run deep research" on an account.
Note: {PROJECT_ROOT} is the vibe-deep-research install directory. Find it by running:
uv run python -c "from vibe_research.config import PACKAGE_ROOT; print(PACKAGE_ROOT)"
Run the preflight check. Do NOT proceed to Wave 1 if it fails.
cd {PROJECT_ROOT} && uv run python -m vibe_research.researcher doctor --skip-db
If exit code is 1 (broken checks), present the login URLs to the user and wait for them to re-authenticate. Re-run doctor until all checks pass. Common issue: expired MCP OAuth tokens — the doctor prints the exact login URL to fix each one.
safe_name (lowercase, spaces/hyphens to underscores)mkdir -p {PROJECT_ROOT}/memories/accounts/{safe_name}/imports
TIMESTAMP to today's date (YYYY-MM-DD format)Goal: Build a baseline understanding of the account before targeted searching.
Do these in parallel:
A. Read prior memory (use the Read tool directly):
{PROJECT_ROOT}/memories/accounts/{safe_name}/context.md (if exists){PROJECT_ROOT}/memories/accounts/{safe_name}/findings.md (if exists)B. Dispatch 3 agents in parallel (single message, Agent tool):
Agent availability: Some agents use optional plugins (
gtm-kit,solution-engineer-assistant). If a preferred agent type isn't available, use the fallback. Offer to install the plugin for better results:claude plugin add gtm-kitorclaude plugin add solution-engineer-assistant
GTM Analyst
gtm-kit:gtm-analyst (richer pre-computed metrics)fe-internal-tools:field-data-analyst (Logfood SQL){PROJECT_ROOT}/memories/accounts/{safe_name}/live_sync.md in markdown table format with sections: Account Metrics, Workspace Rankings, Weekly Trends. If GTM-kit tools are unavailable, write a file noting 'GTM-kit not installed — pipeline will use direct SQL fallback'."Field Data Analyst (type: fe-internal-tools:field-data-analyst)
{PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_salesforce.md. Use the standard import format with # header, Source, Gathered, Results count, then ## Key Findings and ## Details sections. If tools are unavailable, write 'Source unavailable' and exit."Eng Blockers Searcher (type: fe-internal-tools:field-data-analyst)
{PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_eng_blockers.md. Use the standard import format. If tools are unavailable, write 'Source unavailable' and exit."After Wave 1 agents complete, generate the context brief automatically:
cd {PROJECT_ROOT} && uv run python -m vibe_research.context_brief "{account_name}"
This reads context.md, live_sync.md, recent imports, and findings.md, then outputs a structured brief. Use the output as the {CONTEXT_BRIEF} for all Wave 2 agent prompts below.
Dispatch agents in two batches to avoid rate limits. Each receives the account name AND the enriched context brief from Step 1.5.
Agent fallbacks: For agents 1-5, use
solution-engineer-assistant:*if installed (specialized search agents). If not installed, usegeneral-purposeagent with the same task prompt — it has MCP tool access. Offer:claude plugin add solution-engineer-assistantfor better results.
Batch A (dispatch 4 agents in parallel):
Slack Searcher
solution-engineer-assistant:slack-searchergeneral-purpose (has Slack MCP access){PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_slack.md. If Slack MCP is unavailable, write 'Source unavailable' and exit."Jira Searcher
solution-engineer-assistant:jira-searchergeneral-purpose (has Jira MCP access){PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_jira.md. If Jira MCP is unavailable, write 'Source unavailable' and exit."Confluence Searcher
solution-engineer-assistant:confluence-searchergeneral-purpose (has Confluence MCP access){PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_confluence.md. If Confluence MCP is unavailable, write 'Source unavailable' and exit."Glean Searcher
solution-engineer-assistant:glean-searchergeneral-purpose (has Glean MCP access){PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_glean.md. If Glean MCP is unavailable, write 'Source unavailable' and exit."Batch B (dispatch 3 agents in parallel after Batch A completes):
Google Docs Searcher
solution-engineer-assistant:google-docs-searchergeneral-purpose (has Google Drive MCP access){PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_google_docs.md. If Google Drive MCP is unavailable, write 'Source unavailable' and exit."Aha! Ideas Searcher (type: fe-internal-tools:field-data-analyst)
{PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_aha.md. If tools are unavailable, write 'Source unavailable' and exit."Databricks Org Lookup (type: fe-internal-tools:field-data-analyst)
{PROJECT_ROOT}/memories/accounts/{safe_name}/imports/{TIMESTAMP}_org.md. If tools are unavailable, write 'Source unavailable' and exit."After all Wave 2 agents complete:
doctor --skip-db to check MCP auth tokens."
Ask whether to continue with partial data or abort.cd {PROJECT_ROOT} && uv run python -m vibe_research.researcher research "<account>" --full --enhance
Retention: The pipeline auto-cleans imports older than 90 days (configurable in
research_config.yaml).
The pipeline generates actions_pending.json with GTM actions routed from validated findings. Read {PROJECT_ROOT}/memories/accounts/{safe_name}/actions_pending.json.
If the file exists and has actions, present a single review table:
Proposed Actions (N total)
| # | Risk | Action | Target | Summary | Default |
|---|------|----------------|------------|--------------------------------------|---------|
| 1 | G | Create UCO | Salesforce | AI whitespace — $0 AI spend | ON |
| 2 | G | Create UCO | Salesforce | Lost pipeline — $1.1M/qtr | ON |
| 3 | R | Slack Alert | #field-eng | [CRITICAL] Visa: $1.1M lost pipeline | OFF |
G = Creates new record (safe, reversible)
R = Sends visible message to a channel (cannot be undone)
Blocker updates are not auto-executed. The research identifies blockers and includes them in the report, but modifying shared Salesforce Blocker__c records should be done manually via
/uco-blockersafter reviewing the findings. This separates research from write operations on shared records.
Risk-based defaults:
Ask: "Select actions (comma-separated numbers, 'all', or 'none'):"
Selection rules:
Execution rules:
create_uco: check if UCO already exists first; if it does, skip and note "UCO already exists — update manually via /uco-blockers"alert_team: send via Slack MCP with exact approved text — no modifications after approvalAfter execution:
actions_completed.json (same file with status fields updated)cd {PROJECT_ROOT} && uv run python -m vibe_research.researcher generate "<account>" --audience exec --format html
cd {PROJECT_ROOT} && uv run python -m vibe_research.diagrams.hook "<account>"
--audience can be: exec, ae, sa, onboarding--format can be: html, markdown, notebook--enhance adds LLM synthesis (~$0.05 per run){PROJECT_ROOT}/memories/accounts/{account}/{PROJECT_ROOT}/notebooks/Limitation: Research memory is stored locally and compounds across runs for the same user, but is not shared between team members. To share findings, use the generated HTML report or deploy to Databricks Workspace.
Requires Databricks credentials configured in {PROJECT_ROOT}/.env (see .env.example).
Setup: The Python pipeline currently lives in a separate repo that must be cloned:
git clone https://github.com/spencer-cook_data/vibe-deep-research.git cd vibe-deep-research && uv sync && cp .env.example .envBundling the Python code as plugin resources is tracked in Issue #6.
The pipeline writes actions_pending.json with this structure:
{
"account_name": "Visa",
"account_id": "0016100000U5DnzAAF",
"generated_at": "2026-03-13T10:56:44",
"actions": [
{
"action_type": "create_uco | alert_team",
"priority": "critical | high | medium",
"target_system": "salesforce | slack",
"summary": "Human-readable description",
"hypothesis_id": "lost_pipeline",
"evidence": "Evidence summary from GTM data",
"status": "pending | executed | skipped | failed",
"details": { "uco_type": "Winback", "stage": "U1", "account_id": "..." }
}
]
}
Wave 1 (Context) Wave 1.5 (Synthesis) Wave 2 (Targeted)
┌─────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ GTM Analyst │──┐ │ │ ┌───>│ Slack Searcher │
│ Salesforce/UCOs │──┼───>│ Enriched Context │────┼───>│ Jira Searcher │
│ Eng Blockers │──┘ │ Brief (~200 wds) │ ├───>│ Confluence │
│ + Prior Memory │ │ │ ├───>│ Glean Searcher │
└─────────────────┘ └──────────────────┘ ├───>│ Google Docs │
├───>│ Aha! Ideas │
└───>│ Databricks Org │
└──────────────────┘
│
v
┌──────────────────┐
│ Python Pipeline │
│ (research + HTML) │
└──────────────────┘
Wave 1 results inform Wave 2 queries — if GTM shows DLT declining 12%, the Slack agent searches for "DLT pipeline failure", not just the account name. This is compounding intelligence.
| Wave | Source | Agent Type | What It Gathers |
|---|---|---|---|
| 1 | GTM Gold | gtm-kit:gtm-analyst | Account metrics, workspace consumption, forecasts |
| 1 | Salesforce | fe-internal-tools:field-data-analyst | UCOs, opportunities, account team contacts |
| 1 | Eng Blockers | fe-internal-tools:field-data-analyst | Product gaps, blockers, Aha! links, $ impact |
| 2 | Slack | solution-engineer-assistant:slack-searcher | Targeted discussions, escalations, action items |
| 2 | Jira | solution-engineer-assistant:jira-searcher | ES tickets matched to known blockers |
| 2 | Confluence | solution-engineer-assistant:confluence-searcher | Architecture docs for strategic priorities |
| 2 | Glean | solution-engineer-assistant:glean-searcher | RCAs for declining products, incident docs |
| 2 | Google Docs | solution-engineer-assistant:google-docs-searcher | Account plans, meeting notes, QBR decks |
| 2 | Aha! Ideas | fe-internal-tools:field-data-analyst | Feature requests linked to blockers |
| 2 | Databricks Org | fe-internal-tools:field-data-analyst | Internal account team hierarchy |
When GTM-kit is installed (claude plugin add gtm-kit), Wave 1's GTM Analyst agent pre-fetches enriched account data using MCP tools. This provides:
Without GTM-kit, the pipeline falls back to direct SQL against GTM Gold tables — same data, less pre-computation.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub sarah-hord-db/vibe --plugin vibe-deep-research