ghtier
← All permissions
Repository permission·agent_variables:write

Agent variables: Write

Tier 2 · Medium

Why Tier 2

Changes variables in the Copilot agent's environment.

Target
Repository
Plane
DataAI agents: Copilot agent settings and Copilot Spaces.
Granted by
Fine-grained PAT, GitHub App
Available on
Free, Team, Enterprise Cloud, EMU

What it unlocks

3 REST endpoints need this permission. A few of them:

  • POST /repos/{owner}/{repo}/agents/variables
  • PATCH /repos/{owner}/{repo}/agents/variables/{name}
  • DELETE /repos/{owner}/{repo}/agents/variables/{name}

Roles that include it

No built-in role includes it. Only tokens, Apps or custom roles can grant it.

Classic scopes that reach it

Attack paths

No attack technique, escalation or incident on ghtier goes through this yet.

Other levels

GitHub Docs: Repository permissions for "Agent variables"