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.
npx agentmods add skills/microsoft/aks-lab-githubcopilot/maf-agent-skeletonnpx skills add microsoft/AKS-Lab-GitHubCopilot --skill maf-agent-skeletongit clone --depth 1 https://github.com/microsoft/AKS-Lab-GitHubCopilotWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.01078 |
| Opus 5 | $0.00000 | $0.00539 |
| Sonnet 5 | $0.00000 | $0.00216 |
| Haiku 4.5 | $0.00000 | $0.00108 |
Grade A, and why
maf-agent-skeleton 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: MAF Agent Skeleton
Use this skill when generating any specialist agent under src/agents/<name>/.
Reference layout
src/agents/<name>/
├── __init__.py
├── prompts.py
├── tools.py
├── agent.py
├── server.py
├── Dockerfile
└── tests/__init__.py
agent.py template (specialist with MCP)
from __future__ import annotations
from dataclasses import dataclass
from agent_framework import AgentResponse
from agent_framework.github import GitHubCopilotAgent, GitHubCopilotOptions
from copilot.generated.rpc import PermissionDecisionApproveOnce
from copilot.session import PermissionRequestResult
from src.shared.copilot import build_copilot_client
from src.shared.settings import Settings
from .prompts import SYSTEM_PROMPT
from .tools import TOOLS # usually empty: list[FunctionTool] = []
def _approve_all(_req: object, _ctx: dict[str, str]) -> PermissionRequestResult:
return PermissionDecisionApproveOnce()
@dataclass(frozen=True)
class _RunnableAgent:
"""Adapter satisfying the shared `make_app` `_Runnable` protocol."""
agent: GitHubCopilotAgent
async def run(self, message: str, /) -> AgentResponse[None]:
return await self.agent.run(message)
async def build_agent(settings: Settings) -> _RunnableAgent:
agent = GitHubCopilotAgent(
instructions=SYSTEM_PROMPT,
client=build_copilot_client(),
name="<name>",
description="ZavaShop <name> specialist (...).",
tools=list(TOOLS),
default_options=GitHubCopilotOptions(
model=settings.copilot_model,
timeout=settings.copilot_timeout_seconds,
on_permission_request=_approve_all,
mcp_servers={
"<key>": {
"type": "http",
"url": settings.<which>_mcp_url,
"tools": ["*"],
"timeout": int(settings.copilot_timeout_seconds * 1000),
},
},
),
)
return _RunnableAgent(agent=agent)
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.
- 2d ago First seen · 126 lines · 0 tokens per session scan A 8b3b9db672ae
maf-agent-skeleton is a skill published in the GitHub repository microsoft/AKS-Lab-GitHubCopilot (7 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,078 tokens. 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.
Other skills, from other repositories
mcporter
List, auth, and call MCP servers/tools from the terminal.
agent-messaging
Send and receive cryptographically signed messages between AI agents using the Agent Messaging Protocol (AMP). Use when the user asks to "send a message to an agent", "check agent inbox", "message another agent", "reply to a message", "notify an agent", or any inter-agent communication task.
kagent-dev
Development guide for kagent's v1alpha3 Harness and AgentTemplate CRDs, AgentInstance gRPC control plane, upstream A2A integration, Substrate runtime provisioning, tests, generation, and PR workflow. Use for any implementation, debugging, review, or CI task in the kagent repository.
workflows
Execute a workflow script that orchestrates multiple subagents deterministically. Use when the user explicitly requests a workflow, multi-agent orchestration, parallel or sequential agent pipelines, structured agent outputs, or a durable background workflow run.
📝 任务完成后归档
重要提醒: 每次完成复杂调试或开发任务后,主动执行此流程! 将学到的经验归档为 skill,供以后参考。不要等用户提醒。.
oracle
Best practices for using the oracle CLI (prompt + file bundling, engines, sessions, and file attachment patterns).