ape-context: Skill for Claude Code

.github/skills/context-discover/SKILL.md

context-discover is a skill for Claude Code, Codex from suuus/ape-context. It costs 88 tokens per session (459 once invoked), scanned B, original, MIT.

A skill that finds suitable MCP servers, which connect a coding assistant to external tools and services, for the technologies in a project.

In plain words
What is it for?
It is for checking existing configuration, finding integrations for uncovered tools, and comparing read-only access with integrations that can make changes.
Why use it?
It avoids adding duplicate integrations and helps match each tool category with an appropriate server and access level.

Skill for Claude CodeCodex

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

This is suuus/ape-context's own configuration. It tells Claude Code and Codex how to work on ape-context 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 ape-context configures →

Reuse

Borrowing it

Nothing to install: this file belongs to suuus/ape-context. 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/suuus/ape-context/main/.github/skills/context-discover/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/suuus/ape-context

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 context-discover

README.md
[![agentmods](https://agentmods.dev/badge/skills/suuus/ape-context/context-discover/github.svg)](https://agentmods.dev/skills/suuus/ape-context/context-discover)
Your own site
<a href="https://agentmods.dev/skills/suuus/ape-context/context-discover"><img src="https://agentmods.dev/badge/skills/suuus/ape-context/context-discover/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 context-discover

Your own site · 80×15
<a href="https://agentmods.dev/skills/suuus/ape-context/context-discover"><img src="https://agentmods.dev/badge/skills/suuus/ape-context/context-discover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 459 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00088 $0.00459
Opus 5.5 $0.00035 $0.00184
Sonnet 5.5 $0.00018 $0.00092
Haiku 4.5 $0.00009 $0.00046

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

Security

Grade B, and why

context-discover scanned grade B with 1 finding 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

5. Scope recommended servers only: `read-write` -> `tools:["*"]`; `read-only` -> known get/list/search allowlist, else note manual restriction.
.github/skills/context-discover/SKILL.md · 29 lines

What it actually says

Inputs

detected_stack comes from context-detect. If absent, quick-scan only manifests, workflows, .mcp.json, and cloud files.

Steps

  1. Read .mcp.json first. Preserve installed servers. Known coverage: GitHub, M365 read (workiq), browser, Atlassian, Datadog, Azure. Verify uncertain coverage; never duplicate.
  2. Batch-confirm tools with ask_user; if headless, use detected defaults and mark needs_confirmation.
  3. For gaps, search trust order: official/GitHub 🐙, org catalog 🏢, vendor docs 🔰, community 👥. Org catalog supplies approved/blocked lists; prefer approved and exclude blocked.
  4. If installed read-only coverage exists but writes are needed, ask whether to add a write-capable server; otherwise reuse it.
  5. Scope recommended servers only: read-write -> tools:["*"]; read-only -> known get/list/search allowlist, else note manual restriction.

Output

Report installed, recommended, and unresolved items. Persist discovered_servers[] with name,badge,scope,category,install_cmd,status; scoping_decisions{server:read-only|read-write}; unresolved_tools[].

Errors and mode

No org catalog -> use public/vendor sources. Unreachable source -> try next. No match or only blocked servers -> unresolved. SQL failure -> state unsaved. Wizard may mark ctx-discover done; standalone only reports.

Safety

Do not install, configure auth, or edit .mcp.json.

Files

What ships with it

6 files 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 Changed · -98 lines · +58 tokens per session scan A → B 081aa8f7cee3
  2. 2mo ago First seen · 127 lines · 30 tokens per session scan A d3918d67f498

Subscribe to this mod's changes

context-discover is a skill published in the GitHub repository suuus/ape-context (2 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 459 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

playwright-cli

Automate browser interactions, test web pages and work with Playwright tests.

microsoft/playwright · 19 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens