kb-github-shared-instructions

kb-github-shared-instructions is a skill for Claude Code, Codex from Community-Access/accessibility-agents. It costs 29 tokens per session (5,651 once invoked), scanned A, original, MIT.

A shared instruction set for GitHub-related coding agents. It defines how they identify the signed-in user, infer a likely repository, handle authentication, and use sensible search defaults.

In plain words
What is it for?
It helps agents search a user's repositories, choose a default repository, and explain how to sign in when authentication fails.
Why use it?
It keeps related agents consistent and reduces repeated questions about accounts, repositories, and common GitHub searches.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present.

Part of the accessibility-agents plugin — 108 skills, 6 hooks shipped together

Good fit It helps agents search a user's repositories, choose a default repository, and explain how to sign in when authentication fails.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/community-access/accessibility-agents/kb-github-shared-instructions
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 Community-Access/accessibility-agents --skill kb-github-shared-instructions
Clone the repo
git clone --depth 1 https://github.com/Community-Access/accessibility-agents

Made for: Claude Code, Codex.

Or install accessibility-agents, the plugin that ships this one along with the rest of its 108 skills, 6 hooks.

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 kb-github-shared-instructions

README.md
[![agentmods](https://agentmods.dev/badge/skills/community-access/accessibility-agents/kb-github-shared-instructions/github.svg)](https://agentmods.dev/skills/community-access/accessibility-agents/kb-github-shared-instructions)
Your own site
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/kb-github-shared-instructions"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/kb-github-shared-instructions/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 kb-github-shared-instructions

Your own site · 80×15
<a href="https://agentmods.dev/skills/community-access/accessibility-agents/kb-github-shared-instructions"><img src="https://agentmods.dev/badge/skills/community-access/accessibility-agents/kb-github-shared-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,651 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.00029 $0.05651
Opus 5.5 $0.00012 $0.02260
Sonnet 5.5 $0.00006 $0.01130
Haiku 4.5 $0.00003 $0.00565

Measured 1mo ago against content hash 86d4482554f2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

kb-github-shared-instructions 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 1mo ago.

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.

skills/kb-github-shared-instructions/SKILL.md · 457 lines

How it starts

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

Shared Agent Instructions

These instructions are common to all GitHub-related agents in this workspace. Every agent MUST follow these rules.

Persona & Tone

You are a senior engineering teammate - sharp, efficient, and proactive. You don't just answer questions; you anticipate follow-ups, surface what matters, and save the user time at every turn. Be direct, skip filler, and lead with the most important information.

Authentication & Workspace Context

  1. Always start by calling #tool:mcp_github_github_get_me to identify the authenticated user.
  2. Cache the username for the entire session - never re-call unless explicitly asked.
  3. Immediately detect the workspace context: look at the current working directory, any .git/config or package.json to infer the likely "home" repository. Use this as a smart default when no repo is specified.
  4. If authentication fails, give a one-line fix:

    Run GitHub: Sign In from the Command Palette (Ctrl+Shift+P) or click the Accounts icon.

Smart Defaults & Inference

Be opinionated. Reduce friction. Ask only when you truly must.

  • If the user says "my issues" without a repo --> search across ALL their repos.
  • If the user says "this repo" or doesn't specify --> infer from workspace context.
  • If a date range isn't specified --> default to last 30 days and mention it: "Showing last 30 days. Want a different range?"
  • If a PR number is given without a repo --> try the workspace repo first.
  • If a search returns 0 results --> automatically broaden (remove date filter or expand scope) and tell the user what you did.
  • If a search returns >50 results --> automatically narrow by most recent and suggest filters.

Repository Discovery & Scope

Agents search across all repos the user has access to by default. This is the core principle: nothing should be invisible just because the user didn't explicitly name a repo.

How Discovery Works

  1. Load preferences from .github/agents/preferences.md -- check repos.discovery for the configured mode.
  2. If no preferences exist or repos.discovery is not set --> default to all (search everything the user can access).
  3. Apply include/exclude lists -- always include repos from repos.include, always skip repos from repos.exclude.
  4. Apply per-repo overrides -- when preferences define repos.overrides for a specific repo, respect the track settings (issues, PRs, discussions, releases, security, CI) and label/path filters.
  5. Apply defaults -- for repos not in overrides, use repos.defaults settings.

Read the full file on GitHub · 457 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 457 lines · 29 tokens per session scan A 86d4482554f2

Subscribe to this mod's changes

kb-github-shared-instructions is a skill published in the GitHub repository Community-Access/accessibility-agents (428 stars, last pushed 1mo ago), licensed MIT. It adds 29 tokens to every session and 5,651 once invoked, about $0.0001 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-09-23.

Related

Other skills, from other repositories

Accessibility Auditor

Comprehensive WCAG 2.1 AA compliance testing combining automated axe-core scans with manual keyboard navigation, screen reader compatibility, and focus management verification.

PramodDutta/qaskills · 32 tokens

accessibility

Use when making a web UI conform to WCAG 2.2 Level AA — axe-core or Lighthouse a11y violations, keyboard operability, focus management, ARIA roles/names/live regions, contrast, tap-target size. NOT palette or visual intent (that is design), NOT test-runner setup (that is testing-web), NOT LCP/page-speed (that is…

ericrisco/rsc-harness · 86 tokens

Accessibility A11y Enhanced

Comprehensive WCAG compliance and accessibility testing covering ARIA, keyboard navigation, screen readers, color contrast, and automated a11y validation.

PramodDutta/qaskills · 34 tokens

accessibility-commerce

Make your store usable by everyone with WCAG 2.1 AA compliance — screen reader support, keyboard navigation, and accessible cart and checkout flows.

finsilabs/awesome-ecommerce-skills · 33 tokens

accessibility-expert

Build interfaces usable by everyone: WCAG 2.2 conformance, semantic HTML, ARIA, keyboard navigation, screen readers and accessible forms. Use when the user mentions accessibility, a11y, WCAG, ARIA, screen readers, keyboard navigation, colour contrast, focus management, the European Accessibility Act or Section 508, or…

personamanagmentlayer/pcl · 98 tokens

monochrome

Build accessible UI with monochrome, the framework-agnostic UI library for agents. Use whenever a project depends on monochrome or has ids starting with mct:, mcc:, or mcr:, and whenever you write or fix an accordion, collapsible, dialog or modal, dropdown or context menu, menubar, popover, tabs, or tooltip in HTML…

vaneenige/monochrome-ui · 97 tokens