ape-context: Skill for Claude Code

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

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

A setup guide for connecting authenticated MCP servers, which are external services an agent can use through defined tools.

In plain words
What is it for?
Use it to configure environment variables, .env files, key vaults, system keychains, and MCP settings for authenticated servers.
Why use it?
It explains what credentials are needed, where to store them, how to configure them, and how to test the connection.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/suuus/ape-context/context-configure"><img src="https://agentmods.dev/badge/skills/suuus/ape-context/context-configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 485 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.00122 $0.00485
Opus 5.5 $0.00049 $0.00194
Sonnet 5.5 $0.00024 $0.00097
Haiku 4.5 $0.00012 $0.00049

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

Security

Grade B, and why

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

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

CONFIGURATION SKILL. Configure authentication for installed MCP servers by choosing safe credential storage, adding .mcp.json env references, and testing read-only connectivity. USE FOR: set up MCP credentials; fix broke
.github/skills/context-configure/SKILL.md · 28 lines

What it actually says

Configure auth only for MCP servers already present in .mcp.json.

Steps

  1. Read .mcp.json. If missing, report that no installed MCP servers can be configured and stop.
  2. Determine which servers need auth from known requirements, existing env placeholders, or vendor docs. Skip no-auth servers; if none remain, report that and stop.
  3. Explain needed credential names and token-source links when known; otherwise point to vendor docs.
  4. Ask with ask_user where to store credentials. Default to org policy when present; otherwise prefer shell env vars. If unavailable, ask for another option.
  5. Configure references only: export commands, gitignored .env placeholders, Key Vault/keychain commands, and .mcp.json entries like "JIRA_TOKEN": "${JIRA_TOKEN}".
  6. Test one lightweight read-only operation per configured server. On failure, report auth failed, ask whether to retry setup once or leave it for healthcheck, and do not mark it connected.
  7. Summarize configured, skipped, and failed servers. Standalone runs stop there. If context-wizard invoked this skill and its todo exists, mark it done and continue to context-healthcheck.

Examples

  • "Set up Jira MCP auth" -> ask storage, add env refs, test read-only.
  • "401 after setup" -> offer one retry or healthcheck handoff.

Error handling and safety

Never store or echo secrets. Before editing .env, confirm .gitignore excludes .env and .env.*; add those ignore rules first if missing.

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 · -26 lines · +105 tokens per session scan A → B 74a7affb8e9e
  2. 2mo ago First seen · 54 lines · 17 tokens per session scan A 492628bc5e0f

Subscribe to this mod's changes

context-configure is a skill published in the GitHub repository suuus/ape-context (2 stars, last pushed 1mo ago), licensed MIT. It adds 122 tokens to every session and 485 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads mcp configuration). 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