Skip to content

How it works

An agent should know what the libraries a project already depends on can do, and how their authors mean them to be used — for the version the project actually uses. We are trying that in two halves: the library ships the guidance, and a lookup on the developer’s machine finds it.

A library’s authors write a skill — an ordinary Agent Skill, a SKILL.md — and it travels inside the library’s own published artifact: the sources jar on the JVM, the package itself for npm, PyPI, Go and Cargo. Because it ships with the code, it always describes that version. How our libraries ship a skill has the format, where it lives, and how we set it up.

The other half is a small lookup that runs on the developer’s machine, beside the coding agent. It has no service, no model and nothing running between sessions: the agent’s tools start it, and it stops with them.

How the lighter lookup works A library's authors write its skill in the source tree, and it ships inside the library's published artifact: the sources jar, or the package itself. A project's build reports what its code can import, at the resolved version, and fetches the sources jars. A lookup on the developer's machine reads that report and finds the skills in the local caches, then answers the coding agent for this project and this version. The agent lists, reads and searches the skills and gets the authors' text marked as theirs; a skill of ours, the librarian, tells it when to look. a library's authors write its skill src/commonMain/skills/<name>/SKILL.md inside its published artifact the sources jar, or the package itself Maven Central, npm, PyPI, Go, Cargo fetched by the project's build the project's build reports what it uses what its code can import, at the resolved version the report the lookup reads the lookup, on the developer's machine finds the skills in the local caches this project, this version the coding agent lists, reads and searches the skills gets the authors' text, marked as theirs librarian skill tells it when to look

What the code compiles against — everything it can import, not only what it declares — is written down in a standard SBOM file. In a Gradle project a script the librarian skill carries does it: a Gradle init script, so nothing is added to the build and there is no plugin to find. The same run fetches the sources jars of what it reports, because a build does not download them by default. A build plugin of ours writes the same file, for a Gradle or Maven project that would rather have it on every build. An npm, Python, Go or Cargo project needs nothing extra: the lookup reads what the project declares and what is installed.

Where they already are. On the JVM that is the sources jars in the Gradle cache and the local Maven repository; for the other ecosystems, the installed package’s own directory. It never downloads anything. A library’s skill is taken only from the artifact whose coordinate its name encodes, so one library cannot speak for another. What it finds is indexed once per library version, in one index per machine that it can always rebuild.

Four things, and every answer is for the version this project resolved:

  • What do my dependencies offer? The libraries in the project that ship a skill, each with one line on what it is for.
  • How is this one meant to be used? One library’s skill, or a file it links to — a Swift or JavaScript reference, say.
  • What exactly does this take? The signature and doc comment of one function or type, by name, read from the library’s published source — for any library in the project, whether or not it ships a skill. A skill says how a library is meant to be used; this is the parameter list.
  • Does something already do this? A need in plain words — “format a date for display”, “retry a failed request” — matched against what the project’s libraries say they do. It also searches the other libraries already on the machine, but for those it shows only what each says it is for: a library the project did not choose may describe itself, and may not instruct.

The library authors’ own text, as written, and marked as theirs — documentation from that library, not instructions from the developer, and never permission to run a command, fetch a link or install anything. It does not rewrite it, and it does not screen it: what keeps the surface small is that only a library’s own authors wrote it, only for libraries the project chose. The heavier design is the one that rewrites.

As an MCP server, or, where none is set up, through the same answers from a command. A skill of ours, librarian, sits in the project and tells the agent when to look: before calling into a library, and before writing something a library might already do — the moment an agent is least likely to think of asking.

How it is packaged. The librarian skill now carries the script that reports a Gradle project’s dependencies; the lookup itself is still something a developer installs. What that install is, where an MCP server is registered when one configuration serves every project, and whether the lookup should travel inside the skill as well so it works with nothing installed — sandboxes, worktrees and cloud sessions included — are undecided. So is whether our build plugins are published at all; a library does not need them to ship a skill.

Text on this site is licensedCC BY 4.0; source code underApache 2.0. © 2026 Brill Pappin.