1 minute to read

AI agent skills: Why more context doesn't always mean better results

AI agent skills: Why more context doesn't always mean better results

AI coding agents can take on complex development tasks, but their output depends on more than the model itself. At Shopware Hacktoberfest, Marco Podien from PayPal explored how agent skills work, why context matters, and how developers can measure whether these skills actually improve their workflows.

Giving an AI coding agent a task is relatively easy. Getting it to complete that task in line with a project's requirements is another matter. A model might produce working code but overlook established patterns or make assumptions about requirements that were never explained. Switching to a more capable model might help, but it doesn't solve the underlying problem.

During his talk at Shopware Hacktoberfest in October, Marco Podien, Developer Advocate at PayPal, explored what makes AI agents effective in software development. His argument was that the model is only one part of the equation. The harness, available capabilities and context all influence the result. Agent skills can provide relevant knowledge, but developers still need to evaluate their impact and keep them up to date.

What are agent skills?

An agent skill is a reusable package of instructions and resources that helps an AI agent perform a specific task. Rather than explaining project requirements or preferred workflows in every conversation, developers can make that information available whenever it's relevant.

The Agent Skills specification defines a simple structure. Each skill has a directory containing a SKILL.md file with a name, description and instructions. Additional resources, such as reference documentation and scripts, can also be included.

Skills can support different stages of software development, from breaking down requirements and preparing backlogs to implementation, review and release. They help agents follow established processes without developers having to repeat the same guidance for every task.

Why loading every skill isn't a good idea

If skills give agents more knowledge, why not make every available skill accessible from the beginning? The problem is context. Every instruction and reference document adds information the model needs to process, making it harder to identify which guidance matters for a particular task.

This is why progressive disclosure is an important part of the skill format. Initially, the agent sees a skill's name and description. When it identifies a relevant skill, it can load the full instructions and supporting resources it needs. This keeps the initial context smaller without making specialised knowledge unavailable.

Podien also discussed subagents as a way to manage complexity. Instead of giving the main agent every instruction, developers can delegate specific tasks to separate agents with smaller, more focused contexts. However, this doesn't automatically reduce costs. Subagents have their own token consumption, and Podien noted that he hadn't found conclusive evidence of a universal cost advantage. Each additional layer needs to bring enough value to justify its overhead.

Evals: How to measure whether a skill works

One of Podien's main points was that developers shouldn't assume a skill works just because it produces one good result. A successful first attempt doesn't establish whether the output is consistent or whether the skill actually improved anything.

A more reliable approach starts with evaluations, or evals, which measure an AI system against defined quality criteria. For agent skills, developers should first establish a baseline: how does the agent perform without the skill, and what changes when the instructions are introduced? Comparing results against criteria that matter to the project makes it easier to identify whether a skill is genuinely useful.

An interesting example comes from Vercel's evaluation of agent instructions in Next.js 16. In its tests, a compressed documentation index in AGENTS.md achieved a 100% pass rate. An explicitly prompted skill reached 79%, while the default skill setup and the baseline without documentation both reached 53%.

These results don't mean skills are inherently less effective than project documentation. They relate to one particular evaluation and setup, but demonstrate why teams should test how information is delivered rather than assume that adding a skill will automatically improve an agent's performance.

Podien also outlined plans to develop an evaluation matrix to compare skills across different agent harnesses. This was a direction for future work rather than a completed framework presented at the event.

Skills need versioning and maintenance

Creating a skill is only the beginning. Frameworks change and instructions that were once accurate can eventually recommend outdated approaches. Automatic updates can help keep skills current, but they also introduce risks if changes affect an agent's behaviour without developers realising it.

Teams should know where their skills come from, which versions they're using and what changes when an update is introduced. Security matters too. Skills can contain scripts and other resources, so developers should understand what they're adding to their environments rather than blindly trusting third-party repositories or marketplaces.

Portability is another consideration. Although the Agent Skills format is supported by a growing range of tools, different harnesses don't necessarily handle everything in the same way. Shopware's own Agent Skills guidelines provide a practical example of how skills can be organised within a development repository, including supporting references and optional workflows.

From individual agents to automated development workflows

Skills also connect to a broader development trend that is moving beyond individual agent conversations towards orchestrated workflows. Podien described how developers can progress from managing one agent at a time to supervising multiple specialised agents. Eventually, these can coordinate different stages of a task, such as specification, implementation, review and verification. Each agent has its own instructions and responsibilities, while a coordination layer manages the handoffs.

This changes how developers interact with the work. Rather than directing every implementation step, they increasingly define the process and review decisions that need their attention.

Human oversight remains essential. Agents can encounter conflicting instructions or make incorrect assumptions. As workflows become more complex, teams also need visibility into which skills were used and how an agent reached the result.

Better agent workflows start with better engineering

AI agent skills give developers a way to make specialised knowledge reusable and provide agents with more relevant context. But they don't remove the need for testing, documentation or maintenance.

For teams experimenting with agent skills, the starting point should be a clearly defined task and a baseline against which to measure results. From there, skills need the same attention as other software dependencies, including version control, security reviews and regular maintenance. The goal is to provide the right context for the task and have evidence that the approach actually works.

Looking to experiment with agent skills? Explore Shopware's Agent Skills guidelines to see how reusable instructions can fit into your development workflows.

Copied to clipboard