Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/donaldfilimon/abinpx agentmods add skills/donaldfilimon/abi/file-context-loaderWrote 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.
[](https://agentmods.dev/skills/donaldfilimon/abi/file-context-loader)<a href="https://agentmods.dev/skills/donaldfilimon/abi/file-context-loader"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/file-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.
<a href="https://agentmods.dev/skills/donaldfilimon/abi/file-context-loader"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/file-context-loader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.00251 |
| Opus 5.5 | $0.00012 | $0.00100 |
| Sonnet 5.5 | $0.00006 | $0.00050 |
| Haiku 4.5 | $0.00003 | $0.00025 |
Grade A, and why
file-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 15d 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.
What it actually says
File Context Loader
Loads files into the agent context for analysis, planning, or completion tasks.
Usage
./target/debug/abi agent plan "review @relative/path.rs"
Implementation
Uses crates/abi-ai/src/file_context.rs:
resolve_file_mentions()- resolves@filementions in inputvalidate_mention_path()- sandboxed to cwd, rejects.., absolute paths, and symlink escapeContextBudget- 8KB default budget per resolution
Context
- Reads file relative to current working directory
- Injects content with
file:prefix for model consumption - Budget enforcement prevents context overflow
Skill Integration
Maps to existing abi functionality:
abi agent plan <input>- injects bounded mentioned filesabi agent multi <input>- injects bounded mentioned filesabi agent tuifree-text prompts - use the same context builder
There is no /open command in the Rust REPL.
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.
- 15d ago First seen · 37 lines · 31 tokens per session scan A 6783d0019401
file-context-loader is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 31 tokens to every session and 251 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-11-15.
file-context-loader compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| file-context-loaderdonaldfilimon/abi | Skill | 18 | 5d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| clinical-reportssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 71 | Claude Code |
| imaging-data-commonssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| cancer-genomics-analysissynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 68 | Claude Code, Codex |
| clinical-decision-supportsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 97 | Claude Code |
| clinical-imagingsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 69 | Claude Code, Codex |
| curated-bio-datasetssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 79 | Claude Code, Codex |