account-and-team-context

account-and-team-context is a skill for Claude Code, Codex from github/github-mcp-server. It costs 54 tokens per session (1,184 once invoked), scanned A, original, MIT.

A workflow for identifying the authenticated GitHub account, its organisation and team memberships, and its repository access. It distinguishes people who have direct or organisation-based permission to collaborate.

In plain words
What is it for?
It is for finding the current user, checking team membership, listing team members, and checking who can access a repository.
Why use it?
It prevents actions from being based on the wrong account or assumed permissions. Knowing who is authenticated and what they can access is important before repository work.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit It is for finding the current user, checking team membership, listing team members, and checking who can access a repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/github/github-mcp-server/account-and-team-context
About the project

GitHub MCP Server is GitHub's official Model Context Protocol server, which lets AI tools interact with GitHub repositories and development data. It is used to browse code, manage issues and pull requests, inspect automation runs, review security findings, and support other repository workflows through natural-language requests. The catalogue add-ons connect coding agents to these GitHub capabilities.

github/github-mcp-server · 34,473 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add github/github-mcp-server --skill account-and-team-context
Clone the repo
git clone --depth 1 https://github.com/github/github-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for account-and-team-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/github/github-mcp-server/account-and-team-context/github.svg)](https://agentmods.dev/skills/github/github-mcp-server/account-and-team-context)
Your own site
<a href="https://agentmods.dev/skills/github/github-mcp-server/account-and-team-context"><img src="https://agentmods.dev/badge/skills/github/github-mcp-server/account-and-team-context/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for account-and-team-context

Your own site · 80×15
<a href="https://agentmods.dev/skills/github/github-mcp-server/account-and-team-context"><img src="https://agentmods.dev/badge/skills/github/github-mcp-server/account-and-team-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01184
Opus 5.5 $0.00022 $0.00474
Sonnet 5.5 $0.00011 $0.00237
Haiku 4.5 $0.00005 $0.00118

Measured yesterday against content hash e6ec31546ed9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

account-and-team-context scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/skills/catalog/skills/account-and-team-context/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Establishing whose account this is and what it reaches

Answer two questions before anything that depends on identity: who is acting, and what that account can actually see or change.

Sequence

  1. Resolve the acting account. get_me returns the authenticated user. Its login is the value every later question is asked in terms of — "my pull requests", "issues assigned to me", "repositories I can push to" all mean that login.
  2. Resolve organisation membership with get_teams. Called with no argument it returns the teams the authenticated account belongs to; pass user to ask the same about someone else, which only works for organisations the current credentials can already see.
  3. Expand a team into people with get_team_members, using the organisation as org and the team's team_slug. The slug is the hyphenated form from the team's address, not its display name.
  4. Establish repository access with list_repository_collaborators. Use affiliation to separate the populations: direct for people granted access on the repository itself, outside for collaborators who are not organisation members, and all for the combined view. The distinction matters because all includes people whose access comes from a team, who are invisible under direct.
  5. Resolve a name to an account with search_users when you have a person and need their login. Qualify the query — a bare personal name matches widely.
  6. Say what you established, and what you could not. An account's view of GitHub is bounded by its credentials, and a report that does not say so reads as complete.

Decision points

  • "Me" is not a guess. Any request phrased in the first person — my issues, my reviews, repositories I maintain — depends on login. Resolve it rather than inferring it from a repository owner or from earlier conversation.
  • Membership is not permission. Being on a team says nothing on its own about a given repository; the team may have no grant there. Check access where access matters.
  • Absence is ambiguous. A team or organisation missing from get_teams may not exist, or may simply be invisible to these credentials. Both are limited to organisations the current credentials reach, and neither can tell you which case you are in.
  • Names are not identities. Display names collide and change; login does not. When a request names a person, resolve to a login before acting on it, and say which account you resolved to.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 90 lines · 54 tokens per session scan A e6ec31546ed9

Subscribe to this mod's changes

account-and-team-context is a skill published in the GitHub repository github/github-mcp-server (34,473 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 1,184 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-14.

Related

account-and-team-context compared with skills from other repositories

account-and-team-context next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
account-and-team-contextgithub/github-mcp-serverSkill34kyesterdayMITA54Claude Code, Codex
issue-managementsaidsef/mcp-github-pr-issue-analyserSkill6yesterdayApache-2.0A27Claude Code, Codex
release-managementsaidsef/mcp-github-pr-issue-analyserSkill6yesterdayApache-2.0A22Claude Code, Codex
pr-analysissaidsef/mcp-github-pr-issue-analyserSkill6yesterdayApache-2.0A18Claude Code, Codex
pr-managementsaidsef/mcp-github-pr-issue-analyserSkill6yesterdayApache-2.0C25Claude Code, Codex
gist-managementofershap/mcp-server-github-gistSkill28mo agoMITA34Claude Code, Codex
github-pr-workflowpaperclipai/paperclipSkill114ktodayMITA39Claude Code, Codex