Can Small Models Power Agent Skills? A Guide to Model Selection and Deployment
This article examines whether small language models (roughly 0.3B to 80B parameters) can effectively support Agent Skills. It formalizes the skill system with a Partially Observable Markov Decision Process (POMDP)—covering state, observation, action, and belief structures—then outlines an industrial-grade evaluation spanning the 0.3B-to-80B model spectrum, and finally offers practical guidance on model selection, skill routing, context budget management, and cascade strategies. Readers will find an executable decision framework, example result tables, code snippets, and a troubleshooting checklist to help decide under what conditions small models work and at what cost.
Introduction: Can Small Models Support Skill-Based Agents?
Agent Skills (referred to as “skills” below) have become the standard way to organize capabilities for large model agents. Developers package commonly used capabilities into reusable skill modules—for example, “query order status,” “generate monthly reports,” or “run device inspection workflows.” Each module typically contains a name and description, an internal execution policy, and reference entry points to external resources and tools. This approach has two benefits: first, it turns capabilities into reusable assets, avoiding the need to rewrite prompts every time; second, it lets the model call on capabilities as needed, without stuffing all details into the system prompt.
However, the skill mechanism was originally designed for stronger general-purpose large models. It carries two implicit assumptions: that the model can understand natural language descriptions and judge when they apply, and that it can reason stably over multiple steps in a long context. When the model is scaled down to a size that local hardware can handle—roughly 0.3B to 80B parameters—do these two assumptions still hold?
Based on public method overviews and engineering practice, this article presents an executable decision framework. We first formalize the agent skill system using a Partially Observable Markov Decision Process (POMDP); then explain how to design an industrial-grade evaluation covering the 0.3B-to-80B range; and finally offer recommendations on model selection, skill routing, and context budget management. Note that this article does not fabricate specific paper conclusions or a unified benchmark leaderboard; instead, it provides reproducible methods and example analyses.
1. Why Model Skill Systems with a POMDP?
1.1 Core Premise: Small Models Need “Capability,” Not “Parameter Count”
To answer “can small models use skills,” we first need to clarify what skills bring to the model. Conventionally, model capability comes mainly from parameter count and pretraining data volume—the smaller the model, the weaker its reasoning and generalization. The skill mechanism takes a different approach: it injects external structured knowledge, process constraints, and tool interfaces as temporary capabilities, so the model does not need to infer “what to do” from scratch, only to judge “when to do it and in what order.”
For large models, this injection is often just a nice-to-have, because they already have strong reasoning and instruction-following abilities. For small models, the skill mechanism can be essential, for several reasons:
- Compressing the decision space: small models tend to make mistakes on open-ended problems; skills narrow the task down to a few predefined options, reducing the chance of errors;
- Externalizing complex processes: multi-step tasks put pressure on short-context models; skills externalize the process steps, so the model only executes step by step;
- Lowering the prompt engineering barrier: clear skill descriptions can approximate high-quality few-shot examples, helping compensate for small models’ weaker instruction generalization.
But there are also countervailing risks:
- Description matching failures: as the number of skills grows, similar descriptions and fuzzy boundaries make it easy for small models to pick the wrong skill;
- Tight context budget: skill descriptions, history, and tool outputs compete for limited context, and small models are hit hardest;
- Poor multi-step stability: once an intermediate step deviates from expectations, later reasoning tends to accumulate errors.
Therefore, the essence of “small models + skills” is a trade-off between benefits and costs. To make a scientific decision, we need a unified framework that can describe task progress, information acquisition cost, and the impact of uncertainty at the same time—which is exactly where POMDP is useful.
1.2 Why POMDP Instead of MDP?
In classical reinforcement learning, MDP is often used to describe decision problems where the environment is fully observable, typically including state space, action space, state transitions, and rewards. But real agent tasks often have information asymmetry: the agent cannot see the user’s true intent, only a single message; it does not know which stage the task is in, or which facts have not yet been retrieved; it can only acquire information step by step through tool calls and document reading—and these actions have costs.
Therefore, the system is better modeled as a POMDP. More precisely, a POMDP is usually represented by state space, action space, state transitions, observation set, observation function, and reward, and uses belief states to represent the agent’s probabilistic judgment of the true state. It is not simply adding an “observation function” on top of an MDP; rather, by explicitly modeling observation uncertainty, it lets the agent make decisions under partial observability.
Describing a skill system with POMDP brings at least four benefits:
- Incorporating information acquisition into the action space: skill invocation, context retrieval, and tool execution can all be treated as actions, allowing a unified comparison of benefits and costs;
- Explicitly modeling uncertainty: belief states allow the agent to know what it does not know, triggering additional information acquisition;
- Supporting long-term planning: rewards can be cumulative, and the agent can weigh fast completion against thorough verification;
- Facilitating engineering evaluation: belief updates, action costs, and cumulative rewards can all be mapped to observable metrics.
1.3 The Triple Representation of Skills
Each skill can be formalized as an abstract triple:
Skill = (d, π, r)
where:
- Text descriptor d: includes the skill name and natural language description. It is the only skill information the agent can see during selection. It determines whether the skill can be correctly retrieved and whether it will be mistakenly selected, equivalent to the skill’s metadata.
- Internal policy π: the temporally extended policy within a skill, an option-level process or workflow. It specifies how to execute once the skill is selected, and may include sub-steps, conditional branches, tool call sequences, and so on.
- Reference mechanism r: a context expansion rule or retrieval mapping used to reveal additional context, tool descriptions, and even other skill entry points related to the skill. In engineering, r can be implemented with keyword mapping, vector retrieval, rule tables, configuration pointers, or probabilistic sampling strategies. Given the current task, r determines which information can be loaded at the next moment, corresponding to progressive information loading.
The value of this triple is that it elevates a skill from “a piece of prompt” to an object that algorithms can operate on: the descriptor can be evaluated for matching quality; the internal policy can be evaluated for execution stability; the reference mechanism can be evaluated for context loading efficiency.
The following code shows a minimal skill structure in Python pseudocode:
from dataclasses import dataclassfrom typing import List, Callable, Optional@dataclassclass Skill:name: strdescription: str # text descriptor dreferences: List[str] # list of reference pointers rpolicy: Callable # internal policy π: returns the next action given a contextpreconditions: Optional[List[str]] = None # preconditions (optional)postconditions: Optional[List[str]] = None # post-condition checks (optional)
This structure can be further extended in real engineering:
preconditions/postconditionscorrespond to state assertions before and after skill execution, facilitating correctness checks;referencespoints to other skills or tool descriptions, supporting skill composition;policycan be a prompt template, a small state machine, or even an independent lightweight model.
1.4 State, Observation, and Action Space
The core elements of a POMDP can be concretized in a skill system as follows.
State space S (hidden state): includes user intent, task stage and progress, and environment facts not yet retrieved. The agent cannot directly observe the state and can only infer it through interaction.
Observation space O (observable information): the set of information the agent can access at time t, including the current user message, conversation history, loaded skill descriptions, and resource fragments. An observation is a “projection” of the state—incomplete and noisy.
Action space A: in a skill system, actions include at least four types:
- Selecting a skill: picking a skill from the skill library and preparing to execute it, corresponding to the entry point of internal policy π;
- Acquiring context (a paid action): explicitly requesting more information, such as reading a reference, retrieving a document, or expanding sub-steps. These actions should be treated as cost-bearing, because every additional read consumes context budget or tool call counts;
- Executing a skill: advancing step by step according to internal policy π, which may involve multiple tool calls;
- Acting directly: interacting directly with the environment or tools without invoking a skill, suitable for simple tasks or scenarios not covered by skills.
Belief state b: the agent’s probability distribution over the true state given the history of observations and actions. Belief updates can be maintained explicitly by the agent—for example, tracking task stage markers—or implicitly carried by the context window, treating the conversation history as an approximate representation of the belief. In the POMDP framework, belief updates are the core basis for evaluating whether the agent “knows which step it is on.”
The following code shows the core POMDP elements as abstract interfaces:
class POMDP:def step(self, action) -> tuple[obs, reward, done, info]:"""Execute an action and return:- obs: new observation (user message, tool result, skill feedback, etc.)- reward: immediate reward (task progress increment - information acquisition cost)- done: whether the task is complete- info: additional information (e.g., skill match score, context usage)"""...def belief_update(self, belief, action, obs):"""Update the belief state based on the new observation; in engineering, this can be implemented by the context management module"""...def select_action(self, belief, skills):"""Select an action based on the current belief and skill library"""...
1.5 Reward Function and Budget Constraints
The POMDP objective function is usually written as the form of cumulative discounted reward. In a skill system, the reward consists of at least two parts:
- Task progress increment: whenever the task advances—for example, successfully calling a tool, obtaining a key result, or passing post-condition checks—give a positive reward;
- Information acquisition cost: give a negative reward whenever an “acquire context” action is executed, to curb uncontrolled loading.
Additionally, termination rewards and failure penalties can be added according to the task type. Below is a simplified example; the weights need to be calibrated for the specific task:
def compute_reward(task_progress: float, context_cost: float,w_progress: float = 1.0, w_cost: float = 0.1) -> float:"""task_progress: task progress increment (0~1)context_cost: proportion of context budget consumed by this action (0~1)"""return w_progress * task_progress - w_cost * context_cost
This formalization has three direct implications for engineering:
- Skill selection is not free: every skill invocation consumes context and reasoning steps, so the skill library cannot grow without limit;
- Information acquisition should be on demand: prioritize loading high-information-gain references rather than stuffing all reference material into the prompt at once;
- Task progress must be observable or approximable: in engineering, this is usually obtained through proxy signals such as tool return values, state machine stage markers, and post-condition checks.
2. From 0.3B to 80B: Designing an Industrial-Grade Evaluation
This section describes the evaluation method. Since we do not fabricate specific paper conclusions, the following evaluation plan is a public method overview and engineering example; actual reproduction requires supplementing dataset names, sources, sample sizes, and model versions.
2.1 Evaluation Set Design: Industrial Datasets Close to Real Business
Use industrial datasets close to real business rather than synthetic toy tasks. Industrial evaluation sets typically feature diverse tasks, complex states, noise interference, and real tools. An example dataset could be named the “Industrial Task Evaluation Set,” composed of four types of tasks—query, computation, document retrieval, and process execution; if using public datasets, note the dataset name, source, license, and sample statistics in the paper or report. The sample size is recommended to be no fewer than 500 items, covering at least 100 real scenarios; if resources are limited, you can first run a small-scale regression of 300 items.
Such evaluation sets more realistically reflect skill system performance in production, avoiding inflated accuracy on simple tasks. For industrial users, this means evaluation conclusions have stronger transferability—provided your business scenario is close enough to the evaluation set.
2.2 Model Spectrum: Covering 0.3B to 80B
Select multiple tiers of open-source models covering small, medium, and larger models. The example model list below uses model names only as tier examples; they can actually be replaced with specific versions such as Qwen, Llama, or Mistral:
- 0.27B to 0.3B: edge devices or CPU;
- 1B: low-cost local deployment;
- 3B: lightweight balance;
- 8B: a common single-GPU balance point;
- 14B: stronger multi-step reasoning;
- 32B: complex tasks;
- 72B to 80B: high-precision reference tier.
This design has three considerations:
- Verifying the scale dependence of the skill mechanism: does the performance improvement from skills vary with model size? If small models also benefit significantly, the space for localized deployment opens up considerably;
- Locating the cost-performance inflection point: at which parameter scale does the skill mechanism start to work reliably? This directly guides hardware selection;
- Eliminating interference from the model itself: horizontal comparison under the same skill system separates the contribution of skills, context management strategy, and base model capability.
For industrial users, this spectrum maps directly to deployable hardware ranges: 0.3B-class models can run on edge devices or CPUs, while 80B-class models typically require multi-GPU servers. Through the evaluation curves, users can judge which tier to stay at within their hardware budget.
2.3 Evaluation Metrics: From Success Rate to Efficiency
Industrial-grade evaluation usually cares not only about “whether it gets it right,” but also about “how well, how fast, and how expensive.” Typical metrics include:
- Task success rate: whether the final task goal is achieved—the most important metric;
- Skill selection accuracy: whether the correct skill is selected at the right time, directly reflecting descriptor quality and small model matching ability;
- Parameter filling accuracy: whether the parameters required by the skill are correctly extracted and passed;
- Reference hit rate: whether the context loaded by the reference mechanism is actually used, reflecting the efficiency of information acquisition actions;
- Average interaction steps: the average number of turns to complete the task; fewer steps usually means higher efficiency;
- Token and call cost: Token consumption and tool call counts per task, directly related to deployment cost;
- Latency and stability: response time and error rate, determining user experience;
- Failure mode distribution: whether failures stem from wrong skill selection, parameter errors, insufficient context, or tool anomalies, used to guide targeted optimization.
To avoid confusion in metric definitions, it is recommended to clarify the calculation methods:
- Skill selection accuracy = number of tasks with the correct skill selected / number of tasks requiring a skill;
- Parameter filling accuracy = number of times parameters fully meet task requirements / number of tasks requiring parameter filling;
- Reference hit rate = number of loaded references actually used by later steps / total number of loads;
- Average interaction steps = total number of actions / total number of tasks;
- Cost = a combination of Token consumption, tool call counts, and latency.
These metrics together form a multi-dimensional evaluation radar that reveals the true performance of small models with the skill mechanism better than a single accuracy metric.
2.4 Control Experiment Design and an Example Results Table
To answer “are skills effective,” you must set up reasonable control groups. Common designs include:
- No-skill baseline: only a system prompt and tool descriptions, letting the model plan autonomously;
- Full skill injection: putting all skill descriptions into the context at once;
- On-demand skill loading: progressively loading skill-related context through the reference mechanism;
- Cross-comparison of different model sizes: performance differences of different model sizes under the same skill system.
Through this matrix-style comparison, you can clearly distinguish “the contribution of skills themselves,” “the contribution of context management strategy,” and “the contribution of model size,” avoiding mistaking improved model capability for the effect of the skill mechanism.
The following example results table is used to illustrate how to interpret results and does not represent a unified experimental conclusion:
| Model tier | Suitable tasks | Task success rate | Skill selection accuracy | Reference hit rate | Cost/latency | Conclusion |
|---|---|---|---|---|---|---|
| 0.3B | Single skill, short process | Lower | Lower | Medium-low | Lowest | Can pilot; strict limit on skill count needed |
| 1B | Simple queries, form filling | Medium | Medium | Medium | Low | Suitable for lightweight agents |
| 3B | Basic multi-skill routing tasks | Medium-high | Medium-high | Medium | Relatively low | Starting point for cost-performance |
| 8B | Complex multi-step, tool calls | Higher | Higher | Higher | Medium | Common balance point |
| 14B–32B | High-precision processes | High | High | High | Relatively high | Trading cost for stability |
| 72B–80B | High-complexity tasks | Very high | Very high | High | Very high | As fallback or offline batch processing |
If the business requires it, it is recommended to set the success rate target as a “usability threshold”—for example, no less than 85% for ordinary customer service tasks and no less than 90% for process-type tasks; if skill selection accuracy is below 70%, you should first optimize descriptions and routing rather than directly switching to a larger model.
3. Selection and Routing: Building on Limited Hardware
3.1 How Should You Choose Model Size?
Combining the POMDP perspective with industrial evaluation thinking, the following selection recommendations are given. Specific tiers need to be adjusted according to task complexity and hardware conditions:
| Task characteristics | Recommended model size | Reason |
|---|---|---|
| Single skill, few parameters, short process | 0.3B to 1B | Small decision space; small models are sufficient, with the lowest latency and cost |
| Multiple skills, requires routing | 1B to 8B | Requires a certain level of semantic matching; around 8B is a common balance point |
| Complex multi-step, requires reference mechanism | 8B to 30B | Better long-context reasoning and tool call stability |
| High precision, strong generalization requirements | 30B to 80B | Close to large model performance, but deployment cost rises significantly |
Selection should also consider:
- Hardware constraints: VRAM, CPU cores, network bandwidth;
- Latency budget: prioritize small models for real-time interaction scenarios;
- Quantization strategy: 4-bit/8-bit quantization can significantly reduce VRAM usage but may lose a small amount of precision, which needs to be verified on the evaluation set;
- Batch processing needs: for high-concurrency scenarios, evaluate throughput rather than single-request latency.
3.2 How Should You Configure Skill Routing?
Routing is the “dispatch center” of the skill system and directly determines whether skills can be correctly invoked. A layered routing strategy is recommended:
Layer 1: Coarse filtering (recall)
- Use a lightweight model or vector retrieval to recall the top-K candidate skills from the skill library;
- K is usually 3 to 5, balancing recall rate and noise control;
- This layer can use a smaller model or pure retrieval methods, at low cost.
Layer 2: Fine selection (ranking/discrimination)
- Use the target model to make a matching judgment on candidate skills, outputting “which skill to choose” and a confidence score;
- When confidence is below a threshold, trigger a fallback strategy: fall back to the no-skill baseline, request user clarification, or escalate to a larger model;
- This layer is the main contributor to skill selection accuracy.
Layer 3: Execution and reference loading
- Execute step by step according to internal policy π;
- Load reference context only when needed, avoiding injection all at once;
- On execution failure, retry or switch skills according to policy.
The following code is pseudocode; retriever, selector_model, execute_with_references, and others are illustrative interfaces that must be replaced with concrete implementations in practice. confidence_threshold: float = 0.6 is an example value, not a fixed optimal value. Threshold calibration method: prepare a manually annotated skill selection validation set, record the model’s output confidence and correct/incorrect labels, plot precision, recall, or escalation cost curves, and choose a threshold acceptable to the business; if mis-escalation is costly, the threshold should be raised; if coverage is more important, the threshold can be lowered appropriately.
def route_skill(user_msg: str, skills: List[Skill],retriever, selector_model,confidence_threshold: float = 0.6):# Layer 1: recall candidatescandidates = retriever.top_k(user_msg, skills, k=5)# Layer 2: fine selectiondecision = selector_model.select(user_msg, candidates)if decision.confidence < confidence_threshold:# Fallback: escalate to a larger model or request clarificationreturn escalate_or_clarify(user_msg, skills)# Layer 3: executionskill = decision.skillreturn execute_with_references(skill, user_msg)
3.3 Context Budget Management for Small Model Agents
Small models usually have tighter context windows, making budget management especially critical. Recommendations:
- Keep skill descriptions concise: retain only the name, applicable scenario, key parameters, and reference entry points; avoid lengthy explanations;
- History compression: summarize early conversation, keeping key conclusions rather than the full text;
- Tool output truncation: produce structured summaries of long tool returns, keeping only decision-relevant fields;
- Budget visualization: log the context usage of each task to help spot abnormal expansion.
A starting budget allocation idea to reference: skill descriptions should not exceed 20% of the total context, history summaries no more than 20%, tool outputs no more than 30%, with the rest reserved for the current task, reasoning process, and final output. These ratios are not fixed rules but empirical starting values for engineering; they should later be adjusted based on failure modes.
3.4 Cascade Strategy: Small Models First, Large Models as Fallback
If the business has high accuracy requirements, a cascade strategy can be adopted:
- Prioritize using small models for high-confidence tasks;
- When confidence is low or execution fails, escalate to a medium model;
- If it still fails, escalate to a large model or transfer to a human.
This strategy balances cost and effect in most scenarios, but escalation conditions need careful design to avoid frequent escalation causing costs to spiral out of control. It is recommended to record escalation reasons, distinguishing “insufficient model capability,” “unclear skill descriptions,” “insufficient context,” and “tool anomalies,” and optimize each separately.
4. Engineering Implementation and a Troubleshooting Checklist
4.1 Engineering Implementation Points
- Write clearly “when to use” and “when not to use” in skill descriptions: small models are less sensitive to boundary conditions than large models, so descriptions should explicitly list applicable and non-applicable scenarios;
- Keep the parameter schema as structured as possible: use constraints like JSON Schema to bound parameter formats, reducing small model output deviations;
- Make the reference mechanism “progressive disclosure”: give entry points first, then expand on demand, avoiding context explosion;
- Build a failure mode library: record typical failure cases to feed back into skill descriptions and routing strategy optimization;
- Evaluate continuously: both the skill library and models iterate, so build an automated evaluation pipeline to avoid regressions.
4.2 Troubleshooting Checklist: What to Do When Small Model Skill Selection Accuracy Is Low
- Low skill selection accuracy: check whether descriptions are too similar; try merging or refining boundaries;
- Parameter filling errors: check whether the schema is clear; consider adding examples;
- Insufficient context: prioritize compressing history and tool outputs rather than expanding the model;
- Mid-task “drifting off course” in multi-step tasks: check whether post-condition checks and stage markers are complete;
- Excessive latency: check whether references are being over-loaded; consider layered routing and caching;
- Soaring costs: reduce per-task cost through cascade strategy and small-model-first;
- How to judge whether a small model is suitable for skills? Before going live, it is recommended to run a small-scale evaluation covering at least 200 to 500 real tasks. If the small model reaches the business threshold for success rate on single-skill short-process tasks, and skill selection accuracy is no less than 70%, it can be rolled out to a small scope first; if below 70%, first optimize skill descriptions, retrieval, and routing rather than blindly increasing model size.
Conclusion
“Small models + Agent Skills” is not a simple question of “can it or not,” but an engineering trade-off of “under what conditions it can, and at what cost.” The POMDP formalization provides a unified analytical language: skill selection is an action, information acquisition is a cost-bearing action, and belief state determines whether the agent knows what it should do. Industrial-grade evaluation methods, across the model spectrum from 0.3B to 80B, help users find empirical patterns of scale dependence.
For industrial users, the practical path can be summarized in three steps:
- First, use the POMDP perspective to sort out the “state, observation, action, belief” structure of the task, clarifying which information must be acquired and which can be deferred;
- Then, run controlled experiments on an evaluation set close to the business using multiple model tiers, finding the cost-performance inflection point;
- Finally, convert model capability into a stable, usable agent system through layered routing, context budget management, and cascade strategy.
Under a limited hardware budget, small models can fully support a stable, usable local agent—provided the skill mechanism is designed correctly, routing is well configured, and context is well managed.
