credentials

Stores and retrieves named secrets using AES-256-GCM encryption.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/Jay0xx/forge0btc-news-agent --skill credentials-jay0xx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credentials
Source: https://github.com/Jay0xx/forge0btc-news-agent/tree/main/aibtcdev-skills/credentials
Command: npx skills add https://github.com/Jay0xx/forge0btc-news-agent --skill credentials-jay0xx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Encrypted credential storage and lifecycle management for sensitive secrets (API keys, tokens, passwords) across workflows, without exposing plaintext values.

Core Features & Use Cases

  • Store and retrieve secrets securely with AES-256-GCM encryption.
  • List metadata for auditing and inventory without exposing secret values.
  • Rotate master password to re-encrypt all credentials safely.

Quick Start

Run bun run credentials/credentials.ts add --id <id> --value <secret> --password <master-password> to store a new credential.

Frequently Asked Questions about credentials

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely store API keys and credentials locally using AES-256-GCM encryption?

To securely store credentials locally, use a master password with AES-256-GCM encryption and PBKDF2 key derivation. This approach applies a per-credential salt and random IV, ensuring plaintext secrets remain protected across local workflows without exposure.

What is the best way to rotate a master password for encrypted secrets without losing data?

The best way to rotate a master password for encrypted secrets is using a rotate-password operation that safely re-encrypts all stored credentials. This maintains data integrity by securely deriving new keys with PBKDF2 while preserving the existing per-credential salts.

Can I list stored credentials for auditing without exposing the plaintext secret values?

Yes, you can list stored credentials for auditing without exposing plaintext secret values. The list operation returns metadata for inventory purposes, ensuring sensitive encrypted data remains completely hidden while you review your stored items.

How does PBKDF2 key derivation protect encrypted credentials stored on disk?

PBKDF2 key derivation protects encrypted credentials by generating a strong cryptographic key from your master password using a per-credential salt. This process drastically increases the computational cost for attackers attempting to brute-force the AES-256-GCM encrypted local store.

What should I do if an error occurs while adding or retrieving encrypted credentials?

If an error occurs while adding or retrieving encrypted credentials, the system enforces strict error handling and uses atomic writes to guard data integrity. This prevents partial or corrupted writes from compromising the local store during failed operations.