@drawcall/skills
v1.8.0
Published
Search and read the [agent skills](https://agentskills.io) and public TypeScript declarations that npm packages ship, across all supported packages by default. Packages ship skills following [skills-npm](https://github.com/antfu/skills-npm); the service i
Readme
@drawcall/skills
Search and read the agent skills and public TypeScript declarations that npm packages ship, across all supported packages by default. Packages ship skills following skills-npm; the service indexes the packages on its allowlist, each version the first time anyone asks for it.
CLI
npx drawcall skills intro
npx drawcall skills search "drag an object along one axis"
npx drawcall skills search "drag an object along one axis" --filter @pmndrs/handle three
npx drawcall skills read @drawcall/physics
npx drawcall skills read /@types/[email protected]/types/source/src/core/Object3D.d.ts/0intro recommends which Drawcall tool or library to use for a task. search works even in an
empty project and prints the five best results. --filter narrows it to the named packages, using
installed versions when available. Guide hits open the complete
SKILL.md; their excerpts show the matched passage. read prints any
path of the tree: a package (its skills and declaration sources), a SKILL.md, a section, or a
declaration chunk. Use paths from search and listings; source paths are not symbol/member URLs. A
package named without a version means the one installed in the project, else the latest.
Declaration searches follow the package's published entry points and include supporting types. Chunks follow declaration and member boundaries; nested excerpts identify their enclosing declaration. Reads retain original source text. References to other packages are not expanded into their declarations.
MCP
Connect your agent to https://mcp.drawcall.ai/ to search and read without signing in. The same
connection offers CLI login approval, which requires OAuth with auth:approve permission.
MCP search takes only a query; package filtering is available through the CLI and API.
registerSkillsTools(server, client) registers intro, search_skills and read_skills on an MCP
server:
import { createClient, registerSkillsTools } from '@drawcall/skills'
registerSkillsTools(server, createClient())Client
import { createClient } from '@drawcall/skills'
const skills = createClient()
const { results } = await skills.search({
query: 'drive a joint with a motor',
})
const markdown = await skills.read(results[0].path)Every path is also a page at https://skills.drawcall.ai. Search returns results only when every
selected package is ready. If any package is indexing, search again shortly.
