Skip to content
Coding Workflows

Context Mode

Keeps bulky tool output out of Claude's memory, so long sessions last much longer.

FreeBy Mert Köseoğlu
View source

What is it?

Claude's context window is its short-term memory for a session. Every tool it uses pours output into it: one web page snapshot or a list of GitHub issues can take tens of thousands of characters. Fill it up and Claude starts forgetting what it was doing.

Context Mode runs that output in a sandbox on your computer and only passes Claude the part it needs. It also keeps a searchable record of the session, the files edited, tasks and decisions, so when Claude compacts the conversation to free space it can pick up exactly where it left off. /context-mode:ctx-stats shows how much it saved.

It's free to use, but it's source-available rather than open source. That only matters if you want to resell it. The same company sells paid products for teams.

Install in Claude Code

In Claude Code run /plugin marketplace add mksglu/context-mode, then /plugin install context-mode@context-mode, then restart Claude Code (or run /reload-plugins). Check it with /context-mode:ctx-doctor.

Try this prompt

Paste into Claude Code
/context-mode:ctx-stats

Who it's for

Heavy Claude Code users who keep hitting usage limits or losing the thread in long sessions.

Best for

  • Stretching usage limits
  • All-day sessions
  • Browser and GitHub-heavy work
  • Picking up after compaction

Why it made the list

It hit number one on Hacker News, and the savings show up in the first session.

More skills like this

  • Caveman

    Productivity

    Makes Claude say less and read less, cutting token use by up to 75% with the same answers.

    Free
  • Context Engineering

    Coding Workflows

    A template that gives Claude full context up front so features ship with fewer re-prompts.

    Free
  • Claude-Mem

    Productivity

    Gives Claude Code a memory, so each new session starts knowing what happened before.

    Free
  • Graphify

    Coding Workflows

    Maps your code and docs into a clickable knowledge graph Claude can search.

    Free