It answers what should I work on next? by holding three layers in mind simultaneously — TELOS goals (where I'm trying to go), CURRENT_STATE (where I actually am, including PAI infrastructure), and IDEAL_STATE (what "good" looks like per dimension) — and ranking the gaps that close the most distance with the least effort.
The skill runs four parallel threads that converge on personalized recommendations:
- Thread 0 — Prior-Work Audit. Algorithm, PATTERNS.yaml, hooks, skills, recent ISAs, KNOWLEDGE, feedback memory. Filters every candidate so already-shipped items go to Skipped, never re-recommended.
- Thread 1 — User Context (now gap-aware). TELOS goals, IDEAL_STATE/* dimensions, CURRENT_STATE/* (including INFRASTRUCTURE.md), active projects, PAI state. Computes per-goal
(metric | current | target | direction) gap tuples — the load-bearing input.
- Thread 2 — Source Collection. Anthropic blog/changelog/docs (sources.json), GitHub trending, YouTube channels (youtube-channels.json), custom sources.
- Thread 3 — Internal Reflections. algorithm-reflections.jsonl mining for repeated friction patterns.
Thread 1 is the load-bearing change from the older PAIUpgrade skill. PAIUpgrade ranked recommendations by source recency. Upgrade ranks by (impact_on_goal × ease_of_implementation × confidence), where impact_on_goal comes from how many active TELOS goals a recommendation touches and how far it moves their gap, and ease comes from CURRENT_STATE rows already tagged partial (improve) vs missing (build new).