agentleFS
cyhhaocyhhao/vibe-remote/skills/use-avibe-vault/SKILL.md

use-avibe-vault

Skill638 starsChanged 8 days agoMITView on GitHub

Use Avibe Vault for API keys, tokens, passwords, protected credentials, authenticated HTTP requests, or digest signing without exposing secret values to the agent.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 1

    1. avibe-bot/avibe★ 638100% same

    Edited · 0

    None found.

    Wrote their own version · 0

    None found.

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository9 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a task needs API keys, access tokens, passwords, wallet private keys, or other sensitive credentials, prefer Avibe Vault: agents …

    line 10
  2. Very specific:

    When protected sign needs approval, Avibe creates a browser signing request and returns immediately.

    line 30
  3. Very specific:

    Run a command with selected static secrets injected as environment variables: vibe vault run --env OPENAI_API_KEY,GITHUB_TOKEN -- python …

    line 57
  4. Very specific:

    Ask the user to delete a Vault secret.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Use Avibe Vault

When a task needs API keys, access tokens, passwords, wallet private keys, or other sensitive credentials, prefer Avibe Vault: agents reference secrets by name, tag, or skill tag, and users do not need to paste plaintext into chat.

Core concepts:

  • Static secret: a regular secret value, such as an API key, token, database password, or deployment credential. Use it with vibe vault run for environment injection or vibe vault fetch for authenticated HTTP egress.
  • A static secret can contain up to 32 named fields. NAME selects its default field (existing secrets call it value); NAME.field selects that field, including an explicit default label such as GITHUB_LOGIN.password. Field names match ^[a-z][a-z0-9_]{0,63}$. The default label may be renamed; extra labels and the choice of default cannot change after creation.
  • Keypair secret: a signing key for digests or transactions, such as a wallet key or deployment signer. It cannot be exported as an environment variable and cannot be used with run / fetch; use vibe vault sign.
  • Standard: for lower-risk routine automation. Agents can usually use it without interrupting the user unless it is configured to ask first.
  • Protected: for high-risk secrets, such as production databases or wallet/funds keys. Because protected secrets are end-to-end encrypted, use requires browser approval and passkey unlock.

Rules:

  • Refer to secrets only by secret name, record ref (NAME.field), tag, or skill tag.
  • Static secrets can be used with run / fetch; keypair secrets can only be used with vibe vault sign. Keypairs do not accept field refs.
  • Authorization is per secret: approving a protected secret unlocks all its fields for the grant's lifetime. The CLI cannot create, replace, or delete fields; the user does that in the browser.
  • --env NAME.field delivers one value to NAME_FIELD (only the field is uppercased); --env LOCAL=NAME.field chooses the variable. --tag and --skill deliver every field of each selected secret, using NAME for the default and NAME_FIELD for extras. Conflicting variable mappings fail before delivery.
  • list and find print the same value-free row: a static secret lists its fields, and a multi-field secret also names its default_field, the field NAME selects. If a ref fails with field_not_found, use the listed field names rather than guessing.
  • export remains deprecated and has no delivery. Prefer run; advanced inject writes a restricted-permission file, so use it only for tools that require file-based configuration.
  • With vibe vault run, the child process receives static secrets as environment variables, so never run commands that may print env vars, debug config, or secret-bearing errors.
  • When protected run / fetch needs approval, Avibe automatically asks the user to decrypt and authorize access, and the command waits for that approval (540 seconds by default; --approval-wait SECONDS or --no-approval-wait to change it). If the command then succeeds, it ran once: do not run it again. If it returns approval_required, approval_wait_timeout, or approval_handed_off, the command did not run; Avibe resumes this session once the request is decided, and after approval you run the same command once. Stopping a still-pending waiter leaves continuation to that callback. A fetch response lost after approval completion is different: follow its execution_unknown guidance rather than assuming the callback will fire.
  • If a Vault command fails with avault_authorization_required, avault needs a one-time macOS Keychain authorization on the Mac running Avibe. Do not retry, and do not run avault or vibe vault key authorize yourself: ask the user to choose Authorize avault on the Vault page (or to run vibe vault key authorize on that Mac), then run the command once after they confirm.
  • vault fetch requires a running, compatible Avibe service. service_unavailable with execution: not_executed means no fetch ran; start/update the service only with the appropriate authorization. There is no offline SQLite fallback or automatic service start. execution_unknown means the result or approval continuation could not be confirmed: do not replay automatically. In Show api/*.ts handlers, use the server-only adapter documented by use-show-pages instead of spawning a CLI per fetch.
  • When protected sign needs approval, Avibe creates a browser signing request and returns immediately. Do not rerun sign; when Avibe resumes this session, follow the callback instruction to read the completed request result and continue with the returned signature.
  • For the listed standard-tier BTC Taproot addresses, use schnorr-secp256k1-bip341-keypath (BIP86, empty script tree). It requires an avault build supporting that scheme. Older builds fail closed: never retry with raw BIP340, rotate the key, or change the receiving address as a workaround. No Merkle-root/script-tree option is supported.
  • schnorr-secp256k1-bip340 is raw signing under the internal public key, NOT signing for the listed tweaked Taproot address. ecdsa-secp256k1-der produces low-S DER for Bitcoin ECDSA; the caller constructs and validates the transaction sighash and appends any transaction-required sighash byte.
  • Protected Bitcoin transaction signing is not supported yet. BTC addresses remain visible to identify existing funds; do not recommend deposits expecting this workflow to spend them. Never disguise a Bitcoin sighash as an agent operation or downgrade a protected key.
  • Protected signing needs --signing-context-json with a supported verifiable context. An avault-agent-operation preimage must begin with avault-agent-operation:v1 followed by a real LF newline and nonempty operation text; its digest is SHA256 of those UTF-8 bytes. JSON encodes that newline as \n, not \\n. This domain is for agent operations only, not transaction authorization. A legacy unbound request must be recreated after both producer and sandbox are upgraded.

Common commands:

Request that the user add a missing static secret. spec-json may contain only non-secret prefill metadata; the actual secret value is entered by the user in the browser: vibe vault request OPENAI_API_KEY --reason "Need OpenAI API access" --spec-json '{"kind":"static","protection":"protected","description":"OpenAI API key","tags":["openai","prod","skill:model-work"],"policy":{"allowed_hosts":["api.openai.com"],"auth":{"type":"bearer"}}}'

Request a multi-field login item with a password default. These are field names only, never values: vibe vault request GITHUB_LOGIN --reason "Log in to GitHub" --spec-json '{"protection":"protected","fields":["username","password","totp"],"default_field":"password"}'

A totp field is ordinary stored secret material in this version, not a generated one-time code.

For a missing keypair/signing key, ask the user to create a keypair secret in the Vault UI; do not request or store private-key material as a static secret.

On Avibe Web chat, a lighter manual prompt can mention the missing secret as a clickable placeholder in your reply, for example $<OPENAI_API_KEY>. The user can click it and fill the secret from Web chat. This has no reason or structured prefill metadata; use vibe vault request when those are needed.

List or find existing Vault entries: vibe vault list vibe vault list --tag prod vibe vault find --kind static --protection protected vibe vault find openai --tag prod vibe vault tags

Run a command with selected static secrets injected as environment variables: vibe vault run --env OPENAI_API_KEY,GITHUB_TOKEN -- python script.py vibe vault run --env GITHUB_LOGIN.username -- python script.py vibe vault run --env PASSWORD=GITHUB_LOGIN.password -- python script.py vibe vault run --tag deploy -- ./deploy.sh vibe vault run --skill github-release -- ./release.sh

Make an authenticated HTTP request. The credential is attached only at egress, and the agent never sees the secret: vibe vault fetch --auth GITHUB_API.token --url https://api.github.com/user

The secret's allowed hosts and auth scheme apply to every field; this attaches one field, not a username/password pair.

For tools that require a file, inject uses the same selectors and explicit output keys: vibe vault inject --env USERNAME=GITHUB_LOGIN.username --env PASSWORD=GITHUB_LOGIN.password --out login.env --format dotenv vibe vault inject --tag deploy --out deploy.json --format json

Request approval before a protected run with an existing static secret: vibe vault access GITHUB_LOGIN.password --skill deploy --command "Log in to GitHub" --egress "github.com"

For protected fetch, run vibe vault fetch; it creates the correct fetch approval request when needed.

Sign a 32-byte digest with a standard keypair secret. Protected keys additionally require a verifiable signing context and browser approval: vibe vault sign WALLET_KEY --digest 0000000000000000000000000000000000000000000000000000000000000001 --scheme ecdsa-secp256k1-recoverable --command "sign deployment transaction"

Standard-tier BIP86 Taproot scheme example (replace the example digest with the independently verified BIP341 transaction sighash): vibe vault sign BTC_KEY --digest 0000000000000000000000000000000000000000000000000000000000000001 --scheme schnorr-secp256k1-bip341-keypath --command "sign verified Bitcoin key-path spend"

Ask the user to delete a Vault secret. Every agent-initiated delete needs one-click user approval, including standard, protected, static, and keypair secrets: vibe vault remove OLD_TOKEN --reason "Rotated credential" This returns a pending request ID without deleting anything. With the normal callback, Avibe resumes this Session after the user decides; do not rerun rm. With --no-callback, or when the request has no resolvable Session, check explicitly with vibe vault await <request_id>; do not rerun rm. If a repeated rm reuses a pending request created by another Session, use the returned request ID with vibe vault await <request_id> rather than expecting a callback for the current Session.

vibe vault remove always requests whole-secret deletion. It rejects NAME.field; remove a single field from the Vaults page instead.

For more details, run vibe vault --help.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.