Bagman is a secure key management framework for AI agents to handle wallets, API secrets, and private keys safely.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install bagman
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install bagman using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Bagman provides an essential security layer for AI agents that require access to sensitive credentials, private keys, or blockchain wallets. By integrating with secret managers like 1Password and implementing ERC-4337 session keys, it ensures that raw private keys never reside in conversation history, memory files, or local environment variables. This skill is critical for developers building autonomous systems that control funds or access high-value APIs using Openclaw Skills.
The framework adopts a defense-in-depth philosophy, providing multiple layers of protection against both accidental leaks and malicious intent. It effectively bridges the gap between agent autonomy and cryptographic security, ensuring that agents can perform financial or administrative tasks without exposing the master credentials of the operator.
Install the 1Password CLI and authenticate to begin securing your Openclaw Skills:
# Install 1Password CLI
brew install 1password-cli
# Authenticate
eval $(op signin)
# Create vault for agent credentials
op vault create "Agent-Credentials"
Enable the pre-commit hook to prevent local secret leakage:
cp examples/pre-commit .git/hooks/
chmod +x .git/hooks/pre-commit
Bagman organizes security metadata and session configurations to maintain a strict audit trail and clear permission boundaries:
| Component | Organization Method |
|---|---|
| Vault ACLs | Read-only access for agents in specific vaults; master keys stored in separate, restricted vaults. |
| Sanitization Patterns | A centralized registry of regex patterns for ETH keys, API tokens, BIP-39 seeds, and JWTs. |
| Session Config | Metadata defining ERC-4337 spending limits, daily caps, and contract whitelists. |
| Confirmation Registry | Time-limited SHA-256 codes used to validate high-value operations before execution. |
Loading
A decentralized protocol skill enabling AI agents to discover, hire, and receive payments for services via Ethereum-based escrow.

A cost-effective, decentralized AI toolkit for processing transcription, images, video, and audio through a unified API.

A sophisticated AI-driven browser automation skill that leverages Amazon Nova Act to execute complex web tasks via natural language commands.

An advanced vision systems architect specialized in real-time detection, promptable segmentation, and 3D spatial reasoning using 2026 state-of-the-art models.

Bagman is a comprehensive security framework for AI agents to manage private keys and API secrets without risking accidental exposure or theft.

RTFM Testing is a methodology that spawns fresh AI agents with zero context to validate whether documentation is actually usable for its intended tasks.








































