{"templateId":"markdown","sharedDataIds":{},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"AI","product_name":"Treasure Code","type":"markdown"},"seo":{"title":"tdx skill","description":"Treasure AI Product Documentation · Collect and Unify · Segment and Activate · Experiment and Analyze · Decisioning Automate with AI Scale and Trust.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tdx-skill","__idx":0},"children":["tdx skill"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Install the tdx Skills that ship with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx"]}," for Claude Code, Codex, and Pi, in this project, in your user folders, or in any folder you choose."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The skills come from the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx"]}," you have installed, so they always match its commands. Nothing is downloaded."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commands","__idx":1},"children":["Commands"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Command"},"children":["Command"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it does"},"children":["What it does"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx skill list"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List the bundled skills and their descriptions"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx skill list --installed"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List what tdx installed in this project"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx skill install --agent <agents...>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Install skills for Claude Code, Codex, or Pi"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx skill install --dir <path>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Copy skills into an exact folder"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx skill remove --agent <agents...> --skill <names...> --yes"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Remove skills that tdx installed"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Agents are ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude-code"]}," (or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude"]},"), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["codex"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pi"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"scope","__idx":2},"children":["Scope"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Option"},"children":["Option"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Where skills go"},"children":["Where skills go"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"em","attributes":{},"children":["(default)"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["This project: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".agents/skills"]},", plus ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".claude/skills"]}," for Claude Code"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--global"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your user folders: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.agents/skills"]},", plus Claude Code's skills folder (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["$CLAUDE_CONFIG_DIR/skills"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.claude/skills"]},")"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dir <path>"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Standalone copies in the folder you name, for example to commit to a repository"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Codex and Pi read the same ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".agents/skills"]}," folder, so a skill installed for either one is visible to both. Claude Code gets a link to that copy, so the skill is stored once. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--copy"]}," to give Claude Code its own copy instead."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"examples","__idx":3},"children":["Examples"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# All bundled skills for Claude Code, Codex, and Pi, in this project\ntdx skill install --agent claude-code codex pi\n\n# Two skills for your user account\ntdx skill install --global --agent claude-code --skill segment journey\n\n# Copies to commit to a repository\ntdx skill install --dir ./.claude/skills\n\n# Preview a removal, then remove\ntdx skill remove --global --agent claude-code --skill segment --dry-run\ntdx skill remove --global --agent claude-code --skill segment --yes\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"safety","__idx":4},"children":["Safety"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["tdx only changes skills it installed. A folder you created with the same name is kept, and the command reports it as skipped."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A skill you edited after tdx installed it is kept, not overwritten or removed."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Re-running ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["install"]}," updates the skills tdx manages to the version of the running ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx"]},", and changes nothing else."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["remove"]}," needs ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--yes"]}," unless you use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--dry-run"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A shared skill is kept while Claude Code still links to it."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"launchers","__idx":5},"children":["Launchers"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx codex"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx pi"]}," install the global set on each launch, so the skills follow your ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx"]}," version. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude"]}," installs into Claude Code's skills folder, so plain ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude"]}," sessions see the same skills. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx codex"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx pi"]}," install into ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.agents/skills"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Removing skills does not stop a launcher from installing them again the next time it starts."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"output","__idx":6},"children":["Output"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Pass ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--json"]}," for machine-readable output. Each change reports its status (",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["installed"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updated"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unchanged"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["removed"]},") and its path."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"see-also","__idx":7},"children":["See also"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/treasure-code/guide/td-skills"},"children":["TD Skills"]}," lists the bundled skills."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/treasure-code/commands/claude"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx claude"]}]},", ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/treasure-code/commands/codex"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx codex"]}]},", and ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/treasure-code/commands/pi"},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["tdx pi"]}]}," install the global set when they start."]}]}]},"headings":[{"value":"tdx skill","id":"tdx-skill","depth":1},{"value":"Commands","id":"commands","depth":2},{"value":"Scope","id":"scope","depth":2},{"value":"Examples","id":"examples","depth":2},{"value":"Safety","id":"safety","depth":2},{"value":"Launchers","id":"launchers","depth":2},{"value":"Output","id":"output","depth":2},{"value":"See also","id":"see-also","depth":2}],"frontmatter":{"seo":{"title":"tdx skill"}},"lastModified":"2026-10-26T03:15:29.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/treasure-code/commands/skill","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}