project-context-loader

project-context-loader is a skill for Claude Code, Codex from nguyenthienthanh/aura-frog. It costs 22 tokens per session (829 once invoked), scanned A, original, MIT.

A project-context loader that scans a codebase and its project files to prepare session guidance about conventions, architecture, testing, and other development practices.

In plain words
What is it for?
It is for preparing context before running tasks, generating code, refactoring, or writing tests, using cached context when it is still recent.
Why use it?
It reduces the chance that generated or modified code conflicts with the project's existing style and rules.

Skill for Claude CodeCodex

Part of the aura-frog plugin — 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers shipped together

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/nguyenthienthanh/aura-frog/project-context-loader
Any agent
npx skills add nguyenthienthanh/aura-frog --skill project-context-loader
Clone the repo
git clone --depth 1 https://github.com/nguyenthienthanh/aura-frog

Made for: Claude Code, Codex.

Or install aura-frog, the plugin that ships this one along with the rest of its 43 skills, 24 commands, 15 agents, 10 hooks, 6 MCP servers.

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 project-context-loader

README.md
[![agentmods](https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/project-context-loader.svg)](https://agentmods.dev/skills/nguyenthienthanh/aura-frog/project-context-loader)
Your own site
<a href="https://agentmods.dev/skills/nguyenthienthanh/aura-frog/project-context-loader"><img src="https://agentmods.dev/badge/skills/nguyenthienthanh/aura-frog/project-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 829 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.00022 $0.00829
Opus 5 $0.00011 $0.00415
Sonnet 5 $0.00004 $0.00166
Haiku 4.5 $0.00002 $0.00083

Measured today against content hash f46764735b3e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

project-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 today.

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.

aura-frog/skills/project-context-loader/SKILL.md · 105 lines

How it starts

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

AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.

Project Context Loader

Load project conventions and generate session context on demand.


When to Use

Before: /run, code generation, refactoring, test writing. Skip: Simple questions (no code), when session-context.toon already loaded.


Loading Process

0. Host-Project Documents First (authoritative)

Before any cache or generated context, read the host project's own documentation — it is written by humans and overrides anything this skill infers:

File Priority
CLAUDE.md (root) and/or .claude/CLAUDE.md Highest — project instructions (per rules/workflow/priority-hierarchy.md)
README.md (root) High — purpose, setup, run commands, structure
CONTRIBUTING.md (if present) Conventions for changes

Read them fully on first load of a session (they are usually short). On conflict between these and generated context below, the host project's docs win — refresh the cache instead of trusting it.

1. Check Cache

If .claude/session-context.toon exists and is recent (< 1 hour), use it.

2. Generate (If Missing)

Scan codebase for: file naming, import style, export pattern, error handling, testing framework, styling approach. Write to .claude/session-context.toon.

3. Load Project Config

From .claude/project-contexts/[project]/:

File When
project-config.yaml Always
conventions.md Always
rules.md Always
repo-map.md First task
file-registry.yaml When modifying code
architecture.md Architecture decisions

4. Smart Loading

loading_strategy[4]{scenario,files_to_load}:
  Simple question,session-context.toon only
  Bug fix / small change,"session-context.toon + conventions.md + file-registry.yaml"
  New feature / refactor,All 7 files
  Architecture decision,"session-context.toon + architecture.md + repo-map.md"

Read the full file on GitHub · 105 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. today Changed · +12 lines f46764735b3e
  2. 2d ago First seen · 93 lines · 22 tokens per session scan A 5aa8a57f8cc3

Subscribe to this mod's changes

project-context-loader is a skill published in the GitHub repository nguyenthienthanh/aura-frog (24 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 829 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-09-03.