inspect-ai-context

inspect-ai-context is a skill for Claude Code, Codex from nick-railsback/skill-engine. It costs 31 tokens per session (3,237 once invoked), scanned A, original, MIT.

A context navigator that answers questions using a configured collection of reference sources. It loads detailed documents only when a relevant topic is found.

In plain words
What is it for?
Use it to locate source-specific guidance, read the matching reference, and answer questions that span one or more configured information sources.
Why use it?
It reduces the need to search every reference manually and requires important claims to be supported by links to exact source lines.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nick-railsback/skill-engine/inspect-ai-context
Any agent
npx skills add nick-railsback/skill-engine --skill inspect-ai-context
Clone the repo
git clone --depth 1 https://github.com/nick-railsback/skill-engine

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 inspect-ai-context

README.md
[![agentmods](https://agentmods.dev/badge/skills/nick-railsback/skill-engine/inspect-ai-context.svg)](https://agentmods.dev/skills/nick-railsback/skill-engine/inspect-ai-context)
Your own site
<a href="https://agentmods.dev/skills/nick-railsback/skill-engine/inspect-ai-context"><img src="https://agentmods.dev/badge/skills/nick-railsback/skill-engine/inspect-ai-context.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00031 $0.03237
Opus 5 $0.00015 $0.01618
Sonnet 5 $0.00006 $0.00647
Haiku 4.5 $0.00003 $0.00324

Measured 5d ago against content hash 3878e566208c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

inspect-ai-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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (verify.sh), 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.

examples/inspect-ai-context/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Context navigator (multi-source)

Overview

This navigator catalogs references for multiple sources the engine has been pointed at. Each source's references are catalogued in their own ## Catalog: <source-slug> section below; references live in references/<source-slug>-<topic>.md so the filename prefix discriminates sources at-a-glance.

The navigator's standing instructions stay small; references load only when relevant to the current question. The catalog itself is a TOC and is excluded from the standing-instructions budget, so additional sources and rows can be added without trimming prose.

When asked a question:

  1. Identify which source the question is about — see "How to search this navigator" below.
  2. Scan that source's Catalog section for the matching topic.
  3. Follow the link to read the reference file.
  4. If the question spans multiple sources, consult the Cross-source map.

Claims policy

Cite by default, and make load-bearing claims verifiable:

  1. Inline-cite every load-bearing claim with its SHA-pinned permalink — the https://github.com/<owner>/<repo>/blob/<sha>/<path>#L<start>-L<end> link the reference gives for that fact (versions, defaults, signatures, deprecations, behavior a user could get wrong by guessing). Put the permalink inline, on the claim. Use a bare filename parenthetical (e.g. (<source-slug>-<topic>.md)) only when the reference genuinely provides no permalink. This inline permalink is what the grounded-citation eval (SELF-AUDIT Check 8) grades.
  2. Don't cite orientational prose — "what is X?", "when did X launch?" — answer those from this navigator alone; opening a reference is itself a citation gesture.
  3. End with a one-line provenance footer, emitted italic, formatted *References consulted: foo.md, bar.md. Grounded in {{LIBRARY}}@{{VERSION}} — [reference index]({{INDEX_URL}}).* The footer is a summary of what you read — not a substitute for the inline permalinks on the claims. Tokens are agent-substituted at answer time (they appear literally in the stamped SKILL.md); across multiple sources, {{LIBRARY}} resolves to the source slug(s) the answer drew from, or every registered slug when no reference was opened.
  4. If no reference was opened, say so in the footer ("Answered from general knowledge — no {{LIBRARY}} references consulted") — never fake it.

Read the full file on GitHub · 109 lines

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. 5d ago First seen · 109 lines · 31 tokens per session scan A 3878e566208c

Subscribe to this mod's changes

inspect-ai-context is a skill published in the GitHub repository nick-railsback/skill-engine (2 stars, last pushed today), licensed MIT. It adds 31 tokens to every session and 3,237 once invoked, about $0.0002 per session on Opus 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

erpaval

Workflow for autonomous software development with the Kiro CLI (open Agent Skills standard). Classifiers route scope, complexity, directory state, and spec readiness before committing to Explore / Research / Plan / Act / Validate, then close the loop with a Compound step that persists lessons to .erpaval/solutions/…

theagenticguy/erpaval · 174 tokens

product-discovery

File-first orchestrator for product discovery and spec frameworks. Frames the problem with a Discovery Lead, Product Analyst, or System Architect role. Spawns parallel framework agents (Double Diamond, How Might We, Jobs to Be Done, user stories with INVEST, EARS for AI-coder specs, Gherkin), synthesizes into a PRD or…

theagenticguy/erpaval · 242 tokens

meta-prompt-optimizer

Audit and rewrite prompts against Claude Opus 4.7 instruction-following best practices. Produces a scored audit plus a rewritten prompt. Use when the user asks to audit, review, critique, rewrite, improve, optimize, tighten, score, fix, migrate, or draft a prompt — including system prompts, CLAUDE.md files, Claude…

theagenticguy/erpaval · 230 tokens

product-strategy

File-first orchestrator for business and product strategy frameworks. Frames the challenge with a CPO / CSO / VP Design role, spawns parallel framework agents (Rumelt kernel + Crux, Wardley Maps, Minto Pyramid as thinking structure, Working Backwards PR-FAQ as discovery artifact), synthesizes outputs into one strategy…

theagenticguy/erpaval · 216 tokens

agent-ux-patterns

Agent UX patterns and human-in-the-loop design: Twilio A2H protocol, Levels of Autonomy (L0-L5), inbox pattern, progressive trust, decision journal, gate reviews, autonomous work reports. Six-phase methodology from vague pain point to concrete data model via landscape research and multi-direction brainstorming. Use…

theagenticguy/erpaval · 182 tokens

tech-stack-builder

Opinionated tech stack recommendations and settled library references. Two modes: (1) /build-stack runs parallel researcher agents to compare candidates and emit a stack report + ADRs for greenfield projects; (2) direct reference routing for coding with settled defaults. Use when the user asks to recommend a stack…

theagenticguy/erpaval · 274 tokens