vault-developer
Build Vault Java SDK entry-point classes, Custom Pages, Vault AI Agents, and integrations built on the Vault API.
Overview
Section link for OverviewFor Vault developers building custom server-side logic, UI components, AI agents, and integrations built on the Vault API. Use this plugin to generate Vault Java SDK entry-point classes (triggers, actions, job processors, Web APIs, and others), scaffold the three-file Custom Page contract (MDL + PageController + client bundle), author Vault AI Agents, or call and test Vault API endpoints.
Dependencies
Section link for Dependencies| Plugin / Tool | Why |
|---|---|
vault | VQL queries and basic API operations used during development |
Vault CLI (vault) | Project structure, managing local files, and moving configuration and code between a Vault and the local workspace go through the CLI when installed. Otherwise the skills call the documented API. The CLI is optional, and Vault compiles Java on deploy either way. |
vault-administrator | MDL syntax, and rules for integrating code with configuration |
| Vault Documentation MCP | Answers API, SDK, VQL, and Help questions from official references. |
Out of scope
Section link for Out of scope| Topic | Owned by |
|---|---|
| Configuration authoring using MDL (objects, fields, lifecycles, workflows, picklists, and other Vault Component Types) | vault-administrator |
| VQL query syntax and relationship traversal | vault |
| User records, group membership, security profiles | Vault Admin UI, or api for API access |
Skills
Section link for Skills| Skill | Invoke with | What it does |
|---|---|---|
ai-agents | /vault-developer:ai-agents | Build Vault AI Agents: author Tool Types, Context Types, Agent MDL, and handler classes. |
api | /vault-developer:api | Find Vault API endpoints, shape requests, run calls against a signed-in Vault, and submit approved Vault Loader jobs. |
custom-pages | /vault-developer:custom-pages | Generate all three files required by a Vault Custom Page |
java-sdk | /vault-developer:java-sdk | Write compliant Vault Java SDK entry-point classes that pass deploy-time validation. |
ai-agents Skill
Section link for ai-agents SkillBuild Vault AI Agents: author Tool Types, Context Types, Agent MDL, and handler classes.
For Vault developers who need to build Vault AI Agents. Use this skill when you need to author Tool Types, Context Types, Agent MDL, and the handler classes that implement agent behavior. Without this skill, developers produce Agent MDL with missing required attributes, wire Tool Types incorrectly, and ship handler classes that fail at runtime.
Triggers
Section link for Triggers- Explicit: "Build a Vault AI agent", "Create an AI tool", "Write an agent action", "Scaffold a tool type handler", "Wire up the Agent MDL",
/vault-developer:ai-agents. - Implicit: User is scaffolding an AI Tool Type or Context Type runtime handler, an
AgentActionResultHandler, a record action or trigger that runs an agent and writes the result back, an Aitool wrapping a standard tool type, or a new Agent's MDL. User hitsUnknown component [Aitool]or[Agent]on deploy, which means Vault AI is off in that Vault. - Not for these tasks: a record trigger, record action, job, or custom API with no agent in it (use
java-sdk). Writing the VQL text inside a VQL Query tool (usequery, which shapes the tool and its parameters, not the query). Running an agent action over the API or reading its execution status (useapi). MDL as a language, including statement forms, ALTER versus RECREATE, and execution responses (usemdl).
Out of scope
Section link for Out of scope| Topic | Owned by |
|---|---|
| MDL as a language: statement forms, ALTER versus RECREATE, execution responses | mdl |
| Vault Java SDK platform constraints: the JDK allowlist, governor limits, bulk-safe service calls | java-sdk |
| Record triggers, record actions, jobs, or custom APIs with no agent in them | java-sdk |
| The VQL text inside a VQL Query tool | query |
| Running an agent action over the Vault API and reading its execution status | api |
| Signing in, credentials, and which Vault is targeted | login |
| Deploying the finished files within a Vault | config and mdl |
| Custom Page files | custom-pages |
| The Vault AI metadata agents read: entity, field, relationship, and metric descriptions, synonyms, and picklist values | ai-metadata |
api Skill
Section link for api SkillFind Vault API endpoints, shape requests, run them against a signed-in Vault, and submit approved Vault Loader jobs.
For Vault developers and integration builders working against the Vault API directly. Use this skill to find the right endpoint, shape the request, run it against a signed-in Vault, and interpret the response across objects and records, documents, VQL as an API call, metadata and MDL retrieval, jobs, logs, and users and groups. It also submits approved bulk loads as Vault Loader jobs. Integration builders get the endpoint and request shape for their own code. Admins and developers use it to run the call in the current session.
Triggers
Section link for Triggers- Explicit: "Does Vault have an endpoint for this", "Call the Vault API", "What's the endpoint for X", "Why did this API call come back wrong", "Poll this job", "Pull the debug log for this user", "Load this file into my Vault", "Load records.csv into Vault", "Bulk load these rows".
- Implicit: User is building an integration and needs a request shape to run from their own code. User has a response in hand and isn't sure whether it worked. User wants a job's status read. User wants a component read back as MDL through the API. User needs SDK Debug Log, Runtime Log, API Usage Log, or audit trail data. User has a CSV, load-ready or a raw export, and wants it loaded into Vault. User needs records extracted to a file in bulk.
- Not for these tasks: writing the VQL query text (use
query, which shapes the API call, not the query). Authoring or executing MDL (usemdl). Moving files in Vault File Staging (usefile-staging). Taking on source-side work beyond mapping one CSV onto its target object, such as joining extracts or working out a multi-object load order (the user brings that done). A data pull meant to be read on screen (usequery). Writing Vault Java SDK source or Custom Pages code (usejava-sdkorcustom-pages). Sign-in and credential management (uselogin).
Out of scope
Section link for Out of scope| Topic | Owned by |
|---|---|
| The VQL query text itself | query |
| Authoring, editing, or executing an MDL script | mdl |
| Moving files through Vault File Staging | file-staging |
| Vault Java SDK source, Custom Pages client code | java-sdk / custom-pages |
| Signing in, credentials, production/sandbox classification, session errors | login |
| Packaging components for another Vault | vpk |
| The VQL text that counts the loaded rows | query |
custom-pages Skill
Section link for custom-pages SkillGenerate all three files required by a Vault Custom Page: MDL Page component, Java PageController, and client bundle, wired together and ready to deploy.
For Vault developers scaffolding Vault Custom Pages. Use this skill when you need the three-file contract a Custom Page requires (MDL Page component, Java PageController, and client bundle) generated and wired together correctly.
Triggers
Section link for Triggers- Explicit: "Create a custom page", "Scaffold a vault page", "Write a page controller", "Build a vault UI page", "Help me with definePage".
- Implicit: User needs a UI component in Vault. User is adding a PageController with data fetching. User needs a client bundle that calls
definePage(). User is building or modifying the distribution manifest. - Not for these tasks: Vault Java SDK record triggers or actions (use
java-sdk). AI Tool Types, Context Types, orAgentActionResultHandlerclasses (useai-agents). Packaging or deploying a Custom Page to another Vault (usevpk).
Out of scope
Section link for Out of scope| Topic | Owned by |
|---|---|
| Vault Java SDK record triggers, record actions, document actions | java-sdk |
AI Tool Types, Context Types, AgentActionResultHandler | ai-agents |
| Packaging or moving a Custom Page to another Vault | vpk |
| VQL query syntax and relationship traversal | query |
| MDL syntax beyond Page component attributes | mdl |
Vault UI SDK (ControlRegistry, PageControllerContext, @vault/uisdk) | Vault Documentation MCP |
| Vault API endpoints, auth, rate limits | Vault Documentation MCP |
java-sdk Skill
Section link for java-sdk SkillWrite Vault Java SDK entry-point classes that comply with Vault's platform restrictions and pass deploy-time validation.
For Vault developers writing Vault Java SDK entry-point classes. Use this skill to generate record triggers, record actions, job processors, custom APIs, and other SDK entry points that comply with Vault's platform restrictions and pass deploy-time validation.
Triggers
Section link for Triggers- Explicit: "Write a record trigger", "Create a vault trigger", "Write a job processor", "Create a custom API endpoint", "Help me with the Vault Java SDK".
- Implicit: User needs logic that fires automatically on record insert, update, or delete. User needs a scheduled or background bulk operation. User needs a custom REST endpoint for external system integration. User needs a record or document action invoked on demand.
- Negative: Do not trigger for Custom Page
PageControllers. Hand off tocustom-pages. Do not trigger for AI Tool Types, Context Types, orAgentActionResultHandlerclasses. Hand off toai-agents. Do not trigger for packaging or moving Java code to another Vault.
Out of scope
Section link for Out of scope| Topic | Owned by |
|---|---|
| Custom Page three-file shape (MDL + PageController + client bundle) | custom-pages |
AI Tool Types, Context Types, AgentActionResultHandler | ai-agents |
| Moving Java code to another Vault | vpk |
| Loader job migration flag combinations (Record Migration Mode, No Triggers) | api |