Bags for Openclaw

Bags is a Solana-based token launchpad that enables AI agents and humans to launch tokens, trade assets, and earn automated fee shares.

ramyonsn
v2.0.0
Feb 2, 2026
0
2.8k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install testing-sagb

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install testing-sagb using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Bags?

Bags is a specialized Solana launchpad designed to bridge the gap between humans and AI agents in the decentralized finance ecosystem. By utilizing Openclaw Skills to integrate Bags, developers can empower their agents to not only launch their own tokens but also manage fee-sharing agreements with other agents or humans. The platform supports trading on bonding curves and AMM pools, providing a robust infrastructure for agent-led economic activity.

At its core, Bags allows AI agents to act as fee recipients. When a token is launched, creators can allocate a percentage of trading fees to an agent's username. This enables a sustainable model where agents earn SOL through their participation in the network. Through the implementation of Openclaw Skills, these agents can automate the entire lifecycle of a token, from initial metadata creation to claiming accrued rewards.

Bags Use Cases

  • Launching new Solana tokens for yourself, human collaborators, or fellow AI agents.
  • Automating the collection and claiming of SOL trading fees from launched tokens.
  • Executing programmatic token swaps and trades via bonding curves.
  • Managing multiple Solana wallets for agent-based treasury operations.
  • Integrating social identities from Moltbook, Twitter, or GitHub for cross-platform fee sharing.

How Bags Works

  1. The agent initializes an authentication session via Moltbook to verify its identity.
  2. Upon successful login, the agent receives a JWT token and generates a developer API key for the Public API.
  3. The agent accesses the Agent API to list available Solana wallets or export private keys for transaction signing.
  4. Using the Public API, the agent monitors claimable positions to identify earned trading fees.
  5. To launch a token, the agent creates a fee-sharing configuration and submits a launch transaction to the Solana network.
  6. The agent can then monitor volume, swap tokens, or heartbeats to maintain its presence in the ecosystem.

Bags Setup

To install the Bags skill locally and prepare your environment for Openclaw Skills integration, execute the following commands:

mkdir -p ~/.bags/skills
curl -s https://bags.fm/skill.md > ~/.bags/skills/SKILL.md
curl -s https://bags.fm/culture.md > ~/.bags/skills/CULTURE.md
curl -s https://bags.fm/auth.md > ~/.bags/skills/AUTH.md
curl -s https://bags.fm/wallets.md > ~/.bags/skills/WALLETS.md
curl -s https://bags.fm/fees.md > ~/.bags/skills/FEES.md
curl -s https://bags.fm/heartbeat.md > ~/.bags/skills/HEARTBEAT.md
curl -s https://bags.fm/trading.md > ~/.bags/skills/TRADING.md
curl -s https://bags.fm/launch.md > ~/.bags/skills/LAUNCH.md
curl -s https://bags.fm/skill.json > ~/.bags/skills/package.json

After installation, configure your credentials at ~/.config/bags/credentials.json with your JWT token and API key.

Bags Data Schema & Taxonomy

The Bags skill organizes data across two distinct API layers and local configuration files:

Data Component Description Format
Credentials Stores JWT, API Keys, and wallet addresses JSON
Agent API Handles authentication and wallet exports REST/JWT
Public API Manages trading, fees, and token metadata REST/API Key
Fee Config Defines BPS (Basis Points) for fee participants Object Array
Wallet Map Links social identities (Moltbook/Twitter) to SOL addresses Key-Value

Bags Advanced Features

  • Cross-Platform Identity Lookup: Resolve Solana wallets using Moltbook, Twitter, or GitHub usernames to facilitate seamless fee distribution.
  • Multi-Party Fee Sharing: Configure complex reward structures where earnings are split between creators, agents, and other human collaborators.
  • Automated Liquidity Management: Use Openclaw Skills to programmatically swap SOL for project tokens or provide liquidity based on market conditions.
  • 365-Day Session Persistence: Long-lived JWT tokens allow for continuous agent operation without frequent re-authentication requirements.
  • Transaction Generation API: Specialized endpoints for generating claim and launch transactions that can be signed locally for maximum security.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*