You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Skill Portability is a Distribution Problem, Not a Packaging Problem
#61
Every AI agent system eventually asks: "How do we let users share skills?" The obvious answer is a package manager β manifests, registries, dependency resolution, versioning.
We looked at this deeply. Here's why we chose NOT to build one.
What We Learned
Observation 1: The valuable part of a skill is not the code.
Our CMHK reporting skills (9 of them) have ~200 lines of code each. But they're useless without:
18 table schemas (what columns exist, what values mean)
Hierarchy logic (5-level org scope resolution)
SQL templates (28 verified queries)
Business rules ("YTD means fiscal year, not calendar year")
Packaging the code without the domain knowledge is like shipping a car without fuel. The skill runs but produces garbage.
Observation 2: AI agents ARE the installer.
Traditional package managers exist because humans can't reliably execute multi-step installations. AI agents can. You don't need npm install when you can say "read INSTALL.md and do what it says."
The correct primitive isn't a CLI β it's a well-structured directory that any AI agent can understand:
my-skill/
βββ SKILL.md # What this does, when to use it
βββ INSTRUCTIONS.md # How to execute (the actual skill logic)
βββ CONTEXT.md # Domain knowledge required
βββ INSTALL.md # Steps for AI agent to perform
βββ scripts/ # Supporting code (if any)
Observation 3: The real barrier is context, not installation.
When we tried giving our CMHK skills to a colleague's Claude Code instance, installation took 30 seconds. But the skill couldn't answer questions correctly because it didn't know:
Which Athena table to query
What sh_l3 means in the hierarchy
That month_sequence only has value 1 (a data quirk)
The "portable skill" problem is actually a portable context problem.
Our Position
Don't build a package manager. Build a context bundling standard.
A skill pack should be:
Self-contained β includes both code AND the domain knowledge needed to use it correctly
AI-installable β any agent (Claude Code, Cursor, Windsurf) can read the INSTALL.md and set it up
Platform-agnostic β works on any system that supports markdown-based skill definitions
Verification-included β VERIFY.md tells the installing agent how to confirm it works
What it should NOT be:
A registry (GitHub repos are registries)
A dependency graph (skills should be self-contained or explicitly document what they need in INSTALL.md)
A versioning system (git tags are versioning)
A runtime (the host agent system is the runtime)
The Anti-Pattern: Skills Without Context
The AI tools ecosystem is racing to build skill marketplaces. Most will fail because they're solving the wrong problem:
What they build
What users actually need
Package registry
A directory on GitHub
Dependency resolver
Self-contained skills
Version manager
Git tags
CLI installer
AI agent reads INSTALL.md
Sandbox runtime
Host system permissions
The winning format will be the one that bundles context with code β not the one with the best CLI UX.
Practical Recommendation
If you're building a skill-sharing system:
Start with a flat directory β SKILL.md + INSTRUCTIONS.md + CONTEXT.md + INSTALL.md
Include domain knowledge β schemas, templates, business rules, examples
Write INSTALL.md for an AI agent β not for a human reading a terminal
Ship a VERIFY.md β how does the installer know it worked?
Don't build infra you don't need β GitHub is your registry, git is your version control, the AI agent is your installer
The complexity ceiling for skill distribution is much lower than it appears. The hard part is always the domain knowledge, never the packaging.
This came from evaluating whether to build a full pack system for SwarmAI. We decided the ROI was negative β the format exists (flat directories), the installer exists (AI agents), and the real value is in context bundling, which no package manager solves.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
The Temptation
Every AI agent system eventually asks: "How do we let users share skills?" The obvious answer is a package manager β manifests, registries, dependency resolution, versioning.
We looked at this deeply. Here's why we chose NOT to build one.
What We Learned
Observation 1: The valuable part of a skill is not the code.
Our CMHK reporting skills (9 of them) have ~200 lines of code each. But they're useless without:
Packaging the code without the domain knowledge is like shipping a car without fuel. The skill runs but produces garbage.
Observation 2: AI agents ARE the installer.
Traditional package managers exist because humans can't reliably execute multi-step installations. AI agents can. You don't need
npm installwhen you can say "read INSTALL.md and do what it says."The correct primitive isn't a CLI β it's a well-structured directory that any AI agent can understand:
Observation 3: The real barrier is context, not installation.
When we tried giving our CMHK skills to a colleague's Claude Code instance, installation took 30 seconds. But the skill couldn't answer questions correctly because it didn't know:
sh_l3means in the hierarchymonth_sequenceonly has value 1 (a data quirk)The "portable skill" problem is actually a portable context problem.
Our Position
Don't build a package manager. Build a context bundling standard.
A skill pack should be:
What it should NOT be:
The Anti-Pattern: Skills Without Context
The AI tools ecosystem is racing to build skill marketplaces. Most will fail because they're solving the wrong problem:
The winning format will be the one that bundles context with code β not the one with the best CLI UX.
Practical Recommendation
If you're building a skill-sharing system:
The complexity ceiling for skill distribution is much lower than it appears. The hard part is always the domain knowledge, never the packaging.
This came from evaluating whether to build a full pack system for SwarmAI. We decided the ROI was negative β the format exists (flat directories), the installer exists (AI agents), and the real value is in context bundling, which no package manager solves.
All reactions