Add a global variable to a Copilot Studio agent. Use when the user needs a variable that persists across topics in the same conversation and can optionally be visible to the AI orchestrator.
Install
npx skills add microsoft/skills-for-copilot-studio --skill add-global-variablenpx skills add microsoft/skills-for-copilot-studio --skill add-global-variable -a claude-code -gnpx skills add microsoft/skills-for-copilot-studio --skill add-global-variable -a codex -ggemini skills install https://github.com/microsoft/skills-for-copilot-studio.git --path skills/add-global-variablegh skill install microsoft/skills-for-copilot-studio add-global-variablegit clone --depth 1 https://github.com/microsoft/skills-for-copilot-studio /tmp/microsoft__skills-for-copilot-studio
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/microsoft__skills-for-copilot-studio/skills/add-global-variable ~/.claude/skills/add-global-variable # Claude Code
cp -R /tmp/microsoft__skills-for-copilot-studio/skills/add-global-variable ~/.agents/skills/add-global-variable # Codex, Cursor, Gemini CLI, Copilot, OpenCode