caozhiyuan/copilot-api is a local AI gateway that exposes OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages interfaces for multiple providers. It lets clients such as Claude Code, OpenCode, and Codex connect through one endpoint to GitHub Copilot, the built-in Codex provider, and other configured services.
Borrowing it
Nothing to install: this file belongs to caozhiyuan/copilot-api. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/caozhiyuan/copilot-api/dev/.agents/skills/desktop-screenshots/SKILL.mdgit clone --depth 1 https://github.com/caozhiyuan/copilot-apiWrote 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.
[](https://agentmods.dev/skills/caozhiyuan/copilot-api/desktop-screenshots)<a href="https://agentmods.dev/skills/caozhiyuan/copilot-api/desktop-screenshots"><img src="https://agentmods.dev/badge/skills/caozhiyuan/copilot-api/desktop-screenshots/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.
<a href="https://agentmods.dev/skills/caozhiyuan/copilot-api/desktop-screenshots"><img src="https://agentmods.dev/badge/skills/caozhiyuan/copilot-api/desktop-screenshots.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00629 |
| Opus 5.5 | $0.00017 | $0.00252 |
| Sonnet 5.5 | $0.00009 | $0.00126 |
| Haiku 4.5 | $0.00004 | $0.00063 |
Grade A, and why
desktop-screenshots 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.
How it starts
The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Desktop Screenshots
Use the running Desktop app, its live gateway data, and its saved settings. Inspect the existing PNGs and their documentation references to identify the requested views and match their framing. The current desktop set uses a 1366 × 720 viewport.
Capture
- Identify the running Copilot API Desktop window and use the session's supported window capture controls. On macOS, use native window capture when the system title controls should appear. On Windows, use Computer Use when its JavaScript runtime is available.
- Open each requested view and wait for its data to load. Capture the application window. Use the same period on Dashboard and Token usage when comparing their totals. Keep the current language and theme unless the user requests a different presentation.
- Capture API Keys with the actual key entries, statuses, quotas, and expiry dates. Mask the entire secret, including any visible prefix and suffix, in the final PNG. Apply the same check to the Dashboard auth header. Keep credentials and private identifying details out of the saved images.
- When direct window capture is unavailable, use the installed Desktop renderer with data from the running gateway. Follow Capturing from the live gateway for the data sources and isolated renderer setup. If a requested state cannot be recovered, report the specific limitation. Capture the real empty state whenever the current app has no entries.
For a full refresh, use these paths relative to docs/screenshots/. Keep the existing names of supported views so documentation links continue to work.
| View | Screenshot |
|---|---|
| Dashboard | desktop-dashboard.png |
| Token usage | desktop-token-usage.png |
| Providers | provider-management.png |
| API Keys | desktop-api-keys.png |
| Client integrations | desktop-client-integrations.png |
| Create | desktop-create.png |
| Advanced configuration | desktop-config-editor.png |
| Advanced configuration conflict | desktop-config-editor-conflict.png |
| Settings, Startup, Server runtime | desktop-server-runtime.png |
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.
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.
- yesterday First seen · 39 lines · 43 tokens per session scan A 116b61ba3e18
desktop-screenshots is a skill published in the GitHub repository caozhiyuan/copilot-api (1,136 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 629 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-29.
desktop-screenshots compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| desktop-screenshotscaozhiyuan/copilot-api | Skill | 1.1k | yesterday | MIT | A | 43 | Claude Code, Codex |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 34 | Claude Code |
| agent-reelssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 31 | Claude Code |
| langfusesickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 57 | Claude Code |
| accesslint-scansickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 32 | Claude Code |
| hig-components-layoutsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 15 | Claude Code |
| hig-components-systemsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 41 | Claude Code |