ape-context: Skill for Claude Code

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

context-install is a skill for Claude Code, Codex from suuus/ape-context. It costs 97 tokens per session (372 once invoked), scanned A, original, MIT.

A setup skill that adds approved MCP server settings to the project's .mcp.json configuration file.

In plain words
What is it for?
Use it when setting up approved local MCP servers, including their commands, environment variables, and available tools.
Why use it?
It preserves existing server settings and creates the required configuration format without installing packages immediately.

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-install/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-install

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/suuus/ape-context/context-install"><img src="https://agentmods.dev/badge/skills/suuus/ape-context/context-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 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.00097 $0.00372
Opus 5.5 $0.00039 $0.00149
Sonnet 5.5 $0.00019 $0.00074
Haiku 4.5 $0.00010 $0.00037

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

Security

Grade A, and why

context-install 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 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.

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/context-install/SKILL.md · 29 lines

What it actually says

Write config only; never run packages.

Inputs

Read discovered_servers, scoping_decisions, and unresolved_tools from session_state or conversation context.

Steps

  1. Read existing .mcp.json; create only if absent. Malformed JSON -> report parse error and ask before overwriting.
  2. Preserve every existing mcpServers entry.
  3. Add only approved recommended servers; skip installed, blocked, needs_confirmation, and unresolved_tools.
  4. Every entry must include type:"local" and tools.
  5. Scope from scoping_decisions: read-write -> ["*"]; read-only -> known get/list/search allowlist, else warn and use discovered scope.
  6. Write merged .mcp.json and report added, skipped, preserved, and failed servers.

Errors and mode

No approved server list -> stop and tell user to run context-discover/context-review. Wizard may mark ctx-install done after a successful write.

Safety

Do not run npm, npx, auth flows, healthchecks, commits, or pushes.

Files

What ships with it

4 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 · -42 lines · +85 tokens per session 7cac4b94e5bd
  2. 2mo ago First seen · 71 lines · 12 tokens per session scan A 7807cea8056c

Subscribe to this mod's changes

context-install is a skill published in the GitHub repository suuus/ape-context (2 stars, last pushed 1mo ago), licensed MIT. It adds 97 tokens to every session and 372 once invoked, about $0.0004 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-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