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

@spectratools/assembly-cli

v0.12.0

Published

CLI for Assembly governance on Abstract (members, council, forum, proposals, and treasury).

Readme

@spectratools/assembly-cli

Assembly is the governance layer for protocols on the Abstract chain: it manages membership, council seats, proposals, forum participation, and treasury controls through onchain contracts. Abstract is an Ethereum L2 focused on consumer-facing apps and agent-friendly infrastructure. This CLI gives operators and agents one interface to query Assembly state, run checks, and power automation.

Learn more:

  • Abstract site: https://abs.xyz
  • Abstract docs: https://docs.abs.xyz

Install

pnpm add -g @spectratools/assembly-cli

LLM / Agent Discovery

# Emit machine-readable command metadata
assembly-cli --llms

# Register as a reusable local skill for agent runtimes
assembly-cli skills add

# Register as an MCP server entry
assembly-cli mcp add

Configuration

| Variable | Required | Description | |---|---|---| | ABSTRACT_RPC_URL | No | Abstract RPC URL override (default from package client) | | ASSEMBLY_INDEXER_URL | No | Optional member snapshot endpoint for members list (falls back to on-chain Registered events with a warning if unavailable) |

Shared tx integration pattern (@spectratools/tx-shared)

assembly-cli write flows are powered by @spectratools/tx-shared (executeTx lifecycle + structured TxErrors).

If you're building a consumer CLI command (or extending Assembly write behavior), use the shared pattern:

  1. Parse signer flags/env via toSignerOptions(...)
  2. Resolve signer with resolveSigner(...)
  3. Build write request (address, abi, functionName, args/value)
  4. Execute with executeTx(...) and handle dryRun + TxError.code

Reference wiring:

Current assembly-cli write commands require PRIVATE_KEY, but tx-shared supports broader provider setup for consumer CLIs:

  • private key (PRIVATE_KEY)
  • keystore (--keystore + --password or KEYSTORE_PASSWORD)
  • Privy (--privy and env PRIVY_APP_ID, PRIVY_WALLET_ID, PRIVY_AUTHORIZATION_KEY; optional --privy-api-url / PRIVY_API_URL)

Command Group Intent Summary

  • members — Membership state, counts, and registry fee settings
  • council — Seat occupancy, active council members, auction slots, and council params
  • forum — Threads, comments, petitions, and petition participation checks
  • governance — Proposal index/details, vote participation checks, governance params
  • treasury — Treasury balance, whitelist checks, major-spend status, execution checks
  • root commands (status, health) — Cross-contract snapshots for bots/monitors

Usage

assembly-cli <group> <command> [args] [options]

Agent-Oriented Examples

# 1) Agent startup snapshot: report system health in one call
assembly-cli status --json

# 2) Verify whether an address can currently participate as council
assembly-cli council is-member 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 --format json

# 3) Pull active member roster with relative activity timings
# Note: best results require ASSEMBLY_INDEXER_URL; if the indexer returns 404/unavailable,
# the CLI falls back to onchain Registered events and output may be slower or partial.
assembly-cli members list --json

# 4) Pre-vote automation: list proposals and fetch one in detail
assembly-cli governance proposals --format json
assembly-cli governance proposal 1 --json

# 5) Treasury monitoring loop: balance + spend lock status
assembly-cli treasury balance --format json
assembly-cli treasury major-spend-status --json

Output Mode

All commands support structured JSON output for agents with either --json or --format json:

assembly-cli forum threads --json
assembly-cli forum threads --format json