Research Deep

Upgrade

TELOS-driven recommender — what to work on next.

13
Workflows
00
References
08
Triggers
high
Effort

The Problem

Knowing what to work on next is harder than doing the work. Generic AI can summarize what's new in an ecosystem, but it has no idea where you actually are, what you're trying to achieve, or whether a shiny new technique closes any real gap in your setup. The result is a list of interesting things with no signal about what matters — or worse, recommendations for things you already built. Most upgrade advice is source-driven: here's what came out this week. But what came out this week and what you should build next are almost never the same question.

How This Skill Approaches It

The skill runs four parallel threads that converge on ranked, personalized recommendations. Thread 0 audits prior work — Algorithm runs, ISAs, KNOWLEDGE, hooks, skills — so nothing already shipped gets re-recommended. Thread 1 reads your TELOS goals, IDEAL_STATE dimensions, and CURRENT_STATE/INFRASTRUCTURE.md to compute gap tuples (metric, current, target, direction) per goal — this is the load-bearing input. Thread 2 pulls from 30+ external sources: Anthropic blog, changelogs, GitHub trending, YouTube channels. Thread 3 mines algorithm-reflections.jsonl for recurring friction patterns. Recommendations are ranked by impact × ease × confidence, where impact comes from how many active TELOS goals a change touches and how far it moves their gap. Every recommendation includes a gap_dimension, gap_distance, telos_links, before/after implementation, and a Prior Status from Thread 0. The Recommend workflow leads with gaps; the Upgrade workflow leads with sources. TwitterBookmarks scans X bookmarks through the same four-thread analysis.

  • Reads IDEAL_STATE/CURRENT_STATE/GOALS/PROBLEMS, surfaces ranked next-build recs
  • Four parallel threads: T0 prior-work audit (Algorithm, hooks, ISAs, KNOWLEDGE — Prior Status PARTIAL/DISCUSSED/REJECTED/DONE), T1 TELOS+INFRASTRUCTURE inventory, T2 sources (Anthropic, GitHub trending, YouTube), T3 reflections
  • Output: Discoveries, tiered Recommendations CRITICAL/HIGH/MEDIUM/LOW, Technique Details with before/after code
  • Workflows: Recommend, Upgrade, AlgorithmUpgrade, MineReflections, ResearchUpgrade, FindSources, TwitterBookmarks
Not for running an Algorithm task (use Algorithm directly)

In Action

What you say to your DA, and what the Upgrade skill actually does.

  • You say "what should i work on next"
    Runs Recommend: reads TELOS goals and CURRENT_STATE/INFRASTRUCTURE.md in parallel, computes per-goal gap tuples, cross-references Thread 0 (prior work audit) to skip already-shipped items, and returns tiered recommendations (CRITICAL/HIGH/MEDIUM/LOW) each tagged with gap_dimension, gap_distance, telos_links, and concrete before/after implementation steps.
  • You say "check for upgrades, anything new from anthropic or in the ecosystem"
    Runs Upgrade: hits 30+ sources in parallel via Tools/Anthropic.ts (blogs, changelogs, GitHub releases, YouTube channels), extracts specific techniques with code examples and timestamps, maps each to a PAI component or INFRASTRUCTURE.md row, and filters through Thread 0 to skip already-implemented items before ranking.
  • You say "mine my reflections for recurring friction patterns"
    Runs MineReflections: reads algorithm-reflections.jsonl, clusters recurring friction by pattern type, surfaces the top candidates as Thread 3 Reflection-tagged recommendations with specific file paths and proposed fixes.

Inside the Skill

The thinking, frameworks, and architecture that distinguish this skill from a generic version of the same task.

What It Does

Answers what should I work on next? It reads TELOS goals, CURRENT_STATE, IDEAL_STATE, and PROBLEMS, then surfaces a ranked list of next builds — the gaps that close the most distance for the least effort. Output is tiered (CRITICAL/HIGH/MEDIUM/LOW) with Discoveries and Technique Details that include before/after code. Workflows: Recommend, Upgrade, AlgorithmUpgrade, MineReflections, ResearchUpgrade, FindSources, TwitterBookmarks.

The Problem

There's always more you could build than time to build it, and the loudest input — the newest Anthropic feature, the trending repo, the bookmarked tweet — is rarely the highest-leverage one. Without a way to rank candidates against where you're actually trying to go, you chase novelty and re-implement things you already shipped. This skill ranks every candidate by how many of your real goals it moves and how cheap it is to do, and filters out work that's already done.

How It Works

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

Extraction Rules

Extract, don't summarize. Techniques, not recommendations. Verify prior state before recommending.

  1. Every output item is a technique — a specific pattern, code snippet, configuration, or approach.
  2. Quote or code-block the actual content.
  3. Map every technique to a specific PAI component (file path, skill, workflow, INFRASTRUCTURE.md row).
  4. Verify Prior State (Thread 0 gate) — Before emitting ANY recommendation, confirm against Thread 0 inventory. Items already DONE go to Skipped, not Recommendations.
  5. Two mandatory description fields, ≤2 sentences each:
    • What It Is — the technique itself
    • How It Helps PAI — which gap it closes, citing INFRASTRUCTURE row or IDEAL_STATE target
  6. Provide implementation — show before/after code or specific steps.
  7. Skip, don't dilute — content with no extractable technique goes in Skipped Content with reason.

Source Type Labels:

Label Meaning
Gap: <component> Recommendation derived from CURRENT_STATE/INFRASTRUCTURE.md gap (Recommend workflow)
Goal: <id> Recommendation derived from a TELOS goal advancement opportunity
GitHub: claude-code vX.Y.Z Specific version release notes
YouTube: Creator @ MM:SS Video with timestamp
Docs: Section Name Documentation section
Blog: Post Title Blog post
Reflection: <pattern> Recurring friction surfaced by Thread 3

Configuration

Skill Files:

  • sources.json — Anthropic + base sources config (30+ sources)
  • youtube-channels.json — Base YouTube channels (empty by default)
  • State/last-check.json — Anthropic state
  • State/youtube-videos.json — YouTube state
  • State/github-trending.json — GitHub trending state (seen repos)
  • State/twitter-bookmarks-seen.json — Previously processed bookmark URLs

User Customizations (~/.claude/PAI/USER/CUSTOMIZATIONS/SKILLS/Upgrade/):

  • EXTEND.yaml — Extension manifest
  • youtube-channels.json — User's personal YouTube channels
  • user-sources.json — Additional source definitions (e.g., github_trending block)

Tool Reference

Tool Purpose
Tools/Anthropic.ts Check 30+ Anthropic sources (blogs, GitHub repos, changelogs, docs) for updates

Key Principles

  1. Gap-aware before source-aware. A great Anthropic feature that doesn't close a TELOS gap loses to a small infrastructure fix that does.
  2. Extract, don't summarize.
  3. Quote the source.
  4. PAI-contextualized. Every technique maps to a specific PAI file, skill, INFRASTRUCTURE row, or component.
  5. TELOS-connected. Reference the user's goals and challenges when explaining relevance.
  6. Skip boldly. No extractable technique → skip.
  7. Implementation-ready. Actual code changes, not vague recommendations.
  8. Claude Code freshness via claude-code-guide. When discoveries involve Claude Code internals, spawn Agent(subagent_type="claude-code-guide") to verify references match the latest API surface.

Anti-Patterns (What NOT to Output)

❌ Bad Output Why It's Wrong ✅ Correct Output
"Check out R Amjad's video on Claude Code" Points to content instead of extracting "@ 5:42, R Amjad shows this technique: [quote]"
"v2.1.16 has task management improvements" Vague summary "v2.1.16 adds addBlockedBy parameter: [code example]"
"Consider looking into MCP updates" Recommendation without extraction "MCP now supports [feature]: [docs quote]"
"This could be useful for your workflows" Vague relevance "This improves Browser skill because [specific gap]"
"This helps because it improves things" Vague benefit "How It Helps PAI: closes Capture gap in INFRASTRUCTURE.md row 'gesture / wearable trigger' (status: missing) which serves G10 ({{DA_NAME}}-DA)."
Top-N flat list No priority tiers Recommendations with 🔴/🟠/🟡/🟢 tiers
Recommendations buried at bottom Burying actionable items 🔥 Recommendations second, technique details third
Recommending something already implemented Wastes user trust Move to Skipped with file:line evidence
Re-surfacing rejected ideas without new context Drift from prior decisions Only re-recommend if reason has changed
Missing Prior Status column Bypasses Thread 0 gate Every row cites Thread 0 evidence
Missing gap_dimension column (Recommend workflow) Bypasses Thread 1 gate Every row cites the closed gap

Workflows

  • Recommend.md — primary gap-driven workflow; reads TELOS + IDEAL_STATE + CURRENT_STATE/INFRASTRUCTURE.md and ranks recommendations by impact × ease × confidence. Use this when the question is "what should I work on?"
  • Upgrade.md — legacy four-thread source-driven flow; reads sources first, then maps to PAI components. Use when the question is "what's new in the ecosystem?"
  • MineReflections.md — Thread 3 standalone (deep reflection mining)
  • AlgorithmUpgrade.md — Algorithm-version-bump-focused upgrade flow
  • ResearchUpgrade.md — deep dive on a specific upgrade opportunity
  • FindSources.md — discover and evaluate new sources to monitor
  • TwitterBookmarks.md — bookmark scan via _X skill, then four-thread analysis

Gotchas

  • Hard-merge of PAIUpgrade. This skill replaces the older PAIUpgrade skill. The old skills/PAIUpgrade/ directory remains as a redirect stub so no external reference breaks. The /pu command shortcut now points here. If you find a stale reference to PAIUpgrade in another skill or doc, treat it as a string-replace candidate.
  • Recommend vs Upgrade routing. Both workflows run the same four threads. The difference is whether Thread 1 (gap analysis) or Thread 2 (source collection) drives the ranking. When the user asks "what should I work on?", lead with Thread 1. When they ask "what's new?", lead with Thread 2.
  • INFRASTRUCTURE.md is part of CURRENT_STATE. PAI components (capture devices, processing endpoints, storage, output workflows) live as CURRENT_STATE/INFRASTRUCTURE.md rows. The recommender reads them the same way it reads CONSUMPTION or ACTIVITY rows. Do not invent a separate inventory primitive.
  • Check ALL sources in parallel. Anthropic blog, changelog, YouTube, GitHub releases — never sequentially.
  • Recommendations must not break existing skills or workflows. Verify backward compatibility before applying.
  • Full upgrade check can take 5–7 minutes. Use run_in_background: true for the outer agent.
  • Ranking ties on impact × ease × confidence. Prefer items with gap_distance: near and high telos_links count. Stale partial items (no movement in 30 days) get a small recency penalty so they don't perpetually outrank fresh missing items.

Workflows · 13

  1. 01
    Recommend Workflows/Recommend.md

    what should I work on, next move, find gaps, recommend, whats high-leverage

  2. 02
    Upgrade Workflows/Upgrade.md

    check for upgrades, check sources, any updates, check Anthropic, check YouTube, upgrade, pai upgrade

  3. 03
    MineReflections Workflows/MineReflections.md

    mine reflections, check reflections, what have we learned, internal improvements

  4. 04
    AlgorithmUpgrade Workflows/AlgorithmUpgrade.md

    algorithm upgrade, improve the algorithm, fix the algorithm

  5. 05
    ResearchUpgrade Workflows/ResearchUpgrade.md

    research this upgrade, deep dive on [feature]

  6. 06
    FindSources Workflows/FindSources.md

    find upgrade sources, find new sources, discover channels

  7. 07
    TwitterBookmarks Workflows/TwitterBookmarks.md

    check bookmarks, scan bookmarks, twitter bookmarks, X bookmarks, bookmarks for upgrades

  8. 08
    Recommendations with 🔴/🟠/🟡/🟢 tiers Workflows/Recommendations with 🔴/🟠/🟡/🟢 tiers.md

    Recommendations with 🔴/🟠/🟡/🟢 tiers

  9. 09
    🔥 Recommendations second, technique details third Workflows/🔥 Recommendations second, technique details third.md

    🔥 Recommendations second, technique details third

  10. 10
    Move to Skipped with file:line evidence Workflows/Move to Skipped with file:line evidence.md

    Move to Skipped with file:line evidence

  11. 11
    Only re-recommend if reason has changed Workflows/Only re-recommend if reason has changed.md

    Only re-recommend if reason has changed

  12. 12
    Every row cites Thread 0 evidence Workflows/Every row cites Thread 0 evidence.md

    Every row cites Thread 0 evidence

  13. 13
    Every row cites the closed gap Workflows/Every row cites the closed gap.md

    Every row cites the closed gap

How to Invoke

Say any of these to your DA and PAI activates the Upgrade skill automatically:

  • "upgrade"
  • "pai upgrade"
  • "what should I work on"
  • "find gaps"
  • "next move"
  • "recommend"
  • "scan bookmarks"
  • "mine reflections"

Or invoke explicitly:

Skill("Upgrade")

Want PAI to do this for you?

Install PAI on your machine — your DA gets the Upgrade skill plus 44 others, all hooked into one Life OS.