Preface¶
When modifying Agents, Workflows, or tools in the VoltAgent project, coding assistants often rely solely on training data or documents found via web searches. Official website documentation and npm package versions may not always align; API signatures and configuration fields can easily mismatch, turning troubleshooting into a game of “guessing the version.”
Below is an introduction to the voltagent-docs-bundle, an Agent Skill maintained officially by VoltAgent: It does not require the assistant to memorize the entire site’s documentation but instead reads the Markdown documentation installed alongside @voltagent/core via fixed paths, ensuring answers align with the current dependency version. For Agent framework-related Skills, binding the “documentation source” to node_modules rather than a remote URL is a reusable practice.
What is this¶
voltagent-docs-bundle is a set of instructions in SKILL.md format: it teaches coding Agents to locate VoltAgent documentation locally for API signatures, guides, and examples.
- Maintainer: VoltAgent (author in metadata is VoltAgent)
- Repository: VoltAgent/skills, path
skills/voltagent-docs-bundle - License: MIT
- Skill Version: 1.0.0 (see Skill metadata)
Official description: Documentation is embedded in node_modules/@voltagent/core/docs, mirroring the website documentation and including additional documentation sets, making it suitable for version-matched reference.
Where are the docs¶
When @voltagent/core is installed, the documentation root directory is:
node_modules/@voltagent/core/docs/
The directory structure (excerpt, subject to the official Skill) includes getting-started/, api/, workflows/, tools/, rag/, recipes/, deployment-docs/, etc. There are also single files like actions.md, evals.md, triggers.md at the root.
If developing within the VoltAgent monorepo, the equivalent content is located at:
packages/core/docs/
Prerequisite: The corresponding version of @voltagent/core must be installed via npm in the project; without this package, the paths mentioned above do not exist, and project dependencies must be installed first.
Core Features¶
The capabilities described in the Skill can be verified from official descriptions:
- Version Matching: Documentation is packaged with the installed
@voltagent/core, avoiding outdated APIs found only on old website versions or in training data. - Coverage: Directories for guides, APIs, recipes, deployment, and observability are all under the
docstree; the Skill suggests usingrgto search for topics within*.mdfiles. - Standardized Query Flow: First list directories, then search by keywords, then read specific files, reducing the likelihood of Agents arbitrarily fabricating interfaces.
The official summary of “Why This Works” includes three points: documentation is bound to the installed version; it avoids drift between web content and local versions; it covers the complete documentation surface (guides, recipes, platform docs).
Installation and Activation¶
This Skill comes from the official VoltAgent Skill collection. The repository description supports installing the entire library via add-skill type tools:
npx skills add VoltAgent/skills
After installation, load the corresponding Skill directory in coding assistants that support Agent Skills (such as Cursor, Claude Code, Codex, etc., see agentskills.io and platform documentation). Specific loading methods vary by platform: for example, Claude Code commonly uses /skills add with a GitHub address; other environments can refer to the “Using Skills” section in awesome-agent-skills and respective Agent documentation.
Manual method (Official repo README): Clone https://github.com/VoltAgent/skills.git, then configure the assistant to read Skills from the cloned directory. The user task requires not demonstrating installation via git clone, so this is recorded only as official documentation.
Other Skills related to VoltAgent in the same repository include create-voltagent, voltagent-best-practices, voltagent-core-reference; voltagent-docs-bundle is specifically responsible for embedded documentation consultation and can be used in conjunction with the others.
Online documentation entry (supplementary reading, not the priority data source for this Skill): https://voltagent.dev/docs
Typical Usage¶
The consultation flow defined within the Skill can be handed directly to the Agent for execution or verified manually in the terminal.
1. List available sections
ls node_modules/@voltagent/core/docs
Used to confirm which top-level directories and files exist under the current version.
2. Search by topic
rg -n "workflow" node_modules/@voltagent/core/docs -g"*.md"
Replace workflow with keywords like memory, guardrails, etc., to locate relevant Markdown paths and line numbers.
3. Read specific pages
cat node_modules/@voltagent/core/docs/workflows/overview.md
For example, for a quick start, read:
cat node_modules/@voltagent/core/docs/getting-started/quick-start.md
When asking questions to the assistant, you can explicitly state “According to voltagent-docs-bundle, check XXX in the current version at node_modules/@voltagent/core/docs” to facilitate triggering the paths and commands in the Skill, rather than conducting a generic web search.
Use Cases and Notes¶
Suitable for
- Projects where
@voltagent/coreis already installed and code related to Agents, Workflows, tools, RAG, or deployment needs modification. - When API signatures, configuration items, and examples need to be consistent with the current lockfile / package version.
- When switching between the monorepo’s
packages/core/docsand the consumer project’snode_modules, the same set of directory conventions applies.
Notes
- If
@voltagent/coreis not installed, the embedded documentation does not exist; runnpm install(or the project’s existing installation flow) first, then checkdocs. - The Skill relies on the shell and
rg(ripgrep); ifrgis not available in the environment, it needs to be installed or an equivalent search method must be used. Official Quick Commands usergas an example. - The website voltagent.dev/docs is convenient for browsing, but if strict consistency with the local code version is required,
node_modules/@voltagent/core/docsshould be prioritized. - This Skill is an instruction document and does not contain an automatic indexing service; large-scale retrieval still relies on listing directories,
rg, and on-demandcat/file reading.
Conclusion¶
voltagent-docs-bundle anchors VoltAgent documentation consultation to the docs directory bundled with @voltagent/core, using version-bound Markdown to replace “guessing the official website version.” It serves as a reference implementation for documentation capabilities within framework official Skills.
Official Skill Address: https://github.com/voltagent/skills/tree/main/skills/voltagent-docs-bundle