From Agent to Skills: A Paradigm Shift in AI Agent Architecture
This article explains the shift from monolithic AI agents to a layered architecture that separates the connection protocol from Skills. It covers why single-loop agents struggle to scale, how progressive disclosure keeps context usage under control, practical engineering guidance, common pitfalls, and how general cloud capabilities support runtime and governance.
1. Background: Two Layers of Capability Have Been Split Apart
Early agent systems typically took the form of “one large loop plus one large prompt”: the model decided which tool to call inside the loop, while the tool inventory, domain knowledge, and output specifications were all stuffed into the same context. As more systems were connected and business domains expanded, this approach quickly hit three ceilings: context crowded out by tool definitions, domain knowledge that could not be reused across tasks, and blurred permission and audit boundaries.
The industry’s response over the past two years has been to split the two originally coupled layers of capability. One layer handles “being able to connect” — how the model discovers and uses external tools and data in a unified way. The other handles “being specialized” — how the model loads a domain’s operating rules and proprietary knowledge on demand. The former appeared at the end of 2024 as an open protocol, standardizing how tools and data are integrated. The latter first landed in the second half of 2025 as a “Skills” mechanism inside AI coding tools, was then released as an open standard, and was adopted by multiple mainstream vendors within a very short time. Over the same period, the connection protocol was donated to a neutral foundation, completing its transition from a single-vendor project to industry infrastructure.
| Stage | Time | Key Action | Problem Solved |
|---|---|---|---|
| Connection layer standardization | November 2024 | A cloud vendor open-sourced a model context connection protocol | Repeated integration work for tools and data |
| Skills mechanism validation | October 2025 | Skills mechanism introduced in AI coding tools | On-demand loading of domain knowledge |
| Skills standard opened | Mid-December 2025 | Skills released as an open standard, adopted by multiple vendors within 48 hours | Reuse across tools and vendors |
| Neutral governance | December 2025 | Connection protocol placed under a neutral foundation | Long-term evolution and ecosystem trust |
It is worth stressing that this is not “agents becoming obsolete.” It is a redistribution of responsibilities: the agent remains the entity that makes decisions and executes, while Skills and the connection protocol become its knowledge supply surface and capability supply surface respectively.
2. Aligning the Concepts: Boundaries Between Agent, Connection Protocol, and Skills
The core of an agent is the “perceive — plan — act — feedback” loop. It decomposes goals, selects means, and verifies results. The connection protocol defines the communication contract between the model side and external systems: how capabilities are declared, how calls are initiated, how results are returned, and how permissions are constrained. Skills are domain assets packaged for the model to use, typically containing trigger condition descriptions, operating steps, reference documents, and optional scripts.
The relationship can be compared to this: the agent is the executor, the connection protocol is the standardized socket, and Skills are the specialized toolbox that gets plugged in as tasks require. Moving knowledge out of the prompt and into Skills is essentially turning a “one-time explanation” into a versionable, testable, distributable engineering asset.
3. Why Monolithic Agents Are Hard to Scale
The first issue is the context budget. Tool schemas and domain descriptions stay resident in context; once tasks multiply, they interfere with each other, the probability of the model picking the wrong tool rises, and stability on long tasks drops.
The second is reuse. Knowledge hard-coded in prompts cannot be shared across teams or product lines, so the same specification is implemented repeatedly and drifts in each copy.
The third is governance. Without unified capability declarations and invocation contracts, permission checks, data masking, and audit logs end up scattered across business code, making it hard to form a consistent compliance evidence chain.
The fourth is cost. Loading everything means every request pays for knowledge that may never be used, pushing up both token consumption and latency.
4. The Key Mechanism of Skills: Progressive Disclosure
Skills ease these problems through three levels of on-demand loading:
- The resident layer keeps only the skill name and a one-line description for routing decisions, at very low cost.
- Only after a match is the skill’s full instructions and operating constraints loaded.
- Attached documents, templates, or executable scripts are read only when needed.
A schematic directory layout looks like this (it expresses structure only and does not represent any specific product implementation):
skills/invoice-reconcile/SKILL.md # name, description, trigger conditions, stepsreferences/rules.md # detailed rules and edge casesscripts/check.py # optional deterministic validation logic
This structure yields three direct benefits: context usage is decoupled from the number of skills; updating knowledge means changing files rather than the main loop; and deterministic logic is pushed down into scripts, reducing the uncertainty that comes from letting the model improvise.
5. Engineering Implementation Essentials
- The description is the route. A skill description must state clearly when to use it and when not to, otherwise it will fail to trigger when it should and trigger when it should not.
- Single responsibility. One skill covers one verifiable business loop; if it grows too large, split it.
- Determinism first. Anything that can be validated by code should not be left to model judgment; the model plans, the script decides.
- Least privilege. Separate capability declarations from credentials, authorize at task granularity, and keep a trace of every call.
- Observability. Establish metrics for trigger rate, success rate, fallback rate, and average context usage, and iterate based on data.
- Versioning and canary release. Skills need version numbers, regression cases, and canary rollouts just like prompts do.
6. Common Pitfalls
Treating Skills as “more prompts” — moving content without structuring it; writing every skill description at excessive length, which cancels out the benefit of on-demand loading; ignoring fallback paths, so there is no default strategy when a skill does not match; and putting permissions inside the skill body, which spreads credentials along with the asset.
7. Filling the Gaps With General Cloud Capabilities
Skills and protocols solve the architectural shape, but production systems also need infrastructure support: a container platform to host the agent runtime and scale it elastically; object storage to centrally host skill packages and documents, with versioned directories enabling canary releases; a message queue to asynchronously decouple and retry long-running tasks; logging and monitoring with alerting to build call-chain tracing and metric dashboards; and unified key and permission management to consolidate credentials. Baidu AI Cloud offers corresponding capabilities in these general categories, and they can be mapped directly onto the layers above without changing the architecture itself.
8. Conclusion
From Agent to Skills, the essence is moving agents from “prompt engineering” to “software engineering”: capabilities are declared, knowledge is versioned, permissions are consolidated, and results are measured. Splitting the connection and knowledge layers first, then using progressive disclosure to control context, and finally filling in runtime and governance with general cloud capabilities is currently the most reliable path to building extensible agent systems.
