Everything Is a Plugin, Plus Skill Packages: A Practical Path to Agent Self-Evolution
This article separates two concepts that are often confused in agent discussions: evaluation harnesses, which measure what a model can answer, and runtime frameworks, which determine whether a model can actually finish work. It then explains the three-layer relationship between chat models, agents, and runtime frameworks, and shows how the "everything is a plugin" design keeps only a minimal kernel while moving file access, command execution, retrieval, browser actions, notifications, monitoring, and even planning strategies into replaceable plugins. It also covers skill packages as reusable assets that capture how to accomplish a class of tasks, why plugins plus skill packages form a feasible engineering path to self-evolution, and the day-one practices, boundaries, and risks involved: environment isolation, credentials and cost control, observability first, small verifiable steps, and version governance.
1. First, Clear Up the Concepts: An Evaluation Harness Is Not a Runtime Workstation
In discussions about agents, the term “runtime framework” is often misread as an evaluation harness — something that hands the model an exam, collects answers, and assigns scores. The two have entirely different goals: evaluation asks whether a model can answer, while runtime asks whether a model can get the job done. Think of evaluation as an exam room and runtime as a workstation. The former measures the ceiling of capability; the latter provides hands, a computer, and a work ticket so that capability lands on real files and real commands.
This distinction matters because it determines the criteria for technical selection. If you use a runtime with an evaluation mindset, you end up watching only the quality of the output text and ignoring engineering metrics such as tool-call success rate, task completion time, and the ability to roll back after failure. Conversely, if you design an evaluation with a runtime mindset, you miss verification of permission boundaries, side-effect control, and observability. In engineering practice, the two should run in parallel: evaluation holds the baseline of model capability, and runtime verifies end-to-end delivery.
2. The Three Layers: Chat, Agents, and Runtime Frameworks
The simplest way to separate the three: a chat model is like a consultant — you ask, it answers, it cannot see local files or execute commands. An agent is like an intern — given a task such as “the tests are failing, go fix it,” it will browse directories on its own, read source code, run the tests, change the code, run them again, and report back. A runtime framework is not the intern itself but the intern’s workstation: it supplies the desk (working directory), the toolbox (callable capabilities), the ticket system (tasks and status), the monitoring cameras (logs and traces), and access control (permissions and isolation).
Once this relationship is clear, a common puzzle becomes explainable: why the same model achieves very different task success rates under different frameworks. The difference usually lies not in the model but in whether the workstation is complete — whether there is a stable tool registration mechanism, a clear way to organize context, retry and rollback strategies after failure, and the scheduling ability to break long tasks into verifiable small steps.
3. “Everything Is a Plugin”: Breaking the Workstation into Replaceable Standard Parts
The core claim of “everything is a plugin” is that the runtime itself keeps only a minimal kernel, responsible for session lifecycle, context assembly, the scheduling loop, and event recording; everything else plugs in. File reads and writes, command execution, retrieval, browser operations, message notifications, monitoring reports, and even task planning strategies can all be plugins.
This design yields three direct benefits. First, low replacement cost: when a certain capability is implemented poorly, it can be swapped out wholesale without touching the kernel. Second, clear permission scoping: plugins declare the permissions they need, and the kernel validates them uniformly at load time, which makes least-privilege authorization easier. Third, unified observability: all side effects pass through the plugin boundary, so logs, metrics, and traces can be instrumented in one place instead of patched module by module.
A schematic plugin description typically expresses only “who I am, what I can do, and what permissions I need,” without exposing the internal implementation:
plugin:name: workspace_fsversion: 0.1.0capabilities:- read_file- write_filepermissions:- path: ./sandbox/**mode: rwhooks:on_load: verify_workspaceon_unload: flush_artifacts
Note that the above is a generic illustration of the elements a plugin declaration contains, not the interface contract of any specific product. Real implementations differ in field naming and validation, so refer to the official documentation of the framework you use.
4. Skill Packages: Turning “Knowing How to Do a Class of Tasks” into a Reusable Asset
If plugins solve “being able to act,” skill packages solve “knowing how to get it done.” A skill package usually contains three parts: a documentation file describing applicable scenarios, prerequisites, and failure handling; executable scripts or sequences of tool calls; and acceptance criteria that define how to tell whether the task is truly complete. Their value is that they turn one-off successful experience into a distributable, versionable, rollback-capable asset.
The relationship between skill packages and plugins is like recipes and kitchenware: kitchenware is the general-purpose capability, while a recipe is the step orchestration and acceptance rules for a specific goal. Only when the two combine can an agent reliably reproduce established practices even in an unfamiliar project. For a team, this means experience no longer stays inside individual prompt files but enters code review and version control.
A minimal skill package directory can be abstracted as:
skills/release_check/SKILL.md # applicable scenarios, prerequisites, failure rollbackscripts/verify.sh # executable stepschecklist.yaml # acceptance criteria and thresholds
5. Why This Is a Feasible Path to Self-Evolution
Self-evolution is often misunderstood as automatic updating of model weights. A more practical engineering definition is this: experience generated by an agent in real tasks can be converted into reusable capabilities at low cost, and those capabilities can then be retrieved, combined, verified, and retired by later tasks. Plugins and skill packages supply exactly the three conditions this loop requires.
First, capabilities can be accumulated. Task traces are recorded as event streams; successful operation sequences can be abstracted into draft skill packages, while failed paths are written into the notes section of the documentation. Second, capabilities can be combined. When a new task arrives, the runtime retrieves relevant skill packages by scenario and assembles multiple plugins and skills like building blocks, instead of reasoning from scratch every time. Third, capabilities can be verified and retired. Each skill package carries acceptance criteria, a regression task set runs continuously, and anything that fails to meet the bar over the long term is automatically down-weighted or taken offline, so the “experience library” does not degrade into a “junk library.”
The resulting loop is: execution produces traces, traces are refined into skills, skills undergo regression verification, and verification results feed back into retrieval weights and documentation. This loop does not depend on the model rewriting its own parameters, yet it lets overall system performance improve with use — with far more engineering controllability than letting a model freely rewrite its own configuration.
6. Implementation: From Isolated Environments to Continuous Iteration
The most common day-one pitfalls cluster in three places: mismatched default branch naming and documentation links cause pull failures; missing model access credentials prevent startup; and running directly in a real working directory results in unintended file modifications. The corresponding safe practices are as follows.
- Environment isolation. Create a separate working directory for each task, grant read/write permission only within that directory, restrict command execution to a container or sandbox, and minimize network egress to what is actually needed.
- Credentials and cost. The runtime depends on model services, so you must supply your own access credentials and pay for usage; set budget caps and call-count alerts to avoid long loops inflating costs.
- Observability first. Wire up log collection and metrics monitoring before opening write access; at key points, record the task identifier, plugin version, and skill package version to make retrospectives easier.
- Small, verifiable steps. Break a large task like “fix the failing tests” into four steps — read, modify, run, report — with a decidable criterion for each, rolling back on failure.
- Version governance. Put plugins and skill packages under version control and route changes through review; complete regression-set verification before production use, and do not lock preview-stage capabilities as production dependencies.
If team-level sharing is needed, generic cloud capabilities can carry it: object storage holds skill package artifacts, message queues decouple long-running tasks, container platforms provide isolated execution environments, logging services and monitoring alerts handle observability, and a configuration center manages permissions and feature switches. These are all generic categories; evaluate specific choices against your own compliance and cost requirements.
7. Boundaries and Risks
Three boundaries must be acknowledged. First, this pattern improves the efficiency of experience reuse; it does not guarantee task success, and model capability remains the ceiling. Second, plugins and skill packages expand the attack surface — supply chain verification, least privilege, and side-effect auditing are all indispensable. Third, preview-stage interfaces are unstable, and upgrades may break existing skill packages, so a compatibility layer and a gradual rollout strategy need to be kept.
8. Conclusion
“Everything is a plugin plus skill packages” is a plausible path to agent self-evolution not because the idea is novel, but because it breaks evolution into four things that can be engineered: capabilities that are pluggable, experience that accumulates, results that are verifiable, and risks that are constrained. For developers, real readiness is not waiting for stronger models but building the workstation, the access control, and the regression set first — the more disciplined the workstation, the more easily experience becomes an asset, and the closer the system comes to sustainable iteration.
