The TrueFoundry CLI gives you two paths for managing skills outside the UI:Documentation Index
Fetch the complete documentation index at: https://www.truefoundry.com/llms.txt
Use this file to discover all available pages before exploring further.
tfy upload skill— one-shot command to publish a local skill folder as a new version. Simplest path; matches what the Playground does behind the scenes.tfy applywith anagent-skillmanifest — declarative path that integrates with your repository’s CI/CD pipeline (GitOps).
tfy upload skill
Publish a new version of an agent skill from a local directory.
| Flag | Required | Default | Description |
|---|---|---|---|
--repository | yes | — | Name of the Repository where the skill version will be published. The repository must already exist. |
--dir / -d | no | . | Path to the local skill root directory. Must contain SKILL.md at the root. |
Example
Given this layout:~/code/skills:
agent-skill:my-tenant/my-skills/analytics-helper:1).
tfy download skill
Download a committed skill version’s files to disk — useful for editing an existing skill, mirroring it into another repository, or auditing what your agent is mounting.
| Flag | Required | Default | Description |
|---|---|---|---|
--fqn | yes | — | Skill version FQN, e.g. agent-skill:my-tenant/my-skills/analytics-helper:1. The version must be a positive integer; :latest is not supported. |
--dir / -d | no | . | Local destination directory. Created if missing. The skill files land inside a sub-directory named after the skill. |
--overwrite | no | false | When set, existing files in the destination are overwritten. |
--progress / --no-progress | no | auto | Show a progress bar while downloading. |
Example
tfy upload skill.
tfy apply — Declarative Manifests
For GitOps workflows, define skills as YAML manifests and apply them with tfy apply. This is the same mechanism used for deployments, prompts, models, and other TrueFoundry resources — see Using tfy apply for the general overview.
Skill Manifest — Local source
The local-source manifest is the GitOps equivalent oftfy upload skill. Point source.skill_dir at your skill folder; tfy apply packages and uploads it.
manifests/analytics-helper.yaml
| Field | Required | Description |
|---|---|---|
type | yes | Must be agent-skill. |
name | yes | Skill name. Must match the name in SKILL.md frontmatter. |
ml_repo | yes | Target Repository. |
metadata | yes | Free-form key/value metadata. Use {} if you don’t need any. |
source.type | yes | local for GitOps. Other source types exist but are server-managed; see below. |
source.skill_dir | yes | Path to the local skill folder, relative to your tfy apply working directory — typically the root of your Git repo. The folder must contain SKILL.md. |
GitOps Layout
A common repository structure for managing skills via Git:.github/workflows/tfy-apply.yaml