aux4/cloud-find

Find the right aux4 command for a natural-language request. aux4 find ask builds a picture of your own installed commands (help text only) and asks the aux4.cloud command finder to rank the best match, without you ever holding a jev/TypeSafe API key yourself.

Installation

aux4 aux4 pkger install aux4/cloud-find

Quick Start

aux4 find ask "send a message to my team"
94%  aux4 slack post (aux4/slack)

Output depends on how confident the finder is:

| Confidence | What you see | |---|---| | >= 90% | The single best command. | | 50-89% | "Not sure - did you mean:" with the top 3 candidates. | | < 50% | The finder says it's unsure and shows local aux4 aux4 pkger find results instead. |

If you have no active aux4 Cloud session, or the finder is unreachable for any other reason, aux4 find ask falls back to the local aux4 aux4 pkger find BM25 search the same way — you always get a result. Pass --json true to get the full ranked candidate list with confidences instead of the tiered presentation (useful for scripting).

How it works

  1. Build your tree. aux4 find ask walks your own installed packages (the same manifests

aux4 --help reads) and collects every non-private, non-profile-routing command's help text — never full man pages, and never anything from other users' installs.

  1. Fingerprint it. A stable fingerprint of that tree is sent on every call. The service caches

the last tree it saw per fingerprint, so the (often large) full tree is only re-sent when it actually changes.

  1. Ask. The request is sent to the aux4-owned command finder machine, which walks (or, for

small installs, flatly asks) with jev / TypeSafe System One and returns ranked candidates with confidence.

  1. Never a shared key. The jev API key lives only on the finder machine. This package never

sees it, stores it, or sends it anywhere.

Configuration

| Variable | Purpose | Default | |---|---|---| | AUX4_CLOUD_SCOPE | Your own aux4 Cloud scope — must have an active aux4 Cloud subscription. | (none) | | AUX4_CLOUD_FIND_SCOPE | The aux4-owned scope hosting the command finder machine. | aux4 | | AUX4_CLOUD_FIND_MACHINE | Name of the deployed command finder machine. | pkger | | AUX4_CLOUD_API_URL | Cloud API base URL. | https://api.aux4.cloud |

Included with aux4 Cloud

aux4/cloud-find is included with an active aux4 Cloud subscription — it is not a separately purchased package, and it is free to install. The finder machine checks that your scope has an active aux4 Cloud subscription before answering, and refuses (with a clear error, before any jev spend) if it doesn't. A lightweight per-scope daily query cap applies as an anti-abuse measure.

Privacy note

Sending help-text labels to jev/TypeSafe is accepted for dev only today. A production ToS/opt-out decision is still pending — see the CLS-015/CLS-017 items on the aux4 task ledger. Only your commands' one-line help text ever leaves your machine — never full man pages, arguments, or command output.