← 全部工具

getformo/cli

热度 75 更新于 AI 与 Agent

Formo CLI and agent skill for product analytics, onchain data, and wallet intelligence.

githubauto-collected

安装

暂未验证可直接使用的安装命令,请查看项目官方文档或 Release。

@formo/cli

Command-line interface for the Formo API. Manage wallet profiles, alerts, dashboards, charts, contracts, segments, and run analytics SQL — directly from your terminal or via AI agents.

Installation

npm install -g @formo/cli
# or use without installing:
npx @formo/cli

Install the Formo Analytics agent skill

This repository also ships the formo-analytics skill for Claude Code, Codex, and other Agent Skills-compatible tools. It teaches agents to use Formo's MCP server, CLI, and REST API for project-scoped product and onchain analytics.

Install it in the current project:

npx skills add https://github.com/getformo/cli/tree/main/skills/formo-analytics

Or install it globally for Claude Code and Codex:

npx skills add getformo/cli --skill formo-analytics --global \
  --agent claude-code --agent codex

Authentication

Save your API key locally:

formo login <apiKey>

Or set the FORMOAPIKEY environment variable — it takes precedence over the saved config:

export FORMO_API_KEY=formo_abc123

Get your API key from Settings → API in the Formo dashboard.

For local development or proxying, override API hosts with:

export FORMO_API_BASE_URL=http://localhost:3001
export FORMO_EVENTS_BASE_URL=http://localhost:3002