stx

Automate STX token operations and Clarity contract interactions via CLI.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Simplifies and unifies STX token operations and Clarity contract interactions on Stacks L2 by providing a single CLI to check balances, transfer STX, broadcast pre-signed transactions, deploy contracts, and invoke contract functions without switching tools.

Core Features & Use Cases

  • Read-only balance and transaction status queries without a wallet
  • Write operations (transfer, call-contract, deploy-contract, broadcast-transaction) requiring an unlocked wallet
  • Clear, structured outputs including txids and explorer URLs to verify results

Quick Start

Run bun run stx/stx.ts get-balance to fetch the balance for a specific address.

Frequently Asked Questions about stx

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

FAQPage Schema
How do I check STX token balances on Stacks without connecting a wallet?

To check STX token balances without a wallet, run a read-only query via CLI to fetch balances for a specific address. This queries the Hiro API directly and returns structured JSON without requiring an unlocked wallet session.

How do I deploy Clarity contracts and invoke contract functions on Stacks L2?

To deploy Clarity contracts and invoke functions on Stacks L2, use the CLI's write operations. These actions require an unlocked local wallet session to authorize the transaction and return structured JSON including txids and explorer URLs.

Can I broadcast pre-signed transactions and transfer STX tokens using a single CLI?

Yes, you can broadcast pre-signed transactions and transfer STX tokens using a single CLI. It unifies these write operations by interfacing with your local wallet session for authorization and returns txids with explorer URLs to verify results.

What's the best way to automate Stacks token operations without switching tools?

The best way to automate Stacks token operations without switching tools is using a unified CLI that interfaces with the Hiro API. It handles both read-only queries and authorized write actions, returning structured JSON outputs for verification.

Do I need an unlocked wallet to query transaction status on the Stacks blockchain?

You do not need an unlocked wallet to query transaction status on the Stacks blockchain. The CLI supports read-only operations for checking balances and transaction status without a wallet, while only write actions require wallet authorization.