skills/aivault/SKILL.md
Complete guide for using aivault as a zero-trust local vault and proxy for API secrets. Use this skill when initializing/configuring aivault, managing secrets and credentials, invoking capability-backed API calls, setting workspace/group isolation, adding custom providers, or troubleshooting daemon and policy issues.
npx skillsauth add moldable-ai/skills aivaultInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill covers secure setup and day-to-day use of aivault for agent workflows.
Install aivault if it is not already available:
curl -fsSL https://aivault.moldable.sh/install.sh | sh
| Resource | Path |
|----------|------|
| CLI binary | aivault |
| Daemon binary | aivaultd |
| Vault root (default) | ~/.aivault/data/vault/ |
| Daemon socket (default) | ~/.aivault/run/aivaultd.sock |
| Registry definitions | ~/aivault/registry/*.json |
| Registry schema | ~/aivault/registry/schemas/registry-provider.schema.json |
| Upstream docs source | ~/aivault/docs/ |
aivault statusaivault secrets create --name OPENAI_API_KEY --value "sk-..." --scope globalaivault capability listaivault capability describe openai/chat-completionsaivault invoke openai/chat-completions --body '{"model":"gpt-5.2","messages":[{"role":"user","content":"hello"}]}'aivault auditRead these as needed:
Use canonical secret names (for example OPENAI_API_KEY) so aivault can pin to a provider and auto-enable capabilities.
Always call aivault invoke <capability-id> (or json / markdown) instead of direct upstream calls with raw keys.
Use --scope workspace and --scope group for tenant isolation, then pass --workspace-id / --group-id on invoke.
Only create manual credentials and capabilities when a provider is not in the built-in registry.
.env for untrusted agent codeWhen behavior is unclear, verify against local docs and runtime artifacts:
~/aivault/docs/~/aivault/registry/~/aivault/src/development
Search, scrape, crawl, map, parse, and operate Firecrawl browser/agent workflows through aivault-backed Firecrawl API capabilities. No Firecrawl API key is read by the skill runtime.
data-ai
Manage Trello boards/lists/cards via aivault-backed capabilities (no Trello key/token in skill runtime).
documentation
Manage Todoist tasks/projects/comments via aivault-backed capabilities (no Todoist token in skill runtime).
development
Transcribe local audio files with OpenAI speech-to-text through aivault capability json (no provider API key in skill runtime).