code-context

code-context is a skill for Claude Code from arch3rPro/ark-space. It costs 24 tokens per session (150 once invoked), scanned A, original, MIT.

A research tool for finding implementation-focused code examples, API syntax, framework setup details, and library usage information. It supplements inspection of the code in your own project.

In plain words
What is it for?
Use it when adding or changing code that depends on an API, framework, or library, and when you need cited examples or source links.
Why use it?
It reduces the time spent searching for relevant technical examples and helps ground implementation decisions in external sources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the arkspace plugin — 18 skills, 11 agents shipped together

Good fit Use it when adding or changing code that depends on an API, framework, or library, and when you need cited examples or source links.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/arch3rpro/ark-space/code-context
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add arch3rPro/ark-space --skill code-context
Clone the repo
git clone --depth 1 https://github.com/arch3rPro/ark-space

Made for: Claude Code.

Or install arkspace, the plugin that ships this one along with the rest of its 18 skills, 11 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arch3rpro/ark-space/code-context"><img src="https://agentmods.dev/badge/skills/arch3rpro/ark-space/code-context.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 150 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.00024 $0.00150
Opus 5.5 $0.00010 $0.00060
Sonnet 5.5 $0.00005 $0.00030
Haiku 4.5 $0.00002 $0.00015

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/exa_context.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ark-space/skills/code-context/SKILL.md · 19 lines

What it actually says

Code Context

Retrieve implementation-oriented context through the configured provider selected by registry/code-context-providers.yaml. Accept a technical query, token budget, timeout, and output controls. Report the actual provider and citations or source URLs when supplied.

Use local repository evidence first. This skill supplements, never replaces, inspection of the code being changed.

Run

python3 <installed-arkspace-path>/scripts/arkspace.py code context --provider exa "React hooks state management examples" --output json

For setup or a failed provider check, use provider-manager.

Files

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.

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 First seen · 19 lines · 24 tokens per session scan A cd56082097e3

Subscribe to this mod's changes

code-context is a skill published in the GitHub repository arch3rPro/ark-space (2 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 150 once invoked, about $0.0001 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

invest

First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history). The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools. The backend…

longsizhuo/openInvest · 261 tokens

invest-setup

A first-time setup workflow for openInvest, a system for tracking investments and running portfolio analysis.

longsizhuo/openInvest · 105 tokens

okf-frontmatter

Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs. (1) Teach agents to maintain docs the OKF way — every doc carries a small YAML frontmatter block as the single source of truth (type, title, tags, intent, schemasource, documents); schema details link…

longsizhuo/openInvest · 243 tokens

invest-backup

Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs) + db/ (trade ledger, job run history, market-data cache) + .env (SMTP/API credentials) + userprofile.json. All of this data is .gitignore'd with no historical versions in git, so a single accidental…

longsizhuo/openInvest · 202 tokens

yield-xyz-agentkit-builder

Build applications that integrate with the Yield.xyz APIs — staking, lending, vaults, and RWA across 80+ networks. Generates code covering REST API integration, transaction signing, wallet connection, and fee monetization. Use when user wants to build an app, integrate yield, generate code, or set up a project using…

stakekit/agentkit · 75 tokens

yield-xyz-agentkit-privy

The Privy connector for the Yield.xyz AgentKit — signs and broadcasts via Privy agentic wallets. Extends the yield-xyz-agentkit skill — that skill discovers yields and builds the unsigned transactions; this one adds Privy wallet creation, policy enforcement, signing, and broadcasting, in autonomous and semi-autonomous…

stakekit/agentkit · 124 tokens