Context Loader

Context Loader is a skill for Claude Code, Codex from Razaib-khan/ForgeWeave. It costs 22 tokens per session (590 once invoked), scanned A, original, MIT.

A project-context reader that loads AGENTS.md, the project structure, available skills, configured MCP servers, and important files before work begins.

In plain words
What is it for?
Use it when starting work in a ForgeWeave project, after scaffolding, or before a workflow that depends on the repository's structure and available tools.
Why use it?
It prevents operations from being planned without knowing the project's instructions, layout, tools, and conventions.

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/razaib-khan/forgeweave/context-loader
Any agent
npx skills add Razaib-khan/ForgeWeave --skill context-loader
Clone the repo
git clone --depth 1 https://github.com/Razaib-khan/ForgeWeave

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 Loader

README.md
[![agentmods](https://agentmods.dev/badge/skills/razaib-khan/forgeweave/context-loader.svg)](https://agentmods.dev/skills/razaib-khan/forgeweave/context-loader)
Your own site
<a href="https://agentmods.dev/skills/razaib-khan/forgeweave/context-loader"><img src="https://agentmods.dev/badge/skills/razaib-khan/forgeweave/context-loader.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 590 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 $0.00022 $0.00590
Opus 5 $0.00011 $0.00295
Sonnet 5 $0.00004 $0.00118
Haiku 4.5 $0.00002 $0.00059

Measured 3d ago against content hash 49659ebc77af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Context Loader 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan_project.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.

src/forgeweave/templates/claude/.claude/skills/context-loader/SKILL.md · 83 lines

How it starts

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

Context Loader

Purpose

Before any operation begins, load and understand the full project context: AGENTS.md, project structure, available skills, MCP server configuration, and key files. Ensures every subsequent action is informed by the project's conventions and capabilities.

When to Use

  • Starting a new session on a ForgeWeave project
  • Before running any skill or workflow that depends on project structure
  • The agent needs to understand what agents and skills are available
  • After forge init has scaffolded a new project

When Not to Use

  • The task is outside the project (e.g., general knowledge question)
  • Context has already been loaded in the current session
  • The task is a simple isolated operation

Inputs

Input Type Required Description
project_root string No (default: cwd) Path to project root

Expected Outputs

Output Description
Project overview Project type, TUI, key structure
Available agents List of registered agents from AGENTS.md
Available skills List of skills with their purposes
MCP configuration Which MCP servers are configured
Key files Paths to important config files

Exact Workflow Steps

  1. Read AGENTS.md for agent registration and configuration
  2. Scan .<tui>/skills/ for available skills and their SKILL.md descriptions
  3. Read .<tui>/opencode.json or equivalent for MCP server config
  4. Read RESEARCH_INSTRUCTIONS.md if present
  5. Identify the TUI being used from the project structure
  6. Compile a context summary for the agent to use

Required Checks

  • AGENTS.md was found and parsed
  • Skills directory was scanned
  • MCP configuration was loaded
  • TUI was identified

Failure Modes

Failure Condition Response
No AGENTS.md found Report: "Not a ForgeWeave project — run forge init first"
Skills directory missing Report: "No skills directory found — run forge init"
MCP config missing Proceed with limited capabilities

Read the full file on GitHub · 83 lines

Files

What ships with it

2 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. 3d ago First seen · 83 lines · 22 tokens per session scan A 49659ebc77af

Subscribe to this mod's changes

Context Loader is a skill published in the GitHub repository Razaib-khan/ForgeWeave (1 stars, last pushed 2mo ago), licensed MIT. It adds 22 tokens to every session and 590 once invoked, about $0.0001 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