context-load

context-load is a command for Claude Code from gonzalezpazmonica/savia. It costs 33 tokens per session (1,193 once invoked), scanned A, original, MIT.

A session-start command that reads workspace details, recent decisions, saved session data, and Git activity before work begins.

In plain words
What is it for?
Use it to load the active user profile, detect the project setup, check the current branch, and recover recent memory or session information.
Why use it?
It removes the need to reconstruct project context manually at the start of each coding session.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Use it to load the active user profile, detect the project setup, check the current branch, and recover recent memory or session information.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gonzalezpazmonica/savia/context-load
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/gonzalezpazmonica/savia

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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-load

README.md
[![agentmods](https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/context-load.svg)](https://agentmods.dev/commands/gonzalezpazmonica/savia/context-load)
Your own site
<a href="https://agentmods.dev/commands/gonzalezpazmonica/savia/context-load"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/savia/context-load.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,193 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.00033 $0.01193
Opus 5 $0.00016 $0.00596
Sonnet 5 $0.00007 $0.00239
Haiku 4.5 $0.00003 $0.00119

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

Security

Grade A, and why

context-load 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/context-load.md · 146 lines

How it starts

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

Carga de Contexto — Inicio de Sesión

Ejecuta al empezar una sesión nueva para tener contexto completo.

1. Cargar perfil de usuario

  1. Leer .claude/profiles/active-user.md → obtener active_slug
  2. Si hay perfil activo, cargar (grupo Memory del context-map):
    • profiles/users/{slug}/identity.md
  3. Usar slug para aislar memorias por usuario
  4. Si no hay perfil → continuar con comportamiento por defecto

2. Banner de inicio

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 /context-load — Cargando contexto de sesión
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

3. Detección de stack

Leer CLAUDE.local.md → campo AZURE_DEVOPS_ENABLED. Mostrar: 📦 Stack: {GitHub-only|Azure DevOps}

4. Protocolo de carga (con progreso)

📋 Paso 1/5 — Workspace y rama...
pwd && git branch --show-current

Verificar raíz (~/claude/).

📋 Paso 2/5 — Memoria persistente y sesión anterior...

Memory store (output/.memory-store.jsonl):

  • Si existe → ejecutar bash scripts/memory-store.sh context --limit 10
  • Mostrar últimas decisiones, bugs y patrones agrupados por tipo
  • Si no existe → buscar decision-log.md como fallback (formato legacy)

Último session save (output/sessions/ → fichero más reciente):

  • Si existe → leer y mostrar: objetivo, pendientes, contexto para esta sesión
  • Si no existe → ℹ️ Sin sesiones anteriores guardadas
📋 Paso 3/6 — Estado de proyectos...

Leer CLAUDE.local.md → tabla de proyectos activos. Para cada proyecto, comprobar si existe y mostrar 1 línea de estado:

  • Último audit: output/audits/*-{proyecto}.md → score si existe
  • Deuda: projects/{p}/debt-register.md → items abiertos si existe
  • Riesgos: projects/{p}/risk-register.md → riesgos críticos si existe
📋 Paso 4/6 — ADRs activos...

Para cada proyecto activo, buscar ADRs con status: accepted:

grep -l "status: accepted" projects/*/adrs/*.md 2>/dev/null
  • Si existen → leer título y fecha de cada ADR activo, mostrar resumen (máx. 5 ADRs más recientes)
  • Si no existen → ℹ️ Sin ADRs activos
  • Formato: 🏛️ ADR-001: {título} ({fecha}) — {proyecto}

Read the full file on GitHub · 146 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. yesterday First seen · 146 lines · 33 tokens per session scan A ad8a39aac134

Subscribe to this mod's changes

context-load is a command published in the GitHub repository gonzalezpazmonica/savia (50 stars, last pushed yesterday), licensed MIT. It adds 33 tokens to every session and 1,193 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-09-06.