Encrypt and decrypt BSV backup files (.bep format) using the bitcoin-backup CLI. Supports all backup types (BAP identity, wallet, ordinals, vault). Uses Flow's FLOW_BACKUP_PASSPHRASE and stores files in /.flow/.bsv/ following Flow's BSV convention.
Encrypt and decrypt BSV backup files (.bep) using the bitcoin-backup CLI with Flow's FLOW_BACKUP_PASSPHRASE. Automatically stores encrypted backups in /.flow/.bsv/ following BSV conventions.
/plugin marketplace add b-open-io/bsv-skills/plugin install bsv-skills@b-open-ioThis skill is limited to using the following tools:
scripts/decrypt.tsscripts/encrypt.tsEncrypt and decrypt BSV backup files using the bitcoin-backup CLI (bbackup).
.bep backup file.bep backup to read wallet dataAll backups use .bep format (AES-256-GCM encryption):
Run the encrypt or decrypt scripts:
# Encrypt a wallet JSON file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/encrypt.ts wallet.json output.bep
# Decrypt a backup file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/decrypt.ts backup.bep
# Decrypt to specific output file
bun run /path/to/skills/encrypt-decrypt-backup/scripts/decrypt.ts backup.bep wallet.json
This skill follows agent's BSV backup convention:
Storage Location: /.flow/.bsv/
backups/ - Encrypted .bep filestemp/ - Temporary decrypted files (auto-cleanup)config.json - Backup registrySecurity:
BACKUP_PASSPHRASE environment variableBACKUP_PASSPHRASE environment variable must be setbbackup CLI installed globally: bun add -g bitcoin-backupThe bitcoin-backup CLI provides three commands:
bbackup enc <input> -p <password> -o <output> - Encrypt JSON to .bepbbackup dec <input> -p <password> -o <output> - Decrypt .bep to JSONbbackup upg <input> -p <password> -o <output> - Upgrade legacy backupsThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.