Agent skill

Context Loader

by ThinkfleetAI in ThinkfleetAI/memmesh

Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…

Apache-2.0Auto-check passed

Install Context Loader

skills CLI
$ npx skills add ThinkfleetAI/memmesh --skill context-loader -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ThinkfleetAI/memmesh context-loader --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ThinkfleetAI/memmesh.git skills-src && mkdir -p .claude/skills && cp -r skills-src/integrations/memmesh-plugin/skills/context-loader .claude/skills/context-loader && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
context-loader
GitHub stars
419
Token cost
~530 tokens
SKILL.md length
197 words
Files
1
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…

  • Beginning a task
  • SKILL.md covers General project/session context, A specific subject — the…, Anticipatory follow-on and Cite what you use
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Switching context

What it does

Context Loader is an agent skill from ThinkfleetAI/memmesh. Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories) in one call. Use when beginning a task, switching context, or when project history / past decisions / a subject's profile would help.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Persistent, self-improving memory for AI agents. Local-first Rust memory engine with MCP support. The licence is Apache-2.0.

When your agent uses it

  • Beginning a task
  • Switching context
  • Project history / past decisions / a subjects profile would help

Example prompts

  • “/context-loader”

What it can do on your machine

Read from SKILL.md and the folder at commit bba48f8. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are jsonc).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Context Loader loads about 530 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 197 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~530

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ThinkfleetAI/memmesh at commit bba48f8, republished under its Apache-2.0 licence (© ThinkfleetAI). 197 words, ~530 tokens.

Download SKILL.mdSave it as .claude/skills/context-loader/SKILL.md (or your agent's skills folder).
name
context-loader
description
Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories) in one call. Use when beginning a task, switching context, or when project history / past decisions / a subject's profile would help.

context-loader

⚙️ Requires MemMesh hosted mode. Calibrated prediction and behavior discovery run on the hosted engine — set your mm- API key. On a local / open-source install these tools (memory_predict, memory_build_context) are not registered; if a call returns "unknown tool", tell the user this is a hosted capability and fall back to search / recall for what's already known.

Prime the session with the right memory before you act.

General project/session context

jsonc
{ "name": "memory_search", "arguments": { "projectId": "<repo>", "limit": 20 } }

Skip only on pure pleasantries; the moment the task is substantive, load first.

A specific subject — the synthesized bundle

When you're about to reason about one entity (a user, contact, account), don't fire five searches — get the assembled picture in one call:

jsonc
{ "name": "memory_build_context",
  "arguments": { "subjectKind": "user", "subjectId": "<id>", "maxTokens": 2000,
                 "include": ["profile","patterns","predictions","memories"] } }

This returns the profile, active behavior patterns, forward predictions, and top memories — with provenance ids — ready to drop at the top of your prompt. That prediction section is the differentiator: you enter the task already knowing what the subject is likely to do next.

Anticipatory follow-on

Once you're working with a few memories, pull what's most likely needed next via spreading activation over the graph:

jsonc
{ "name": "memory_prefetch_related", "arguments": { "seedMemoryIds": ["<id1>","<id2>"], "limit": 10 } }

Cite what you use

When a loaded memory shapes your response, mention it briefly so the user can correct stale info.

© ThinkfleetAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in integrations/memmesh-plugin/skills/context-loader of ThinkfleetAI/memmesh.

Open the folder on GitHubat commit bba48f8

Compare with similar skills

Context Loader next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Context Loader compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Context Loader this skillThinkfleetAI/memmesh419—~530Automated safety check: PassApache-2.0
Searchdavila7/claude-code-templates32k—~339Automated safety check: PassMIT
Algolia Searchdavila7/claude-code-templates32k3 repos~492Automated safety check: PassMIT
Firecrawl Search Integrationfirecrawl/firecrawl189k1 repos~1.1kAutomated safety check: PassISC
Perplexity Web Searchdavila7/claude-code-templates32k12 repos~3.5kAutomated safety check: NotesMIT
X Search via xAIcode-yeongyu/oh-my-openagent70k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Search

    davila7/claude-code-templates

    Search Google via Bright Data SERP API. An agent skill from davila7/claude-code-templates.

    32k GitHub stars~339 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Algolia Search

    davila7/claude-code-templates

    Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia, instantsearch, search api, search functionality.

    32k GitHub starsUsed in 3 repos~492 tokens
    Backend & APIsAuto-check passed
  • Firecrawl Search Integration

    firecrawl/firecrawl

    Guidance for adding Firecrawl's /search endpoint to product code and agent workflows when a feature starts from a query rather than a URL.

    189k GitHub starsUsed in 1 repo~1.1k tokens
    Backend & APIsAuto-check passed
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Research & ScienceAuto-check: notes
  • X Search via xAI

    code-yeongyu/oh-my-openagent

    Rules for using the x_search tool to search X (Twitter) through a connected xAI account: date-bound queries, trusted handles, search operators and split searches.

    70k GitHub stars~1.4k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Searches Mem0 memories from earlier Pi sessions in the repository and prints a short block of the relevant ones before work starts, read-only and silent when empty.

    67k GitHub stars~292 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from ThinkfleetAI/memmesh

All 24 skills in this repo
  • Behaviors

    ThinkfleetAI/memmesh

    Surface emergent behavior patterns MemMesh has mined from a subject's history — recurring habits nobody predefined, each with prevalence, stability, and the evidence behind it.

    419 GitHub stars~519 tokensUpdated 1 mo ago
    Auto-check passed
  • Benchmark

    ThinkfleetAI/memmesh

    Run MemMesh's competitive benchmark harness (LOCOMO / BEAM) to compare retrieval quality, tokens, latency, and cost against Mem0, Zep, full-context, and naive-RAG baselines.

    419 GitHub stars~460 tokensUpdated 1 mo ago
    Auto-check passed
  • Graph

    ThinkfleetAI/memmesh

    Query MemMesh's bi-temporal knowledge graph — multi-hop reasoning across entities, point-in-time "what did we believe on date X", and anticipatory retrieval via spreading activation.

    419 GitHub stars~611 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh CLI

    ThinkfleetAI/memmesh

    MemMesh CLI + local MCP server — the zero-infra, no-API-key path to the same engine as the hosted SDK.

    419 GitHub stars~855 tokensUpdated 1 mo ago
    Auto-check passed
  • Memmesh SDK

    ThinkfleetAI/memmesh

    MemMesh TypeScript SDK reference (@thinkfleet/memory-sdk) for the hosted platform at app.memmesh.ai.

    419 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Predict

    ThinkfleetAI/memmesh

    Forecast what a subject will do next from their mined behavior patterns — with a calibrated, horizon-decayed confidence and provenance.

    419 GitHub stars~619 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Context Loader

What does Context Loader do?

Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories)…. Context Loader is an agent skill from ThinkfleetAI/memmesh. Load relevant MemMesh context before starting work — searches memory and, for a specific subject, assembles a token-budgeted bundle (profile + behavior patterns + forward predictions + top memories) in one call.

When should I use Context Loader?

Context Loader fits situations like: beginning a task; switching context; project history / past decisions / a subjects profile would help.

How do I install Context Loader in Claude Code?

Run `npx skills add ThinkfleetAI/memmesh --skill context-loader -a claude-code`. Or copy the skill folder (integrations/memmesh-plugin/skills/context-loader in ThinkfleetAI/memmesh) into .claude/skills/context-loader in your project. Claude Code loads it when a task matches its description.

How do I install Context Loader in Codex?

Run `npx skills add ThinkfleetAI/memmesh --skill context-loader -a codex`. Or copy the skill folder (integrations/memmesh-plugin/skills/context-loader in ThinkfleetAI/memmesh) into .agents/skills/context-loader in your project. Codex loads it when a task matches its description.

Can I use Context Loader in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ThinkfleetAI/memmesh --skill context-loader -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/context-loader, .gemini/skills/context-loader, .github/skills/context-loader and .opencode/skills/context-loader in your project.

What does Context Loader need to run?

SKILL.md names no scripts, command-line tools or credentials: Context Loader is instructions for the agent only.

Does Context Loader access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Context Loader safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Context Loader use?

Context Loader is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Context Loader use?

About 530 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Context Loader?

Skills that share tags, products or a category with Context Loader: Search (davila7/claude-code-templates, 32k stars), Algolia Search (davila7/claude-code-templates, 32k stars), Firecrawl Search Integration (firecrawl/firecrawl, 189k stars) and Perplexity Web Search (davila7/claude-code-templates, 32k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Context Loader?

ThinkfleetAI (a GitHub organization) maintains it in ThinkfleetAI/memmesh, which has 419 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on August 25, 2026.

Source: ThinkfleetAI/memmesh on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.