AKS-Lab-GitHubCopilot: Skill for Claude Code

.github/skills/a2a-loopback-tests/SKILL.md

a2a-loopback-tests is a skill for Claude Code, Codex from microsoft/AKS-Lab-GitHubCopilot. It costs 0 tokens per session (645 once invoked), scanned A, original, MIT.

A testing skill for checking several agents together without starting Docker containers. It uses in-memory web clients and fake chat responses to exercise the agents' service endpoints.

In plain words
What is it for?
Use it to test interactions between inventory, supplier, logistics, pricing, and orchestrator agents, including their HTTP services and multi-agent workflows.
Why use it?
It makes integration tests easier to run locally and avoids depending on the real SDK, bundled command-line tools, or container setup.

Skill for Claude CodeCodex ✓ vendor

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

This is microsoft/AKS-Lab-GitHubCopilot's own configuration. It tells Claude Code and Codex how to work on AKS-Lab-GitHubCopilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything AKS-Lab-GitHubCopilot configures →

About the project

ZavaShop on AKS and Azure Container Apps is a hands-on lab for delivering a multi-agent retail supply-chain application from requirements through deployment. It demonstrates a team of six GitHub Copilot custom coding agents working across specifications, application code, MCP servers, tests, infrastructure, and CI. The catalogue entries define the agents, skills, and instructions used in that workflow.

microsoft/AKS-Lab-GitHubCopilot · 10 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/AKS-Lab-GitHubCopilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/AKS-Lab-GitHubCopilot/main/.github/skills/a2a-loopback-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/AKS-Lab-GitHubCopilot

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 a2a-loopback-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests/github.svg)](https://agentmods.dev/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests)
Your own site
<a href="https://agentmods.dev/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests"><img src="https://agentmods.dev/badge/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests/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 a2a-loopback-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests"><img src="https://agentmods.dev/badge/skills/microsoft/aks-lab-githubcopilot/a2a-loopback-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 645 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.00000 $0.00645
Opus 5.5 $0.00000 $0.00258
Sonnet 5.5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

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

Security

Grade A, and why

a2a-loopback-tests 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 2mo 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/skills/a2a-loopback-tests/SKILL.md · 66 lines

How it starts

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

Skill: A2A Loopback Tests

Use this skill in test-author mode when writing integration tests that exercise multiple agents without Docker.

The fixture

# tests/integration/conftest.py
import httpx
import pytest
from httpx import ASGITransport
from agent_framework.testing import MockChatClient

from src.agents.inventory.server import app as inventory_app
from src.agents.supplier.server import app as supplier_app
# ...orchestrator etc.


@pytest.fixture
async def fleet(monkeypatch):
    # 1. Patch GitHubCopilotAgent at every agent's import site so the
    #    real SDK / bundled Node CLI never starts.
    fake = MockChatClient()  # exposes async .run(message) -> AgentResponse[None]
    for mod in (
        "src.agents.inventory.agent",
        "src.agents.supplier.agent",
        "src.agents.logistics.agent",
        "src.agents.pricing.agent",
        "src.agents.orchestrator.agent",
    ):
        monkeypatch.setattr(f"{mod}.GitHubCopilotAgent", lambda **_: fake)

    # 2. Mount each FastAPI app behind ASGITransport.
    clients = {
        "inventory": httpx.AsyncClient(transport=ASGITransport(app=inventory_app),
                                       base_url="http://inventory"),
        # ... etc
    }
    yield clients
    for c in clients.values():
        await c.aclose()

Rules

  1. Never import GitHubCopilotAgent directly in a test — always patch its import site so the real SDK / Node CLI never runs.
  2. Never start a real network server (no uvicorn.run). ASGITransport only.
  3. Do not patch MCPStreamableHTTPTool — it is not used in this repo. MCP wiring lives inside GitHubCopilotOptions(mcp_servers={...}); the agent is already mocked at step 1, so MCP is short-circuited automatically.
  4. Assert structure (response.json()["tool_calls"]) and keyword presence ("store-101" in response.json()["output"]). No exact string equality.
  5. Mark every test pytest.mark.asyncio (or rely on asyncio_mode = "auto" in pyproject.toml).

Read the full file on GitHub · 66 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. 2mo ago First seen · 66 lines · 0 tokens per session scan A a62e38630b79

Subscribe to this mod's changes

a2a-loopback-tests is a skill published in the GitHub repository microsoft/AKS-Lab-GitHubCopilot (10 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 645 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.

Related

a2a-loopback-tests compared with skills from other repositories

a2a-loopback-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
a2a-loopback-testsmicrosoft/AKS-Lab-GitHubCopilotSkill108d agoMITA0Claude Code, Codex
verify-omnigentomnigent-ai/omnigentSkill11kyesterdayApache-2.0A100Claude Code, Codex
test-masterJeffallan/claude-skillsSkill12k7d agoMITA104Claude Code
eval-dataset-designbojieli/ai-agent-bookSkill57k29d agoApache-2.0A138Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.3kyesterdayMITA55Claude Code
cua-driverdavidondrej/skillsSkill4.3k3d agoMITA68Claude Code, Codex
test-warp-uiwarpdotdev/warpSkill66kyesterdayAGPL-3.0A55Claude Code