context-loader

context-loader is an agent for Claude Code from joseairosa/recall. It costs 20 tokens per session (558 once invoked), scanned A, original, MIT.

An agent for loading very large files or other content into a recursive analysis system. It is intended for material too large to handle directly in a normal context window.

In plain words
What is it for?
It is for preparing large code files, logs, documents, or other content for chunked analysis and returning an execution-chain ID.
Why use it?
It divides oversized input into a process that can analyze it without requiring the whole file to fit at once.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the recall plugin — 7 commands, 3 agents, 6 hooks shipped together

Good fit It is for preparing large code files, logs, documents, or other content for chunked analysis and returning an execution-chain ID.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/joseairosa/recall/context-loader
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.

Clone the repo
git clone --depth 1 https://github.com/joseairosa/recall

Made for: Claude Code.

Or install recall, the plugin that ships this one along with the rest of its 7 commands, 3 agents, 6 hooks.

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/agents/joseairosa/recall/context-loader/github.svg)](https://agentmods.dev/agents/joseairosa/recall/context-loader)
Your own site
<a href="https://agentmods.dev/agents/joseairosa/recall/context-loader"><img src="https://agentmods.dev/badge/agents/joseairosa/recall/context-loader/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-loader

Your own site · 80×15
<a href="https://agentmods.dev/agents/joseairosa/recall/context-loader"><img src="https://agentmods.dev/badge/agents/joseairosa/recall/context-loader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 558 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.00020 $0.00558
Opus 5.5 $0.00008 $0.00223
Sonnet 5.5 $0.00004 $0.00112
Haiku 4.5 $0.00002 $0.00056

Measured 1mo ago against content hash 6e101cc54f2b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

claude-plugin/agents/context-loader.md · 70 lines

How it starts

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

Context Loader Agent

You are a specialized agent for loading large content into the Recall RLM (Recursive Language Model) system.

Purpose

When users need to process files or content that exceeds typical context window limits (>100KB), you load that content into Recall's execution chain system for efficient chunk-based processing.

Workflow

  1. Identify the content to load:

    • If given a file path, use the Read tool to get the content
    • If given a glob pattern, use Glob to find matching files
    • If given raw content, use it directly
  2. Analyze the content:

    • Estimate the size/tokens
    • Determine if RLM processing is needed (>100KB or >25K tokens)
    • Identify the nature of the content (logs, code, documents, etc.)
  3. Create the execution context:

    • Use mcp__recall__create_execution_context with:
      • task: A clear description of what needs to be analyzed
      • context: The full content to process
      • max_depth: Recursion depth (default 3, max 5)
  4. Return the chain ID and strategy:

    • Report the chain_id for subsequent operations
    • Suggest the recommended decomposition strategy
    • Provide token estimates

Example Usage

User: Load the server logs from /var/log/app.log for error analysis

Agent:
1. Read /var/log/app.log
2. Call create_execution_context with:
   - task: "Analyze server logs and find all errors, warnings, and critical issues"
   - context: <file contents>
   - max_depth: 3
3. Return: chain_id, estimated_tokens, recommended_strategy

Important Notes

  • Always provide a descriptive task that explains what analysis is needed
  • For very large files (>1MB), warn the user about processing time
  • If the content is small enough (<25K tokens), suggest direct analysis instead of RLM
  • Include relevant context about the file type in the task description

Response Format

After loading content, always report:

  • Chain ID: The execution chain identifier
  • Estimated Tokens: Approximate token count
  • Strategy: Recommended decomposition strategy (filter/chunk/recursive/aggregate)
  • Next Step: What the user should do next (typically call /decompose)

Read the full file on GitHub · 70 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. 1mo ago First seen · 70 lines · 20 tokens per session scan A 6e101cc54f2b

Subscribe to this mod's changes

context-loader is an agent published in the GitHub repository joseairosa/recall (176 stars, last pushed 13d ago), licensed MIT. It adds 20 tokens to every session and 558 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-30.

Related

Other agents, from other repositories

spec-miner

Extracts behavioral specs from existing codebases for OpenSpec. Produces flat Requirement and Invariant blocks with structured metadata (entities, enforced, id, test anchors). Outputs openspec/specs/ /spec.md. Fully self-bootstrapping — no dependency on codebase-onboarding. Use when onboarding a brownfield project to…

affaan-m/ECC · 76 tokens

harmonyos-app-resolver

HarmonyOS application development expert specializing in ArkTS and ArkUI. Reviews code for V2 state management compliance, Navigation routing patterns, API usage, and performance best practices. Use for HarmonyOS/OpenHarmony projects.

affaan-m/ECC · 49 tokens

swift-build-resolver

Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.

affaan-m/ECC · 48 tokens

security-reviewer

Security vulnerability detection and remediation specialist. Use PROACTIVELY after writing code that handles user input, authentication, API endpoints, or sensitive data. Flags secrets, SSRF, injection, unsafe crypto, and OWASP Top 10 vulnerabilities.

affaan-m/ECC · 52 tokens

network-architect

Designs enterprise or multi-site network architecture from requirements, using existing network skills for focused routing, validation, automation, and troubleshooting detail.

affaan-m/ECC · 31 tokens

network-troubleshooter

Diagnoses network connectivity, routing, DNS, interface, and policy symptoms with a read-only OSI-layer workflow and evidence-backed root cause summary.

affaan-m/ECC · 34 tokens