skills/onboard/SKILL.md
First-time TrueFoundry setup. Handles tenant registration, CLI installation, tfy login, and login verification. Use when no TrueFoundry credentials exist or when other skills report missing login.
npx skillsauth add truefoundry/tfy-gateway-skills truefoundry-onboardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Get the user to one stable state:
tfy login --host <tenant-url> has completed.Stop after CLI login verification. Operational setup belongs to the other TrueFoundry skills.
</objective> <instructions>The first check is the CLI version. This tells you whether the TrueFoundry Python package and tfy entrypoint are installed.
Run:
tfy --version 2>/dev/null
If this fails, install the CLI:
pip install 'truefoundry==0.5.0'
If pip is unavailable and uv exists, use:
uv tool install --python 3.12 'truefoundry==0.5.0'
Then rerun:
tfy --version
Do not guess common status/config commands. tfy whoami, tfy show-config, tfy status, and tfy config ... are invalid for this CLI.
After tfy --version works, check whether CLI login is already present:
python3 - <<'PY'
import json
from pathlib import Path
path = Path.home() / ".truefoundry" / "credentials.json"
try:
data = json.loads(path.read_text())
except Exception:
data = {}
host = data.get("host") or data.get("base_url") or ""
token = data.get("access_token") or data.get("refresh_token") or ""
if host and token:
print(f"tfy login: ok ({host})")
else:
print("tfy login: missing")
PY
If login is already present, tell the user the tenant host and stop. The next requested TrueFoundry skill can continue.
If the login check prints tfy login: missing, say:
Looks like the tenant is not set or CLI login is not done.
If you have not already, create an account at https://www.truefoundry.com/register, complete the onboarding/signup flow, and paste your tenant URL here.
Accept a full tenant URL, for example:
https://acme.truefoundry.cloud
Use browser registration only for new tenants.
After the user provides the tenant URL, ask them to complete interactive login:
tfy login --host "<tenant-url>"
The command may open a browser. Wait for the user to confirm it succeeded. This sets the CLI host and stores CLI credentials on the machine.
Run the login check from Step 2 again.
If it prints tfy login: ok (...), onboarding is complete. Report:
TrueFoundry CLI login is complete for <tenant-url>.
You can now use the other TrueFoundry skills. CLI-based flows should work from here.
If it still prints missing, ask the user to rerun tfy login --host <tenant-url> and paste any error message.
Once tfy login succeeds:
tfy whoami, tfy show-config, tfy config get, tfy get workspace, tfy status) — they don't exist.tfy-api.sh may still require TFY_API_KEY; do not claim that a separate API key exists unless it is actually set.$TFY_API_SH GET /api/svc/v1/provider-accounts. Go straight there.<success_criteria>
tfy --version works.~/.truefoundry/credentials.json contains a host plus access or refresh token.</success_criteria>
<troubleshooting>Ask the user to open a new terminal, or add the CLI install location to PATH.
Ask the user to retry:
tfy login --host "<tenant-url>"
Then collect the exact error message.
Run login again with the intended tenant:
tfy login --host "<correct-tenant-url>"
</troubleshooting>data-ai
Manages TrueFoundry Skills Registry workflows. Covers creating, publishing, versioning, downloading, updating, and attaching reusable Agent Skills through UI or tfy apply.
tools
Integrates a codebase with TrueFoundry AI Gateway. Scans for all LLM calls, MCP configs, and credentials, diffs against existing gateway config, generates a migration plan, applies code changes, and verifies routing end-to-end. Invoked from within the customer's codebase.
tools
Registers MCP servers, manages secrets, and fetches TrueFoundry documentation. Covers remote/virtual/OpenAPI MCP servers, secret groups with key-value pairs, and platform docs.
testing
Platform access management for TrueFoundry. Covers connection status checks, workspace and cluster discovery, role and team management, secret groups, and personal access token lifecycle.