agentsclimarketplace

Context mode

Skill AravindS-Wick/aravindhan-skills/skills/context-mode

148+ curated Claude AI skills — agent orchestration, security, multi-repo PRs, design, mobile & more. One-command install.

Install
npx -y skills add AravindS-Wick/aravindhan-skills --skill context-mode

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Optimize session memory and filter out shell command output clutter. Keeps a running log of the current session state (active files, current tasks, and progress) in the workspace to allow quick recovery and prevent token bloat. Use when the user runs /context-mode or asks to clean up active memory, log the current session state, or reduce session sluggishness.

SKILL.md

1.6 KB, 271 tokens by cl100k_base, as published. Nobody here has run it

Context Mode (context-mode)

Optimizes the agent's context window by filtering out verbose shell output clutter and maintaining a lightweight session state log.

Step-by-Step Instructions

1. Clutter Filtering

When executing command line operations:

  • Filter out verbose diagnostic output, dependency build details, or standard compilation logs.
  • Only keep critical stdout/stderr outputs, exit codes, and compile-time errors in the context.
  • For commands with long output, pipe/truncate or inspect specific line ranges (e.g. head -n 20 or grep).

2. Session Logging

Keep a running, lightweight log of your session state. If it does not exist, create a file named .session-context.json (or .session-context.md) in the repository root containing:

  • Active Files: The absolute paths of files currently being modified.
  • Current Task: The specific task you are executing.
  • Next Steps: What remains to be done.
  • Session History: A brief bullet-point list of what was already done in this session.

3. State Restoration

If the context window gets reset or if the session starts feeling sluggish:

  • Read .session-context.json to immediately restore your state, active files, and objectives without requiring the user to re-explain the task.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.