agentforce-hyperclassifier-configure
Agentforce HyperClassifier Optimize
Evaluate a fixed action set, inspect routing errors, revise descriptions, and retain only measured improvements. The bundled scripts use Python 3.9+ and its standard library. Salesforce CLI (sf) is required for org discovery and ECA onboarding. They work from any directory in Claude Code, Codex, and OpenCode; no agent-specific APIs, plugins, or repository runtime are required.
Resolve SKILL_DIR to the absolute directory containing this SKILL.md. All commands below use that directory. For installation locations and invocation examples, read installation.md.
Check availability first
This skill uses a customer External Client App (ECA) to obtain a JWT. It sends full action descriptions to the Salesforce-hosted gateway contract described in api-contract.md. That contract has been exercised with customer-org authentication, but is not established as a generally available, documented Models API operation. Org access and contract compatibility must pass preflight. Do not promise availability for every org or substitute a labels-only classifier.
Onboard the org
Read onboarding.md for the complete CLI/ECA workflow, and authentication.md for token troubleshooting. Begin with the user's alias, an already established org, or the CLI default. Do not ask for an alias again when it is discoverable.
python3 "$SKILL_DIR/scripts/setup_hyperclassifier.py" inspect --target-org <alias>
The CLI session token is not sufficient for gateway inference. Use that session through the CLI's Tooling API query to search for the ECA with label agentforce-hyperclassifier-optimize or API name agentforce_hyperclassifier_optimize. Discovery failure is not evidence that the app is absent.