INQUIRING LINE

Can an AI tool pack in a full API manual without it ever clogging up the model's working memory?

Can Skills truly include comprehensive API documentation without token overhead?

This explores whether Agent Skills can really bundle full API documentation without crowding the model's context window, and what the 'no overhead' claim depends on.


This explores whether Agent Skills can really bundle full API documentation without filling up the model's context window, and what that 'no overhead' promise depends on. The short answer is that the claim is mostly about storage, not about use. Anthropic's design loads a Skill in stages: the model first sees a short description, and it opens bundled files from a filesystem only when it decides it needs them. So a 500-page API reference sitting unread costs nothing Do unused files in Skills consume context tokens?. Once the agent actually reads a file, that text enters the context like anything else. The real question is whether the agent reads only the parts it needs.

That makes this a problem of what the agent reads and when, and the corpus has a lot to say about it under other names. One study ran automated optimization across 51 tasks and found that changes to the agent's surrounding setup cut token traffic by 44.7–49.0% with comparable results Can agent harnesses be automatically optimized across many environments?. Two of those changes are 'delegated reading' (handing a long document to a helper that reads it and returns only what matters) and compressing the conversation history. That is exactly what you'd want for a large API reference. Progressive loading decides whether a file gets opened. These techniques decide how much of it the main agent has to take in.

A more radical option is to keep skills out of the prompt altogether. LatentSkill compiles written skills into small LoRA adapters, which are add-on model weights. This cuts the prompt-processing (prefill) tokens by 64–72% while matching or beating the version that keeps skills in the prompt Can skills work better as weights than as prompts?. You give something up, though: you can no longer open the skill and read what it says. VOYAGER, an earlier agent that builds up a library of reusable skills, took the opposite route. It stored skills as searchable, executable code and fetched only the relevant ones, so the agent kept learning without forgetting old skills Can agents learn new skills without forgetting old ones?.

The less obvious point is that 'comprehensive' may be the wrong goal. When a trained curator manages a skill library, it learns to stop adding long generic text and to keep short, actionable steps instead Can a separate trained curator improve skill libraries better than frozen agents?. SkillOpt treats a skill document like model weights to be trained: it keeps only the edits that measurably improve results, at no extra cost when the agent runs Can skill documents be optimized like neural network weights?. Code2Skill goes further and builds skills straight from source code, keeping runnable evidence instead of prose descriptions Can source code replace experience as skill raw material?. Put together, these suggest the best skill isn't a full copy of the docs. It's a trimmed, tested set of steps that point to the full docs when needed.

One gap to flag: the corpus contains Anthropic's own claim about loading cost, but no independent measurement of how often agents over-read bundled files in practice. So 'no token overhead' is best read as 'no overhead until it's used,' and whether the agent reads selectively is still an open question.


Sources 7 notes

Do unused files in Skills consume context tokens?

Anthropic's Agent Skills docs describe filesystem-based bundles that load in stages, claiming unused files incur no context penalty. The design relies on on-demand file access inside a VM, letting Skills bundle comprehensive documentation and datasets without inflating the context window upfront.

Can agent harnesses be automatically optimized across many environments?

Cross-environment harness optimization yielded four mechanisms (action execution, context compaction, observation handling, delegated reading) that reduced token traffic by 44.7–49.0% while maintaining comparable performance on a 51-task benchmark, suggesting harness-level gains are orthogonal to model improvements.

Can skills work better as weights than as prompts?

LatentSkill uses a hypernetwork to convert textual agent skills into plug-and-play LoRA adapters, reducing prefill tokens by 64–72% while maintaining or beating in-context baselines. Weight-space skills form composable semantic structures that can be scaled and combined through parameter arithmetic.

Can agents learn new skills without forgetting old ones?

VOYAGER demonstrates that storing executable skills in an embedding-indexed library and composing complex skills from simpler ones allows agents to learn continuously while avoiding the forgetting that occurs with weight-update-based methods. Environmental feedback refines skills while an automatic curriculum drives continual exploration.

Can a separate trained curator improve skill libraries better than frozen agents?

SkillOS shows that separating a trainable curator from a frozen executor, grouped by task streams, causes skill repositories to shift from generic verbose additions toward actionable execution logic and cross-task meta-strategies. The trained curator generalizes across different executor backbones and domains.

Show all 7 sources
Can skill documents be optimized like neural network weights?

SkillOpt treats skill documents as trainable external state of frozen agents, using a text-space optimizer with held-out validation gating to accept only edits that improve performance. Across 52 benchmark cells and seven models, the approach matches or exceeds baselines while adding zero inference cost and enabling transfer across models.

Can source code replace experience as skill raw material?

Code2Skill extracts over 1 million auditable skills from GitHub repositories through source-blind reconstruction verification, improving performance from 42.90 to 47.90 macro-average across eight benchmarks, outperforming trajectory and document-derived alternatives.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.