Manages prompts in the TrueFoundry Prompt Registry: listing, creating, updating, versioning, tagging, and using prompts through the AI Gateway API and SDK.
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.
Read when SKILL.md points to them; scripts run unread.
Manage prompts in the TrueFoundry Prompt Registry.
Use this skill when the user wants to:
production.Do not create or edit agents here. Use truefoundry-agents for Agent Registry UI workflows.
tfy login is complete. If not, use truefoundry-onboard.The predictable UI path is:
TrueFoundry Dashboard -> AI Gateway -> Prompt Management / Prompt Registry
Use the UI when the user wants to visually create, compare, or test prompts.
| User intent | Supported path | Notes |
|---|---|---|
| List prompts | API or UI | Present prompt name, ID, latest version, and tags. |
| Inspect prompt versions | API, SDK, or UI | Include version ID/FQN and tags. |
| Create a prompt | SDK or UI | Review messages/settings before creation. |
| Update a prompt | SDK or UI | Treat as a new version; do not overwrite silently. |
| Tag a version | SDK or UI | Confirm before moving stable tags like production. |
| Get prompt FQN | SDK or UI | Use for Gateway and Agent references. |
API fallback:
TFY_API_SH=~/.claude/skills/truefoundry-prompts/scripts/tfy-api.sh
$TFY_API_SH GET /api/ml/v1/prompts
Present:
Prompts
| Name | ID | Versions | Latest | Tags |
Creating a new prompt or adding a new version should be treated as a reviewed change.
Collect:
Show the final prompt content and settings before creating or updating.
Review format before create/update:
Prompt Change
| Field | Value |
|-------|-------|
| Name | my-prompt |
| Repository | ml-repo-fqn |
| Change | create prompt / create new version |
| Variables | user_input |
| Model | model-catalog:openai:gpt-4 |
| Tags | none / production |
Then show the messages in order:
System:
...
User:
...
SDK shape:
from truefoundry.ml import ChatPromptManifest
client.prompts.create_or_update(
manifest=ChatPromptManifest(
name="my-prompt",
ml_repo="ml-repo-fqn",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "{{user_input}}"},
],
model_fqn="model-catalog:openai:gpt-4",
temperature=0.7,
max_tokens=1024,
top_p=1.0,
)
)
Prompt edits create versions. Use tags such as production or staging to provide stable references.
Before applying a tag, show the current tag target if known and ask for explicit confirmation when the tag is stable or production-facing.
SDK shape:
client.prompt_versions.apply_tags(
prompt_version_id="version-id",
tags=["production"],
force=True,
)
Use the UI or SDK to retrieve the FQN:
client.prompt_versions.get_by_fqn(fqn="ml-repo:prompt-name:production")
The FQN is used by Gateway prompt run flows and by TrueFoundry Agents.
Do not delete prompts or prompt versions from the agent. If deletion is requested, direct the user to the Prompt Registry UI.
<success_criteria>
truefoundry-agents.</success_criteria>
references/api-endpoints.md (opens in a new tab)references/cli-fallback.md (opens in a new tab)references/cli-reference.md (opens in a new tab)references/intent-clarification.md (opens in a new tab)references/prerequisites.md (opens in a new tab)references/tfy-api-setup.md (opens in a new tab)scripts/tfy-api.sh (opens in a new tab)scripts/tfy-version.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
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-truefoundry-gateway:truefoundry-promptsfrom 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