truefoundry-onboarding
Skill1 starsChanged 8 months agoMITView on GitHub
Guides new users through TrueFoundry setup — account registration, email verification, credential configuration, and first deployment. Use when the user says "get started", "set up truefoundry", "new account", "register", "onboard", "I'm new", or has no credentials configured.
- Reads credentials
- Installs packages
In this repository26 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/deploy.mdcCursor rule
- .cursor/rules/security.mdcCursor rule
- .cursor/rules/workflow.mdcCursor rule
- truefoundry-access-controlSkill
- truefoundry-access-tokensSkill
- truefoundry-applicationsSkill
- truefoundry-deploySkill
- truefoundry-docsSkill
- truefoundry-gitopsSkill
- truefoundry-helmSkill
- truefoundry-jobsSkill
- truefoundry-llm-deploySkill
- truefoundry-logsSkill
- truefoundry-ml-reposSkill
- truefoundry-monitorSkill
- truefoundry-notebooksSkill
- truefoundry-secretsSkill
- truefoundry-service-testSkill
- truefoundry-ssh-serverSkill
- truefoundry-statusSkill
- truefoundry-tracingSkill
- truefoundry-volumesSkill
- truefoundry-workflowsSkill
- truefoundry-workspacesSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Before starting the registration flow, check if the user already has credentials configured.
- Distinctive: line 57
Run the TrueFoundry registration CLI:
- Very specific: line 63
If tfy is not installed yet, use:
- Distinctive: line 94
If the registration server is configured to require CAPTCHA, the CLI may also need a browser-based verification step before registration …
- Distinctive: line 129
Ask the user which option they prefer, then help them set the values with their actual tenant URL and API key.
- Very specific: line 145
If TFY_API_KEY is set and the user will use CLI commands, ensure TFY_HOST is also set:
- Very specific: line 153
Test that credentials work with a lightweight API call.
- Distinctive: line 170
If the connection fails, see Troubleshooting.
- Distinctive: line 174
After successful setup, guide the user based on what they want to do:
- Distinctive: line 201
No credentials have been logged, echoed, or stored by the agent
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Routing note: For ambiguous user intents, use the shared clarification templates in references/intent-clarification.md.
<objective>TrueFoundry Onboarding
Guide a new user from zero to a working TrueFoundry setup: account creation, credential configuration, and first successful API call.
When to Use
- User has no TrueFoundry account yet
- User says "get started", "set up", "register", "onboard", or "I'm new to TrueFoundry"
- Credentials (
TFY_BASE_URL,TFY_API_KEY) are missing and the user hasn't set them up before - User explicitly asks how to create an account or get an API key
When NOT to Use
- User already has credentials and wants to check status → prefer
statusskill - User wants to manage existing tokens → prefer
access-tokensskill - User wants to deploy → prefer
deployskill (it has its own preflight) - User wants to list workspaces → prefer
workspacesskill
</objective><instructions>Step 1: Detect Current State
Before starting the registration flow, check if the user already has credentials configured.
echo "TFY_BASE_URL: ${TFY_BASE_URL:-(not set)}"
echo "TFY_HOST: ${TFY_HOST:-(not set)}"
echo "TFY_API_KEY: ${TFY_API_KEY:+(set)}${TFY_API_KEY:-(not set)}"
[ -f .env ] && grep -c '^TFY_' .env 2>/dev/null && echo ".env has TFY_ vars" || echo "No .env with TFY_ vars"If credentials are already set, skip to Step 5: Verify Connection.
If credentials are missing, ask the user:
Do you already have a TrueFoundry account? If yes, I'll help you configure credentials. If not, I'll walk you through creating one.
- Has account → skip to Step 3: Configure Credentials
- No account → continue to Step 2
Step 2: Register a New Account
Run the TrueFoundry registration CLI:
tfy registerIf tfy is not installed yet, use:
uv run --from truefoundry tfy registerIMPORTANT:
tfy registeris fully interactive — it requires terminal input. Let the user drive this step. Do not attempt to pipe or automate the prompts.
What the CLI does (4-step wizard)
- Choose account details — prompts for:
- Tenant name (3-15 chars, lowercase alphanumeric + dashes, e.g.,
acme-ai) - Work email (company email recommended)
- Password (min 8 characters, confirmed twice)
- Primary use case — "llm ops" or "ml infrastructure"
- Tenant name (3-15 chars, lowercase alphanumeric + dashes, e.g.,
- Confirm terms — displays links to Privacy Policy and Terms of Service; requires acceptance
- Complete human verification if required — some registration servers may open a browser for CAPTCHA or similar anti-abuse checks; let the user complete that step manually
- Create account — the CLI calls the TrueFoundry registration service and retries individual fields on validation errors
- Email verification — user must check their inbox, click the verification link, then press Enter to continue
After registration
The CLI outputs:
- The tenant URL (e.g.,
https://acme-ai.truefoundry.cloud) - Instructions to create a Personal Access Token (PAT)
- Optionally offers to install TrueFoundry agent skills
If the registration server is configured to require CAPTCHA, the CLI may also need a browser-based verification step before registration completes. Do not try to script or bypass that step.
Tell the user:
Your TrueFoundry tenant is ready at
<tenant-url>. Next, create your first API key:
- Open
<tenant-url>in your browser- Go to Settings → Access → Personal Access Tokens → Generate New Token
- Copy the token — you'll need it in the next step
Step 3: Configure Credentials
Once the user has their tenant URL and API key, set up the environment.
Option A: Environment Variables (recommended for development)
export TFY_BASE_URL="https://your-org.truefoundry.cloud"
export TFY_API_KEY="tfy-..."
export TFY_HOST="${TFY_BASE_URL}"Option B: .env File (recommended for project-scoped config)
cat > .env << 'EOF'
TFY_BASE_URL=https://your-org.truefoundry.cloud
TFY_API_KEY=tfy-...
EOFSecurity: Never commit
.envfiles with API keys to Git. Ensure.envis in.gitignore.
Ask the user which option they prefer, then help them set the values with their actual tenant URL and API key.
Step 4: Install the CLI (Optional)
The CLI is recommended but not required — all skills fall back to the REST API.
tfy --version 2>/dev/null || echo "CLI not installed"If not installed:
pip install 'truefoundry==0.5.0'If TFY_API_KEY is set and the user will use CLI commands, ensure TFY_HOST is also set:
export TFY_HOST="${TFY_HOST:-${TFY_BASE_URL%/}}"Step 5: Verify Connection
Test that credentials work with a lightweight API call. Set TFY_API_SH to the full path of this skill's scripts/tfy-api.sh. See references/tfy-api-setup.md for paths per agent.
~/.claude/skills/truefoundry-onboarding/scripts/tfy-api.sh GET '/api/svc/v1/workspaces?limit=1'Present the result:
TrueFoundry Status:
- Base URL: https://your-org.truefoundry.cloud ✓
- API Key: configured ✓
- Connection: OK ✓
You're all set!If the connection fails, see Troubleshooting.
Step 6: What's Next?
After successful setup, guide the user based on what they want to do:
You're connected to TrueFoundry! Here's what you can do next:
Deploy & Run
- Deploy a service →
deployskill- Deploy an LLM →
llm-deployskill- Run a batch job →
jobsskill- Launch a notebook →
notebooksskillManage
- List workspaces →
workspacesskill- View running apps →
applicationsskill- Check logs →
logsskillOptional add-on: For AI Gateway features (LLM routing, rate limiting, guardrails), install the gateway skills:
npx skills add truefoundry/tfy-gateway-skillsWhat would you like to do?
</instructions><success_criteria>
- The user has a TrueFoundry account (either pre-existing or newly created via
tfy register) TFY_BASE_URLandTFY_API_KEYare configured (via env vars or.env)- A test API call has confirmed connectivity
- The user knows what they can do next and which skill to use
- No credentials have been logged, echoed, or stored by the agent
</success_criteria>
<troubleshooting>Error Handling
tfy register fails
If tfy CLI is not installed:
uv run --from truefoundry tfy register
# or: pip install 'truefoundry==0.5.0' && tfy register
If registration service is unreachable:
Check network connectivity to https://registration.truefoundry.com
If a field validation error occurs (e.g., tenant name taken, invalid email):
The CLI will retry only the failed field — follow the prompts.
If the CLI says CAPTCHA or human verification is required:
Let it open the browser and complete the verification there.
If the browser does not open automatically, copy the URL shown by the CLI into your browser.Email verification not received
Check spam/junk folder. Try registering again with the same email.
If the problem persists, contact support@truefoundry.com.401 Unauthorized after setting credentials
API key is invalid or expired. Generate a new one:
1. Open your tenant URL in browser
2. Go to Settings → API Keys → Generate New Key
3. Update TFY_API_KEY with the new value
See: https://docs.truefoundry.com/docs/generate-api-keyConnection Refused / Timeout
Cannot reach TFY_BASE_URL. Check:
- URL is correct (include https://)
- Network/VPN is connected
- No trailing slash in the URL.env not picked up
The .env file must be in the current working directory.
Variable names must match exactly: TFY_BASE_URL, TFY_API_KEY (no quotes around values).
The tfy-api.sh script handles .env parsing — never use `source .env`.CLI host error: "TFY_HOST env must be set"
When using tfy CLI with TFY_API_KEY, TFY_HOST is also required:
export TFY_HOST="${TFY_HOST:-${TFY_BASE_URL%/}}"</troubleshooting><references>Composability
- After onboarding → Use
statusskill to re-verify credentials at any time - Token management → Use
access-tokensskill to create additional PATs - First deployment → Use
deployskill to ship a service - Workspace selection → Use
workspacesskill to list and pick a workspace - Read the docs → Use
docsskill to search TrueFoundry documentation
Related Documentation
- Prerequisites — full credential reference
- CLI Fallback — how skills work without the CLI
- API Endpoints — full REST API reference
- Generate API Key
</references>Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

