Alfa search recall deepresearch

From tonydzi/second-brain-starter-kit · View interactive version

Alfa search recall deepresearch is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. Decision protocol for strategic work: recall the knowledge vault, run a gap analysis, emit a deep-research prompt for external tools, then synthesize the returned reports into a decision memo. Use before any new product, feature, market, pricing, GTM or architecture call, where local recall alone is

How to use this skill

Skill file

🅰️ Alpha Protocol — Recall + Deep Research before deciding

🧒 When reporting to the operator: end with a child-simple "In plain words" recap (his standing request; reports TO the operator only).

Binding rule (must): For ANY new strategic function, product, business model, tokenomics, AI-functionality, GTM, market, investment hypothesis, or architecture decision — it is FORBIDDEN to go to implementation on recall alone. Do Recall → Gap → Deep Research → Synthesis → Decision Memo first. Recall is necessary but NOT sufficient for strategic work. Canon: vault note protocol-alpha-protocol-recall-plus-deep-research.

When this fires

Levels (size the response to the task)

★ Proactive multi-agent reflex (EVERY task, not just strategic) — set 2026-06-25

The user FORGETS whether they need agents — so YOU remember and propose, reflexively, after RECALL on any task. Canon: vault reglament-proaktivno-predlagay-agentov + memory multi-agent-offer-reflex; tool-choice canon = decision-adopt-agent-teams-scoped.

  1. Cheap-first: did SQL/grep/RAG already answer it? → done, no agents.
  2. Type = Decision · Comparison · Analysis · Research-synthesis where several INDEPENDENT lenses materially improve the answer (inclusion test: will one lens's finding redirect another before both finish?)? NO (import/fix/ops/mechanical/trivial) → single agent, stay silent about agents. YES → multi-agent fits → fork:
  1. Teammates on Sonnet; don't auto-keep an Opus lead; never ask for "consensus" — preserve dissent. Mechanism = Agent-tool subagents (cheap, ~80% of the value) or native Agent Teams when enabled.

This is L1.5 — broader than the L2 strategic flow: it fires on everyday comparisons/analysis, not only big decisions. The advocate/skeptic/frontier panel below is the same machinery.

The flow (what YOU, Claude Code, do)

Step 1 — RECALL. Pull EVERYTHING we already have on the topic (per the RECALL-before-activity rule):

Report concisely: what we know · what we already researched · prior conclusions · prior mistakes.

Step 2 — GAP ANALYSIS. State plainly: what we do NOT know, which questions stay open. This sharpens the DR prompt so the external tool digs where we're blind, not where we're already strong.

Step 3-pre — DR-DEDUP: first check whether this DR already exists (operator's order, 2026-07-14). Plenty of sessions ordered a DR and never carried it to an external LLM; meanwhile the exporters (ChatGPT/Claude/Downloads) may have ALREADY pulled the report into the vault, the nightly dr_collect.py (hub, 05:05) flips the registry issued→collected on its own and dr_synthesize writes the digest — the registry status can be fresher than your memory. Before minting a NEW number, two cheap checks (0 tokens):

  1. The registry: grep -i "<topic keywords>" "$OBSIDIAN_VAULT/_DR-Registry.md" (and/or dr_registry.py list) — is there already a DR on this topic, and in what state.
  2. The vault: digests 03-Insights\insight-DR-*.md + originals _originals\deep-research\*<DR-ID>* (grep by topic/ID).

The fork: synthesized/collected → do NOT re-order — read the finished report/digest and go straight to Step 4 (Synthesis); issued on the same topic → reuse THAT SAME ID (don't mint a new one) and emit the outbound prompt with it; nothing → mint a new one below. Canon: reglament-numeratsiya-dr-i-reestr, memory dr-pipeline-endtoend.

Step 3 — DEEP RESEARCH PROMPT (hand-off). ⭐ FIRST allocate the DR number (operator's order, 2026-07-03): python $IMPORTS_ROOT/dr_registry.py new "<topic>" --tool <chatgpt|gemini|grok> → prints DRYY-MM-DD-MACHINE-NN (machine code auto-detected — per-machine sequences, no sync collisions) and registers it in _DR-Registry.md. Put the ID as the FIRST line of the emitted prompt (# DR26-07-03-ZB-01 — <topic>) so the external chat inherits it as its title and exports match the registry. Counter unsure → --gap (+10). When the report comes back: dr_registry.py update <ID> --status collected --file "<path>" — OR do nothing: the nightly dr_collect.py will find the DR-ID in the imported chats/Downloads and flip the status itself (the ownership loop closes automatically; a manual update is only needed if you want the report RIGHT NOW). Canon: the house rule reglament-numeratsiya-dr-i-reestr. You do NOT run the deep research yourself. Hybrid mode: you MAY do a light in-session web pass (WebSearch/WebFetch) to sharpen the prompt and catch the obvious — but the deep, exhaustive DR is done in an EXTERNAL tool (ChatGPT/Gemini/Perplexity Deep Research). Emit the prompt for the operator to copy:

Step 4 — SYNTHESIS + DECISION MEMO (after the DR results come back). Merge memory + DR into a Decision Memo:

the problem · what we already know · DR findings · options · risks · recommendation.

Only AFTER the Decision Memo do we start implementation.

⭐ Close the DR in the same pass (operator's "+", 2026-07-28): the Decision Memo cites a DR-ID → in THAT SAME pass run dr_registry.py update <ID> --status applied --note "<what closed it>" (not adopting it → --status parked --note "<why>"). A memo that leaves the registry open = a half-built bridge. When ordering a DR in Step 3, name its consumer: new --for "<the decision this report feeds>" — with no consumer the report auto-parks after 30 days. Canon: the house rule reglament-numeratsiya-dr-i-reestr §amendment 2026-07-28, memory [[dr-finish-applied-or-parked]].

Notes

<!--kit-footer-->


Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.

Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).

Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_

Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.