Alpha judge

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

Alpha judge is an AI agent skill from the GitHub repository tonydzi/second-brain-starter-kit. LLM-judge stage of an alpha-mining pipeline: take a miner's deterministic candidate list, keep only real signal, drop noise, and propose additions to that miner's curated note. Use after any zero-token detector run. Reads only the candidate digest and the home note, never the corpus. Triggers: "/alp

How to use this skill

Skill file

πŸ…°οΈβš–οΈ /alpha-judge β€” the reusable LLM-judge for every alpha miner

πŸ§’ When reporting to a non-technical operator: end with a child-simple "In plain words" recap in their language (their standing request; reports TO the operator only).

The alpha-extraction engine = cheap deterministic detector (0 tokens) β†’ LLM judge β†’ weekly ≀10 + yes/no calibration, repeated for each of the 10 miners. The DETECTORS are per-miner scripts in $IMPORTS_ROOT/alpha/. The JUDGE is the SAME logic every time β€” so it lives HERE, once, and is reused. Canon: 02-Decisions\decision-alpha-extraction-engine-variant-a; memory [[alpha-extraction-engine]].

Model policy (per [[model-routing-sonnet-grunt]] + the operator's 2026-06-14 session override)

Miner registry (detector β†’ home β†’ verdict scheme)

| miner key | candidates file (in _imports\alpha\candidates\) | ledger db | curated HOME note (feeds, never duplicates) | verdict scheme |

|---|---|---|---|---|

| bets | bets-report-latest.md | bets_ledger.db (table bets) | insight-prediction-ledger | βœ… came true Β· ❌ did not Β· πŸ” still open Β· πŸ—‘ not a bet |

| contradictions | contra-report-latest.md | contra_ledger.db (pairs+claims) | insight-contradictions | βœ… a real contradiction Β· 🟑 an evolving opinion Β· πŸ—‘ noise |

| stance | stance-report-latest.md | stance_ledger.db (shifts+pairs) | insight-contradictions (Β§ "willing to change my mind") | βœ… a real shift of view (was A β†’ now B) Β· 🟑 a refinement, not a shift Β· πŸ—‘ noise |

| bridge | bridge-report-latest.md | bridge_ledger.db | insight-worldview-throughlines | βœ… a non-obvious, valuable bridge between domains Β· 🟑 an expected link Β· πŸ—‘ an accidental co-mention |

| recurring | recurring-report-latest.md | recurring_ledger.db | insight-worldview-throughlines | βœ… a genuine recurring conviction Β· 🟑 an operational repeat Β· πŸ—‘ co-frequency of filler words |

| ~~leadsignal~~ β›” RETIRED 2026-07-16 | leadsignal-report-latest.md | leadsignal_ledger.db | 42.9% precision on the owner's gold set (111🟑/27πŸ”΄, 2026-07-05) β€” leads belong in /pipeline, not in the insight feed. The script stays on disk but is disabled in weekly/judge/harvest | β€” |

| novelty | novelty-report-latest.md | novelty_ledger.db | insight-novelty-ideas (CREATE it on the first βœ…) | βœ… a genuinely new idea Β· 🟑 a variation on something known Β· πŸ—‘ rare words with no idea behind them |

| identity | identity-report-latest.md | identity_ledger.db | _Self-Bible-MOC (+ concept-* "what I think") | βœ… a real self-definition (a value/principle) Β· 🟑 situational Β· πŸ—‘ not about identity |

| openq | openq-report-latest.md | openq_ledger.db | insight-open-questions βœ… (created 2026-06-15, 25 questions; +226 from Detector-A pending) | βœ… a real open question of the owner's Β· 🟑 rhetorical Β· πŸ—‘ someone else's / boilerplate |

| ~~orphan~~ β›” RETIRED 2026-07-16 | orphan-insight-report-latest.md | orphan_insight_ledger.db | 37.5% precision on the owner's gold set β€” the misses were the team's working protocols in 05-Resources (an evidence layer where being unlinked is normal). Orphan insights are caught by /relink --deep. The script stays on disk but is disabled in weekly/judge/harvest | β€” |

Flow (what YOU do)

  1. Pick the miner from the arg (default bets if none; if unclear, ask). Read its candidates file (or query its db for the top unjudged candidates β€” cap ~25; never the whole corpus).
  2. RECALL the HOME note (e.g. insight-prediction-ledger / insight-contradictions) so you DON'T re-propose what's already catalogued. Token-cheap: read only that one note + the candidate digest.
  3. JUDGE each candidate against the miner's core question β€” "is this ANTON'S OWN <X-of-the-right-type>, not noise / not someone else's / not a restatement?" Classify per the verdict scheme + a ONE-line reason. The detector optimises RECALL; the judge supplies PRECISION.
  1. Write the clean signal β†’ _imports\alpha\candidates\<miner>-judged-latest.md (utf-8, \n): only the βœ…/🟑 keepers, each with quote(s), source [[wikilink]], date if known, verdict, reason. If zero signal, say so plainly (that's a valid, honest result β€” don't invent).
  2. Propose HOME additions (the keepers not already in the home note): show the operator BEFORE→AFTER ([[show-before-after]]); on their OK → vault_backup.py first ([[vault-backup-rule]]) → append to the home note (draft status, they edit) → recalc if the home has an engine (bets → ledger_calibration.py). Never auto-write a curated vault note.

Guardrails

Not this skill

Building/refining a DETECTOR script = direct work in _imports\alpha\ (not here). Running the deterministic scan = the miner's own .py / weekly task. This skill is ONLY the judge + home-feed stage.

<!--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.