Guides first-time TrueFoundry setup: tenant registration, CLI installation, tfy login, and login verification. Use when no TrueFoundry credentials exist or other skills report missing login.
Ships in truefoundry. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
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>
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>"
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/truefoundry-agentsUI-first guide for TrueFoundry Agent Registry. Use when creating, publishing, sharing, editing, testing, or attaching MCP servers and skills to TrueFoundry Agents. Agent authoring is not API-driven./truefoundry-gatewayConfigures TrueFoundry AI Gateway end-to-end. Covers unified OpenAI-compatible LLM access, provider account integrations, content safety guardrails, and observability (traces, costs, errors) via the spans query API./truefoundry-integrate-gatewayIntegrates 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./truefoundry-mcp-serversManages TrueFoundry MCP Gateway server registry entries. Covers listing, creating, updating, tool selection, access control, and client attachment for remote, official remote, virtual, hosted STDIO, and OpenAPI-backed MCP servers. Delete operations are manual dashboard-only./truefoundry-observabilityViews application logs and adds OpenTelemetry-based tracing to applications via TrueFoundry. Supports log filtering, Traceloop SDK instrumentation for Python/TypeScript, and custom spans./truefoundry-platformPlatform access management for TrueFoundry. Covers connection status checks, workspace and cluster discovery, role and team management, secret groups, and personal access token lifecycle./truefoundry-truefoundry-gateway:truefoundry-onboardfrom truefoundry
Generated from the plugin's indexed repository (truefoundry/skills) — no native marketplace selected
npx claudepluginhub p/truefoundry-truefoundry-gatewayOther plugins' skills for the same job