Favicon of Add Global Variable

Add Global Variable Skill

AI Agent SkillJavaScriptOpen source

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. Published by microsoft in skills-for-copilot-studio.

Decision snapshot

Is this a fit?

Best for

Developers using skills-for-copilot-studio, Includes SKILL.md, Reusable instructions

Works with

Compatibility not yet detected.

Access

Can write or update data, Write actions, Filesystem access

Setup

Copy skill directory

Project health

2 months ago · MIT license

Considerations

Confirm write permissions and scope before use. Access note: Local files.

What is Add Global Variable Skill?

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. Published by microsoft in skills-for-copilot-studio. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
63/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement. See how SkillIndex evaluates profiles.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using skills-for-copilot-studio

Declared skill metadata

  • Source file: skills/add-global-variable/SKILL.md

Allowed tools declared by source

ReadWriteGlobGrep

These fields retain source and confidence evidence from the indexed SKILL.md.

Compatibility and setup

Copy skill directory
  • Install or run with Copy skill directory
  • Local files

Requirements and access

Local files

Security and permissions

Review permissions before connecting any MCP server to an agent. Pay special attention to whether it can read local files, write data, call external services, or perform destructive actions.

Write actionsFilesystem accessCan write or update data

When to use Add Global Variable Skill

  • Use it for developers using skills-for-copilot-studio.

Built with

JavaScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/skills-for-copilot-studio
  • Skill file: skills/add-global-variable/SKILL.md

What it does

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.

Skill instructions

Add Global Variable Create a global variable that persists across all topics within a conversation. Instructions 1. Auto-discover the agent directory: Glob: /agent.mcs.yml Use the top-level agent. NEVER hardcode an agent name. 2. Read settings.mcs.yml to get the schemaName prefix: Read: <agent-dir/settings.mcs.yml Extract the root-level schemaName value (e.g., copilotsheadercre3cfullagent). 3. Determine from the user: - Variable name (PascalCase, e.g., LastDiscussedCity) - Description of what it stores - Whether the AI orchestrator should be aware of it (aIVisibility) - Default value (if any) - DO NOT skip any of these properties. If the user doesn't provide them, ask follow-up questions to get the necessary information. 4. Create the variable file at <agent-dir/variables/<VariableName.mcs.yml: yaml Name: <Human-readable Name <Description name: <VariableName aIVisibility: <UseInAIContext or HideFromAIContext scope: Conversation description: <Description of what the variable stores sche

Verified compatibility and discovery

Frequently asked questions

What is Add Global Variable?

Add Global Variable is a open-source AI agent skill with Copy skill directory. 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.

Who is Add Global Variable best for?

Add Global Variable is best for reusing agent instructions, scripts, and references.

How do I install Add Global Variable?

Install or run Add Global Variable using Copy skill directory. Check Add Global Variable for the latest setup command.

Is Add Global Variable actively maintained?

Add Global Variable may need a closer maintenance check before production use.

Share:

Stars
354
Forks
73
Last commit
2 months ago
Last verified
Aug 29, 2026
Metadata fetched
Aug 29, 2026
Repository age
8 months
License
MIT

Project health auto-fetched from the source repository.

Maintain this resource?

Review this source-backed profile, send a correction with evidence, or link to it from your documentation. Claims verify your relationship to the project; profile facts still require source evidence and editorial review.

Alternatives to Add Global Variable