PAIUpgrade

From Steffen025/pai-opencode · View interactive version

PAIUpgrade is an AI agent skill from the GitHub repository Steffen025/pai-opencode. Extract system improvements and monitor Anthropic ecosystem. USE WHEN upgrade, check Anthropic, new Claude features.

How to use this skill

Skill file

Customization

Before executing, check for user customizations at:

~/.opencode/PAI/USER/SKILLCUSTOMIZATIONS/PAIUpgrade/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

PAIUpgrade Skill

Universal system upgrade skill with two modes:

  1. Analysis Mode - Analyze ANY content to identify system improvement opportunities
  2. Monitoring Mode - Proactively monitor Anthropic ecosystem and YouTube for updates

Voice Notification

When executing a workflow, do BOTH:

  1. Send voice notification:

```bash

curl -s -X POST http://localhost:8888/notify \

-H "Content-Type: application/json" \

-d '{"message": "Running the WORKFLOWNAME workflow from the PAIUpgrade skill"}' \

> /dev/null 2>&1 &

```

  1. Output text notification:

```

Running the WorkflowName workflow from the PAIUpgrade skill...

```

Workflow Routing

Route to the appropriate workflow based on the request.

When executing a workflow, output this notification directly:

Running the **WorkflowName** workflow from the **PAIUpgrade** skill...

| Workflow | Trigger | File |

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

| CheckForUpgrades | "check for upgrades", "check sources", "any updates", "check Anthropic", "check YouTube" | Workflows/CheckForUpgrades.md |

| ResearchUpgrade | "research this upgrade", "deep dive on [feature]", "further research" | Workflows/ResearchUpgrade.md |

| ReleaseNotesDeepDive | "analyze release notes", "deep dive release" | Workflows/ReleaseNotesDeepDive.md |

| FindSources | "find upgrade sources", "find new sources", "discover channels" | Workflows/FindSources.md |


When to Activate This Skill

Check for Upgrades Triggers

Research Triggers

Source Discovery Triggers

Contextual Triggers


Part 1: Content Analysis Mode

Universal Input -> System Upgrade Recommendations

Takes ANY content type and performs deep thinking analysis to extract insights and identify concrete system infrastructure improvement opportunities.

Analysis Dimensions

Analyzes content across 10 dimensions:

Supported Content Types

Output Format

"No Gaps Found" is a VALID and often CORRECT output.

If analysis shows the system already implements everything in the content:

Only if genuine gaps exist, output prioritized recommendations:

What is NOT a valid recommendation:

These are busywork, not upgrades. If the system does it, we don't need to "document" it as an upgrade.


Part 2: Source Monitoring Mode

Proactive ecosystem monitoring for PAI-relevant updates

Anthropic Monitoring (30+ sources)

Sources Monitored:

  1. Blogs & News (4) - Main blog, Alignment, Research, Interpretability
  2. GitHub Repositories (21+) - claude-code, skills, MCP, SDKs, cookbooks
  3. Changelogs (5) - Claude Code CHANGELOG, releases, docs notes
  4. Documentation (6) - Claude docs, API docs, MCP docs, spec, registry
  5. Community (1) - Discord server

Tool: Tools/Anthropic.ts

YouTube Monitoring

YouTube channels are configured via the Skill Customization Layer.

See ~/.opencode/PAI/USER/SKILLCUSTOMIZATIONS/PAIUpgrade/ for user-specific channels.

Features:


Tool Reference

| Tool | Purpose |

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

| Tools/Anthropic.ts | Check Anthropic sources for updates |

Configuration

Skill Files:

User Customizations (~/.opencode/PAI/USER/SKILLCUSTOMIZATIONS/PAIUpgrade/):

Use bun ~/.opencode/PAI/Tools/LoadSkillConfig.ts to load configs with customizations merged.


Core Workflow Overview

The skill has four complementary workflows:

| Workflow | Purpose |

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

| CheckForUpgrades | Monitor configured sources (Anthropic + YouTube) for new content |

| ResearchUpgrade | Deep dive on discovered features to understand implementation |

| ReleaseNotesDeepDive | Specialized research on Claude Code release notes |

| FindSources | Discover and evaluate new sources to add to monitoring |

Typical flow:

  1. Run CheckForUpgrades to discover new content
  2. Use ResearchUpgrade to dig deeper on interesting items
  3. Use FindSources to expand monitoring over time

Advanced Features

Synergy Detection

Identifies combinations of improvements that multiply value:

Trend Tracking

When analyzing multiple pieces of content over time:

Gap Analysis

Compares content insights to the system's current capabilities:

Meta-Learning

The skill improves its own recommendations over time:


Integration Points

With Other Skills

parser:

research:

be-creative:

development:

VideoTranscript:

With System Components

History Capture:

Todo System:

Agent Delegation:


Examples

Example 1: Check for upgrades

User: "check for upgrades"
→ Invokes CheckForUpgrades workflow
→ Runs Anthropic.ts tool (30+ sources)
→ Checks YouTube channels (from USER config)
→ Combines into prioritized upgrade report

Example 2: Research a discovered feature

User: "research the new context forking feature"
→ Invokes ResearchUpgrade workflow
→ Spawns parallel research agents
→ Searches GitHub, docs, blog for details
→ Maps to PAI architecture opportunities
→ Outputs implementation recommendations

Example 3: Deep dive on release notes

User: "deep dive the latest release notes"
→ Invokes ReleaseNotesDeepDive workflow
→ Runs /release-notes to capture features
→ Launches parallel research agents for each feature
→ Maps to PAI architecture opportunities
→ Outputs prioritized upgrade roadmap with citations

Example 4: Find new sources

User: "find new upgrade sources"
→ Invokes FindSources workflow
→ Searches for relevant YouTube channels
→ Evaluates and ranks findings
→ Outputs recommendations with add instructions

Key Principles

  1. Universal Input - Accept any content type without restriction
  2. Deep Analysis - Use extended thinking for thorough examination
  3. System-Aware - Understand current system state and constraints
  4. Action-Oriented - Every insight maps to concrete next steps
  5. Prioritized - Clear ranking by impact vs effort
  6. Learning System - Improve recommendations over time
  7. Synergy-Seeking - Find combinations that multiply value
  8. Stack-Aligned - Respect TypeScript > Python, CLI-First, bun > npm
  9. NO GAPS = NO RECOMMENDATIONS - If the system already does everything in the content, say so and STOP

Output Quality Standards

Every recommendation must have:

Avoid:


Workflows


This skill embodies the system's commitment to continuous improvement and learning from the broader ecosystem while maintaining our architectural principles and preferences.

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.