> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentlinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Local CLI reference

> Every local CLI command, its inputs, file effects and exit status.

Use the CLI to maintain a repository ledger, inspect public pages, read local context and call authenticated cloud operations. Local commands run from the installed development CLI; installation and hosted access have separate availability requirements.

[Configuration, environment and files](/reference/local/configuration) explains how commands find a ledger. [Local file contracts](/reference/local/artifacts) documents ledger, check and receipt fields. [HTTP conventions](/reference/http/conventions) explains cloud calls.

| Command                                                                       | Purpose                                                        |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [`linktrail help`](/reference/local/help)                                     | Print the command summary.                                     |
| [`linktrail setup`](/reference/local/setup)                                   | Print a read-only setup plan for a selected task.              |
| [`linktrail init`](/reference/local/init)                                     | Create a ledger in the current directory.                      |
| [`linktrail add`](/reference/local/add)                                       | Add a placement intention to the ledger.                       |
| [`linktrail import`](/reference/local/import)                                 | Preview a supplier or CSV import.                              |
| [`linktrail adopt`](/reference/local/adopt)                                   | Preview conversion of the local SQLite CRM.                    |
| [`linktrail adopt-result`](/reference/local/adopt-result)                     | Save a prior single-check result to the ledger.                |
| [`linktrail check`](/reference/local/check)                                   | Check due ledger entries.                                      |
| [`linktrail check --source ... --target ...`](/reference/local/check-single)  | Check one supplied page without a ledger.                      |
| [`linktrail status`](/reference/local/status)                                 | Compare local intentions with recorded observations.           |
| [`linktrail diff`](/reference/local/diff)                                     | Read recorded observation transitions.                         |
| [`linktrail fmt`](/reference/local/fmt)                                       | Format the ledger consistently.                                |
| [`linktrail compact`](/reference/local/compact)                               | Preview repeated-observation compaction.                       |
| [`linktrail report`](/reference/local/report)                                 | Render a local HTML backlink report.                           |
| [`linktrail fleet`](/reference/local/fleet)                                   | Read multiple explicitly named ledgers.                        |
| [`linktrail platforms`](/reference/local/platforms)                           | Summarize observed platform behavior.                          |
| [`linktrail mix`](/reference/local/mix)                                       | Report referring-domain mix from the current ledger.           |
| [`linktrail doctor`](/reference/local/doctor)                                 | Check the local install and configured cloud connection.       |
| [`linktrail connect`](/reference/local/connect)                               | Verify and save a cloud connection.                            |
| [`linktrail tools`](/reference/local/tools)                                   | Read the authenticated cloud command catalog.                  |
| [`linktrail call`](/reference/local/call)                                     | Run a named cloud operation.                                   |
| [`linktrail sync`](/reference/local/sync)                                     | Push selected intentions and pull cloud history.               |
| [`linktrail receive`](/reference/local/receive)                               | Use a signed event notification to trigger authenticated pull. |
| [`linktrail receipt add`](/reference/local/receipt-add)                       | Record a local action claim.                                   |
| [`linktrail receipt history`](/reference/local/receipt-history)               | Read claims alongside local verification history.              |
| [`linktrail context status`](/reference/local/context-status)                 | Read context connection and file status.                       |
| [`linktrail context manual`](/reference/local/context-manual)                 | Read the editable manual context.                              |
| [`linktrail context focus`](/reference/local/context-focus)                   | Select focus pages from local context.                         |
| [`linktrail context gsc refresh`](/reference/local/context-gsc-refresh)       | Refresh search context from Google.                            |
| [`linktrail context gsc page`](/reference/local/context-gsc-page)             | Read search context for a supplied page.                       |
| [`linktrail context gsc import`](/reference/local/context-gsc-import)         | Import a GSC connector handoff.                                |
| [`linktrail context gsc forget`](/reference/local/context-gsc-forget)         | Remove tool-owned context.                                     |
| [`linktrail context profile build`](/reference/local/context-profile-build)   | Collect bounded public site facts.                             |
| [`linktrail context profile render`](/reference/local/context-profile-render) | Write an editable site profile from collected facts.           |
| [`linktrail context profile check`](/reference/local/context-profile-check)   | Check citations in the local site profile.                     |
| [`linktrail context ga4 refresh`](/reference/local/context-ga4-refresh)       | Refresh optional GA4 context.                                  |
| [`linktrail context ga4 page`](/reference/local/context-ga4-page)             | Read local landing-page business context.                      |
| [`linktrail context ga4 key-events`](/reference/local/context-ga4-key-events) | Read configured GA4 event totals.                              |
| [`linktrail context ga4 import`](/reference/local/context-ga4-import)         | Import a GA4 connector handoff.                                |
| [`linktrail context ga4 forget`](/reference/local/context-ga4-forget)         | Remove tool-owned GA4 context.                                 |
| [`linktrail context business`](/reference/local/context-business)             | Read search and business context side by side.                 |
| [`linktrail context help`](/reference/local/context-help)                     | Print the context subcommand summary.                          |
