Self-Improving AI: How PRPM Teaches AI Assistants to Get Better at Their Job
AI that recognizes its knowledge gaps and installs the expertise it needs, automatically
Imagine an AI assistant that recognizes "I'm working on Pulumi infrastructure—let me check if there's an expert package for this" and installs it automatically. That's shipping today.
You ask your AI assistant to help with AWS infrastructure. Before it starts, it analyzes your project, searches PRPM, finds an official Pulumi package, and asks: "Should I install this to help with your task?" You approve, and it immediately applies patterns from developers who've built production Pulumi stacks.
This is the self-improving skill—PRPM's answer to AI assistants that can actively acquire expertise when they need it.
Watch It In Action
Here's what it looks like when your AI assistant recognizes it needs specialized knowledge:

Watch the full video on YouTube →
Notice what just happened: Cursor analyzed the project description, identified it was building a Hacker News app with React and TypeScript, searched the PRPM registry for relevant packages, and offered to install them. The entire flow took seconds.
The Problem: AI Assistants Don't Know What They Don't Know
Current AI coding assistants are impressive generalists. They can write React components, debug Python, and help with SQL queries. But they're also limited by their training data and base knowledge.
When you ask an AI assistant to help with a specialized task—say, setting up GitHub Actions workflows or optimizing Kubernetes manifests—it gives you generic advice based on general patterns. It doesn't know about your team's conventions, the latest best practices from the community, or the hard-won lessons from developers who've solved these exact problems.
The knowledge exists. It's scattered across GitHub repos, blog posts, and internal docs. But there's no mechanism for the AI to discover and apply it when needed.
The Gap
Think about human developers. When we encounter an unfamiliar task, we search for libraries, read documentation, and ask experts. We augment our knowledge actively.
AI assistants have been stuck with their base knowledge. They can't actively seek out expertise. Until now.
The Solution: Self-Improvement Through Package Discovery
PRPM's self-improving skill teaches AI assistants to recognize knowledge gaps and fill them automatically. It's a meta-skill: a skill that helps the AI acquire other skills.
How It Works
The self-improving skill follows a simple workflow:
- Project Analysis: Your AI assistant analyzes your project content and task description for domain-specific context (aws, pulumi, terraform, react, playwright, etc.)
- Automatic Search: It searches the PRPM registry for relevant expertise packages
- Quality Filtering: It evaluates packages based on download counts, official status, and relevance
- User Permission: It presents the top packages and asks for your approval
- Installation & Application: Once approved, it installs the package and immediately applies that knowledge to your task
The entire process is transparent. You see what your AI is thinking, what it found, and why it's suggesting specific packages.
The Technical Approach
The self-improving skill is implemented with intelligent triggering logic that works across AI coding assistants. Here's what makes it work:
Context Detection
The skill activates when your AI assistant detects domain-specific context in your project or request:
| Domain | Keywords | Search Query |
|---|---|---|
| Infrastructure | aws, pulumi, terraform, kubernetes | prpm search "infrastructure <tool>" |
| Testing | test, playwright, jest, cypress | prpm search "testing <framework>" |
| CI/CD | github-actions, gitlab-ci, deploy | prpm search "deployment <platform>" |
| Frameworks | react, vue, next.js, express | prpm search "<framework> best-practices" |
Confidence-Based Filtering
Not all packages are equal. The self-improving skill uses a confidence system to decide what to suggest:
✓ High Confidence (Auto-suggest)
- Official packages from
@prpm/* - Featured packages vetted by PRPM team
- High download counts (>1,000)
- Verified authors
⚠ Medium Confidence (Present options)
- Community packages (<1,000 downloads)
- Multiple similar packages (let user choose)
- Tangentially related packages
✗ Low Confidence (Skip)
- Unverified packages
- Deprecated packages
- Zero or very low downloads
Installation Command
When you approve a package, your AI assistant runs:
prpm install @prpm/pulumi-infrastructure --as cursorThe --as flag tells PRPM to install the package for your specific AI tool. This means:
- The package gets converted to your tool's format automatically
- It's installed in the right directory (e.g.,
~/.cursor/rules/,~/.claude/skills/) - Your AI can immediately load and use the new knowledge
Use Cases: When Self-Improvement Shines
Infrastructure as Code
Setting up AWS infrastructure with Pulumi? Your AI discovers @prpm/pulumi-infrastructure and applies battle-tested production patterns—fewer bugs, better performance, lower costs.
Testing & Migrations
Adding Playwright tests or migrating to Next.js App Router? Your AI installs framework-specific packages and writes idiomatic code that follows best practices, reducing regressions and review cycles.
Team Conventions
Working with TypeScript or team-specific rules? Your AI discovers your team's convention packages and generates code that matches your standards automatically.
The Broader Vision: Distributable Intelligence
The self-improving skill is more than a neat feature. It's a glimpse into how software knowledge will be shared in the AI era.
From Documentation to Executable Knowledge
Traditional software distributes libraries (npm, pip) and documentation separately. There's always been a gap: how do you share patterns and domain expertise in a way that's both discoverable and executable?
PRPM fills that gap with executable knowledge packages that AI assistants can discover when needed, apply automatically, version-control, and use across different tools.
The Compounding Effect
The self-improving skill teaches your AI how to continuously get better. Every task becomes an opportunity to discover and apply new expertise. We use it to build PRPM itself—the same packages that helped us achieve 74% infrastructure cost savings are available to everyone.
Getting Started
Installing the self-improving skill takes less than 60 seconds:
# Install PRPM CLI
npm install -g prpm
# Install the self-improving skill for Claude
prpm install @prpm/self-improving --as claude
# Or for Cursor
prpm install @prpm/self-improve-cursor --as cursor
# Or for other tools
prpm install @prpm/self-improve-windsurf --as windsurf
prpm install @prpm/self-improve-continue --as continueOnce installed, the skill activates automatically when you work on infrastructure, testing, deployment, or framework-specific tasks.
Trying It Out
Start a conversation with your AI assistant about infrastructure, testing, or framework-specific tasks. Watch it analyze your project context, search PRPM, and suggest relevant packages. The quality of assistance improves immediately.
Privacy and Control
Self-improvement happens transparently and with your control:
- Local searches: All package searches happen locally—no data sent to PRPM servers
- Explicit approval: Your AI always asks permission before installing packages
- Full transparency: You see exactly what was found and why specific packages are being suggested
- Reversible: You can uninstall packages anytime with
prpm uninstall
Download tracking only happens on installation, and no personal data is collected.
What's Next
The self-improving skill is just the beginning. We're working on:
- Learning from outcomes: Track which packages were most helpful and surface them more prominently
- Contextual collections: Suggest entire collections for common scenarios ("You're building a startup MVP? Here are 15 packages that will help")
- Cross-project learning: Let AI assistants remember which packages worked well and proactively suggest them in similar contexts
- Community curation: Surface packages that developers with similar workflows found valuable
The goal is simple: AI assistants that get continuously better at their job by learning from the community.
Why This Matters
AI assistants are impressive generalists but limited specialists. The self-improving skill changes that—it lets them acquire deep, specialized knowledge on demand from real developers solving real problems.
This creates a positive feedback loop: when developers package their expertise (optimizing Kubernetes, building resilient CI/CD), every AI assistant can learn from it. Better packages lead to better AI assistance, which helps build better software, which gets packaged and shared, making AI assistants even more capable.
"The best way to predict the future is to invent it."
We're inventing a future where AI assistants continuously improve by learning from the developer community. The self-improving skill is how we get there.
Try Self-Improving AI Today
Install the self-improving skill and watch your AI assistant get smarter with every task