inkbox-ai/opencode-plugin/inkbox-credential-use

Claude Code and agent skill by inkbox-ai/opencode-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when the user asks the agent to "log into X", "get the API key for Y", "fetch the SSH key for Z", or "give me the TOTP code for service A". Covers the credential vault path through the Inkbox plugin. Always list-then-get; never enumerate plaintext.

Install

npx vskill@latest install inkbox-ai/opencode-plugin/inkbox-credential-use

SKILL.md

Inkbox credential use

When an action requires plaintext credentials (a password, an API key, an SSH key, a TOTP code), use this skill to retrieve them through the Inkbox vault. The vault tools are all opt-in — the user must enable them in your .opencode/plugins/inkbox.ts wrapper before this skill can do anything.

Required tools (all opt-in)

  • inkbox_credentials_list — metadata only (id, name, secretType). Safe to call freely.
  • inkbox_credentials_get_login — plaintext login (username + password + optional URL)
  • inkbox_credentials_get_api_key — plaintext API key
  • inkbox_credentials_get_ssh_key — plaintext SSH private key (+ public, fingerprint, passphrase)
  • inkbox_credentials_get_secret — one explicitly needed secret, including key pairs and other types
  • inkbox_totp_code — current TOTP code for a login that has TOTP configured

Enabling: inkbox_credentials_list turns on with the vault group, but the five plaintext-returning tools are sensitive — each must be enabled by its exact name (group enable never turns them on). After editing opencode.json, opencode must be restarted:

ts
// Merge into wrapper options: V1's second argument or V2's setup options.
const options = { "tools": { "enable": ["vault", "inkbox_credentials_get_login", "inkbox_credentials_get_api_key", "inkbox_credentials_get_ssh_key", "inkbox_totp_code"] } };

inkbox_doctor reports which of these are currently enabled or disabled, and whether the vault key is present.

Prerequisites

  • The vault must be initialized in the Inkbox Console.
  • The vault unlock key must be available in the INKBOX_OPENCODE_VAULT_KEY env var (or a custom env var if the vault.keyEnvVar plugin option is configured).
  • The identity must have access grants to the secrets in question (admin-set via the Inkbox Console).

If INKBOX_OPENCODE_VAULT_KEY is not set, a plaintext credential read returns "Vault is locked." Direct the user to export the env var in the shell launching opencode, then retry.

Workflow

  1. List first. Call inkbox_credentials_list (optionally filter by type). Read the metadata to find the right id by name. Never guess UUIDs.
  1. Confirm with the user when stakes are high. If the user said "log into AWS production," verify the matching secret's name and description look right before fetching plaintext. The agent should not silently pull production credentials.
  1. Fetch the typed plaintext. Call the matching get tool:
  • Login → inkbox_credentials_get_login
  • API key → inkbox_credentials_get_api_key
  • SSH key → inkbox_credentials_get_ssh_key

Each returns the payload as JSON. Use the fields directly in the action the user asked for; do not echo the plaintext back to the user unless they explicitly asked to see it.

  1. TOTP is a separate flow. Call inkbox_totp_code with the login secret's UUID — it returns the current code and its remaining validity in seconds. If fewer than ~5 seconds remain, regenerate before using.

Hygiene

  • Don't list-then-dump. credentials_list returns metadata only by design. Don't call all three get_* tools in a loop trying to enumerate the vault.
  • Don't paste plaintext into chat. When the user asks "use the GitHub PAT to push," fetch it and use it — don't repeat it back to them.
  • Don't store outside this call. The plugin caches its unlock capability, but rechecks grants and refetches each secret; you don't need to (and shouldn't) keep plaintext in session memory.

Errors

ErrorMeaning
Vault is locked. Set the INKBOX_OPENCODE_VAULT_KEY...Env var missing — direct the user to set it.
Tool not availableThe vault tools aren't enabled — see the enabling snippet above; check inkbox_doctor.
No credential with id '...' on get_*Wrong secret id, or this identity doesn't have access.
TypeError on get_login/get_api_key/get_ssh_keyCaller picked the wrong typed getter for the secret's type. Re-list to see secretType.

What this skill does NOT cover

  • Creating, updating, or deleting secrets — there's no plugin tool for this in agent-scoped mode.
  • Granting access to secrets — admin-only via the Inkbox Console.
  • TOTP setup — initial TOTP config also happens in the Console.

When you need more — raw Inkbox docs

If a payload shape, secret type, vault behavior, or TOTP detail isn't covered here, go to the source:

  • https://inkbox.ai/llms.txt — LLM-friendly index of every Inkbox doc page.
  • https://inkbox.ai/docs/all.md — the full Inkbox documentation concatenated as one markdown file.

Especially useful when checking the exact fields on LoginPayload, APIKeyPayload, SSHKeyPayload, KeyPairPayload, OtherPayload, or TOTPCode rather than guessing.

Metadata listing does not require an unlock key. Login reads return has_totp without the seed/configuration; request current codes separately.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
4
Repository forks
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/inkbox-ai/opencode-plugin/inkbox-credential-use/badge)](https://verified-skill.com/skills/inkbox-ai/opencode-plugin/inkbox-credential-use)

Something wrong with this skill or its page? Tell us.