> For the complete documentation index, see [llms.txt](https://docs.tryflox.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryflox.xyz/reference/cli.md).

# CLI commands

Run from the project root.

## Assessment

```
node src/cli.js index [--watch]     pull Transfer events into the local log
node src/cli.js assess [SYMBOL]     score an asset (or all) and commit
node src/cli.js depth [SYMBOL]      aggregate depth across venues
node src/cli.js verify              recompute the hash chain from genesis
```

## Supply data

```
node src/cli.js sync                CoinGecko supply + unlock schedules
node src/cli.js unlocks [SYMBOL]    upcoming unlock calendar
```

## Forecasts

```
node src/cli.js forecasts           the analyst layer's logged calls
node src/cli.js grade               score matured forecasts against reality
node src/cli.js scorecard           hit rate, Brier score, calibration gap
```

## On-chain

```
node src/cli.js anchor              publish the log head on chain
node src/cli.js settle              batch-charge unsettled usage
```

## Diagnostics

```
node src/cli.js doctor              check RPC, config, and data
npm run serve                       start the REST API on :8787
```

## Tooling

```
node scripts/discover.mjs --write        find tradeable assets, write watchlist
node scripts/findpool.mjs 0xTOKEN        locate a token's AMM pools
node scripts/probe.mjs 0xTOKEN 0xPOOL    validate a pair, emit a watchlist entry
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tryflox.xyz/reference/cli.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
