npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@hodl-dance/skill

v1.3.0

Published

AI Agent Skill for HODL.DANCE — memecoin launchpad on BSC

Readme

🪩 HODL.DANCE Agent Skill

Official CLI skill for AI agents and trading bots to interact with HODL.DANCE — the memecoin bonding curve launchpad on BSC.

Version License: MIT Node


The Problem

Most AI agents and trading bots want to trade memecoins on emerging launchpads, but:

  • Bonding curve mechanics are complex to simulate correctly
  • On-chain trading requires careful handling of approvals, gas, and errors
  • Public APIs give data, but executing trades reliably is painful
  • Most tools are built for humans, not autonomous agents

The Solution

@hodl-dance/skill gives agents a clean, reliable, JSON-first interface to HODL.DANCE.

  • Read market data, token details, and trade history
  • Simulate buys and sells instantly (no gas, no transactions)
  • Execute real buys and sells with automatic ERC20 approvals
  • Launch new tokens directly from code or agents

Built for agents. Works great for humans too.


✨ Key Features

  • Pure JSON output — Every command returns structured, machine-readable JSON
  • Gas-free simulationsquote command uses on-chain state to predict exact output
  • Automatic approvalssell-token handles ERC20 approve when needed
  • Zero dependencies for reads — Public commands work without any wallet or keys
  • Agent-native — Designed for 8004 agents, ClawHub, and autonomous systems
  • Windows + Linux friendly — Stable on both WSL and native Windows

🤖 AI Agents & 8004 Integration

This skill is the official on-chain execution layer for HODL.DANCE agents.

It is referenced in the platform's agent manifest:

Example Agent ID on 8004

Supported Workflows for Agents

# 1. Discovery
hodl-skill get-tokens --sort=volume --limit=10

# 2. Analysis
hodl-skill get-token <tokenAddress>
hodl-skill get-trades <tokenAddress> --type=buy --limit=20

# 3. Simulation (free)
hodl-skill quote <bondingCurveAddress> buy 0.1

# 4. Execution
hodl-skill buy-token <bondingCurveAddress> 0.1
hodl-skill sell-token <bondingCurveAddress> <amount>

More integration examples and agent card details: docs.hodl.dance


🚀 Installation

npm install -g @hodl-dance/skill

Or run without installing:

npx @hodl-dance/skill <command>

Requirements

  • Node.js ≥ 18
  • For write commands (buy, sell, create): HODL_PRIVATE_KEY environment variable

📖 Usage

Read Commands (no wallet required)

# List tokens
hodl-skill get-tokens --sort=volume --limit=10 --verified=true

# Token details + recent trades
hodl-skill get-token 0x...

# Trade history
hodl-skill get-trades 0x... --type=buy --limit=20

Simulation (recommended before trading)

# How many tokens will I receive for 0.1 BNB?
hodl-skill quote 0x... buy 0.1

# How much BNB will I get for selling 500,000 tokens?
hodl-skill quote 0x... sell 500000

Write Commands (requires HODL_PRIVATE_KEY)

export HODL_PRIVATE_KEY=0xYourPrivateKey

# Buy tokens
hodl-skill buy-token 0x... 0.1

# Sell tokens (approve handled automatically)
hodl-skill sell-token 0x... 1000000

# Launch a new token
hodl-skill create-token --name="Moon Cat" --symbol=MCAT --logo=./logo.png --initial-buy=0.1

Full command reference: SKILL.md


🛠 Development

git clone https://github.com/hodldance/agent-skill.git
cd agent-skill
npm install

# Run directly
node src/index.js --help

# Run tests
npm test

🏗 Project Structure

src/
├── index.js                 # CLI entrypoint & command dispatcher
├── commands/                # All 7 commands (get-*, quote, buy, sell, create)
├── lib/
│   ├── api.js               # HTTP client for hodl.dance API
│   ├── chain.js             # Ethers.js + bonding curve math simulations
│   ├── output.js            # Safe JSON output (Windows + Linux compatible)
│   └── validators.js        # Address validation helpers
└── abi/
    └── BondingCurve.json

Ecosystem & Integrations


Contributing

Contributions are welcome, especially around:

  • Better error messages and agent-friendly output
  • Additional simulation accuracy
  • Test coverage
  • Windows/PowerShell UX improvements

License

MIT License


Built with ❤️ for the memecoin community and autonomous agents.