Convert existing Hugging Face Transformers Trainer or TRL SFTTrainer training code into an NVFLARE federated job using flare.patch(trainer), local validation, and job export; use when the user names Hugging Face or preliminary source inspection identifies one Hugging Face owner, and not for manual PyTorch loops, Lightning, inference-only pipelines, deployment, or experiment workflows.
Install
npx skills add NVIDIA/skills --skill nvflare-convert-huggingfacenpx skills add NVIDIA/skills --skill nvflare-convert-huggingface -a claude-code -gnpx skills add NVIDIA/skills --skill nvflare-convert-huggingface -a codex -ggemini skills install https://github.com/NVIDIA/skills.git --path skills/nvflare-convert-huggingfacegh skill install NVIDIA/skills nvflare-convert-huggingfacegit clone --depth 1 https://github.com/NVIDIA/skills /tmp/NVIDIA__skills
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/NVIDIA__skills/skills/nvflare-convert-huggingface ~/.claude/skills/nvflare-convert-huggingface # Claude Code
cp -R /tmp/NVIDIA__skills/skills/nvflare-convert-huggingface ~/.agents/skills/nvflare-convert-huggingface # Codex, Cursor, Gemini CLI, Copilot, OpenCode