secret-vault

secret-vault is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 21 tokens per session (599 once invoked), scanned B, original, MIT.

An encrypted store for API tokens, passwords, and other sensitive values, kept in a protected local file.

In plain words
What is it for?
Use it to save, fetch, list, delete, and export secrets such as passwords, tokens, and connection details.
Why use it?
It keeps credentials out of ordinary notes and configuration files and lets you retrieve them when needed without storing them in plain text.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to save, fetch, list, delete, and export secrets such as passwords, tokens, and connection details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/secret-vault
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JansenAnalytics/claudex --skill secret-vault
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for secret-vault

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansenanalytics/claudex/secret-vault.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/secret-vault)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/secret-vault"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/secret-vault.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.00599
Opus 5 $0.00010 $0.00300
Sonnet 5 $0.00004 $0.00120
Haiku 4.5 $0.00002 $0.00060

Measured 4d ago against content hash 134dde899107, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

secret-vault scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/vault.cjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

The master key (`~/.openclaw/vault.key`) is 32 random bytes stored with `chmod 600`. Without it the vault is unreadable.
skills/secret-vault/SKILL.md · 79 lines

How it starts

The opening of the file, as written. The whole thing — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.

secret-vault

Encrypted credential store — AES-256-GCM secured tokens and secrets in one place.

What it does

Keeps API tokens, passwords, and other sensitive values in an encrypted file at ~/.openclaw/vault.enc. Each secret has its own IV and auth tag so no two ciphertexts are alike, even for identical values.

The master key (~/.openclaw/vault.key) is 32 random bytes stored with chmod 600. Without it the vault is unreadable.

Trigger phrases

  • "store the token in the vault"
  • "get X from the vault"
  • "what secrets are in the vault?"
  • "add X to the vault"
  • "vault set / vault get / vault list"
  • "encrypt and store"
  • "use getSecret to fetch"
  • "vault check" / "verify the vault"

Primary file

${SECRET_VAULT_HOME:-$HOME/projects/secret-vault}/vault.cjs

Symlink (or same file) also lives at:

${CLAUDE_SKILLS_DIR:-$HOME/.claude-agent/.claude/skills}/secret-vault/scripts/vault.cjs

CLI quick reference

node vault.cjs set NAME "value"   # store / overwrite
node vault.cjs get NAME           # print decrypted value
node vault.cjs list               # names only, no values
node vault.cjs delete NAME        # remove secret
node vault.cjs export             # print encrypted JSON to stdout
node vault.cjs check              # verify integrity + count

Programmatic usage

const { getSecret } = require("${SECRET_VAULT_HOME:-$HOME/projects/secret-vault}/vault.cjs");
const token = getSecret("GITHUB_TOKEN"); // returns string or null

Key locations

File Purpose Permissions
~/.openclaw/vault.key 32-byte master key 600
~/.openclaw/vault.enc Encrypted secrets JSON 600

Security model

  • AES-256-GCM — authenticated encryption (detects tampering)
  • Unique random IV per secret (16 bytes)
  • Auth tag per secret (16 bytes)
  • Values never logged or printed in list
  • Export blob is safe to back up; useless without the key

Read the full file on GitHub · 79 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 79 lines · 21 tokens per session scan B 134dde899107

Subscribe to this mod's changes

secret-vault is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 21 tokens to every session and 599 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

frontmcp-deployment

Use when deploying, building for production, packaging, or shipping a FrontMCP server. Covers build targets (node, cli SEA binary, browser, embeddable SDK, mcpb archive for Claude Desktop, serverless) and deploying to Vercel (with Vercel KV), AWS Lambda (API Gateway, SAM, CDK), Cloudflare Workers (KV, D1, Durable…

agentfront/frontmcp · 210 tokens

doris-debug-node

Use for Doris FE/BE OOM, crash, or false Alive. BE: MemTrackerLimiter lines in be.WARNING; FE: JVM heap / jstack. Distinguish heartbeat Alive from query/brpc serving health.

apache/doris-skills · 50 tokens

harness-init-runner

Initialize a lightweight repo-local Node.js harness (harness/ + .harness/) WITHOUT AIOS dependency. Use ONLY when you need a standalone, portable harness. If AIOS is installed, use aios-long-running-harness instead — it has rex Command hosting, ContextDB integration, and checkpoint recovery.

rexleimo/aios · 70 tokens

enigmagent-vault

Use the EnigmAgent encrypted vault to handle credentials, API keys, and private documents without those values ever appearing in your reasoning or output. Placeholders are resolved at execution time.

Agnuxo1/EnigmAgent · 42 tokens

clawhub

Category: Security / Credentials Type: skill Version: 1.0.0 Author: EnigmAgent License: MIT Homepage: https://enigmagent.com.

Agnuxo1/EnigmAgent · 0 tokens

vnsh

Securely share files via encrypted, expiring links. Use this skill to (1) upload a local file to get a secure vnsh.dev URL, or (2) read a vnsh.dev URL to decrypt and access its content.

raullenchai/vnsh · 51 tokens