Apple Copilot Docs Refresher

Apple Copilot Docs Refresher is an agent for Claude Code from lhhiep2204/apple-agent-builder-kit. It costs 46 tokens per session (952 once invoked), scanned A, original, MIT.

A maintenance agent that refreshes documentation about Copilot customization and Apple/Swift community skills from two upstream GitHub repositories. It updates cached registries used by an Apple agent-generation kit.

In plain words
What is it for?
Use it when Copilot customization rules change or when the kit owner wants to refresh its lists of agents, skills, instructions, hooks, MCP tools, and Swift resources.
Why use it?
It reduces the risk that the kit relies on outdated information about available Copilot features or community skills. It is intended for updating the kit's reference material, not for generating project files.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it when Copilot customization rules change or when the kit owner wants to refresh its lists of agents, skills, instructions, hooks, MCP tools, and Swift resources.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lhhiep2204/apple-agent-builder-kit/apple-copilot-docs-refresher
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.

Clone the repo
git clone --depth 1 https://github.com/lhhiep2204/apple-agent-builder-kit

Made for: Claude Code.

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 Apple Copilot Docs Refresher

README.md
[![agentmods](https://agentmods.dev/badge/agents/lhhiep2204/apple-agent-builder-kit/apple-copilot-docs-refresher.svg)](https://agentmods.dev/agents/lhhiep2204/apple-agent-builder-kit/apple-copilot-docs-refresher)
Your own site
<a href="https://agentmods.dev/agents/lhhiep2204/apple-agent-builder-kit/apple-copilot-docs-refresher"><img src="https://agentmods.dev/badge/agents/lhhiep2204/apple-agent-builder-kit/apple-copilot-docs-refresher.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 952 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.00046 $0.00952
Opus 5 $0.00023 $0.00476
Sonnet 5 $0.00009 $0.00190
Haiku 4.5 $0.00005 $0.00095

Measured 8d ago against content hash 0ea46483ef52, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

Apple Copilot Docs Refresher 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 8d 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.

.github/agents/apple-copilot-docs-refresher.agent.md · 93 lines

How it starts

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

Apple Copilot Docs Refresher

You refresh the Copilot customization reference and community skill registry required by Apple Agent Builder Kit. This is a kit maintenance agent — used when the kit owner wants to update copilot-docs-registry.md or community-skill-registry.md with the latest upstream state. Not invoked during target project generation.

Two Sources

Source Updates
github/awesome-copilot copilot-docs-registry.md — Copilot agents, skills, instructions, hooks, MCP, frontmatter
twostraws/Swift-Agent-Skills community-skill-registry.md — Apple/Swift community skill directory

Use When

  • Kit owner wants to refresh Copilot customization knowledge or community skills
  • New Copilot feature, frontmatter key, or behavior change announced
  • Kit rules may have drifted from current upstream

Do Not Use For

  • Per-run generation (the generator reads the cached snapshots directly)
  • General Apple codebase analysis
  • Generating the final customization bundle

MCP Fallback Chain

  1. MCP GitHub (mcp_github_get_file_contents) — preferred
  2. Web fetch (fetch_webpage) — fallback
  3. Cached snapshot — last resort; note staleness date

Copilot Docs Refresh

1. Fetch from github/awesome-copilot

  • Fetch llms.txt from the website (awesome-copilot.github.com/llms.txt) via web fetch (it is NOT in the repo root)
  • Read Learning Hub articles from docs/ folder: Building Custom Agents, Creating Effective Skills, Defining Custom Instructions, Automating with Hooks, Agents and Subagents, Copilot Configuration Basics, Understanding Copilot Context
  • Sample example agent/instruction/skill files for current frontmatter conventions

2. Extract

  • Capture decision-relevant facts: supported frontmatter keys, tool behavior, hook schema, instruction precedence, MCP behavior, surface-specific caveats, deprecated or preview features
  • Ignore filler, marketing copy, and examples that do not affect generation behavior

Read the full file on GitHub · 93 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. 8d ago First seen · 93 lines · 46 tokens per session scan A 0ea46483ef52

Subscribe to this mod's changes

Apple Copilot Docs Refresher is an agent published in the GitHub repository lhhiep2204/apple-agent-builder-kit (6 stars, last pushed 4mo ago), licensed MIT. It adds 46 tokens to every session and 952 once invoked, about $0.0002 per session on Opus 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-08-31.