Skalex for VibeControls
Document-oriented file-backed storage provider with AES-256-GCM at rest.
vibe plugin install @vibecontrols/vibe-plugin-storage-skalex
About this plugin
Skalex storage provider for the VibeControls agent.
Document-oriented, file-backed, encrypted at rest via AES-256-GCM. Zero native dependencies — runs natively on Bun.
Usage
Importing this package registers the adapter under the name "skalex" with @vibecontrols/vibe-plugin-storage. The agent picks it up automatically:
import "@vibecontrols/vibe-plugin-storage-skalex"; // registers "skalex"
import { createAgentDatabase } from "@vibecontrols/vibe-plugin-storage";
const db = await createAgentDatabase({
dbPath: "/path/to/data",
encryptionKey: "f".repeat(64), // 32 bytes hex
});
Encryption
All on-disk data is AES-256-GCM encrypted via Skalex's built-in encrypt: { key } option. Each collection is gzipped + ciphertext on disk.
The end-to-end test (scripts/e2e-encryption.sh) bootstraps the full chain and grep-asserts the absence of plaintext on disk.
Use it in 30 seconds
- Make sure the agent is running:
vibe start - Install the meta first:
vibe plugin install @vibecontrols/vibe-plugin-storage - Install this plugin:
vibe plugin install @vibecontrols/vibe-plugin-storage-skalex - List installed plugins:
vibe plugin list