More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    MCP Context Optimizer — Free Skill for Coding Agents

    0

    Node.js 20+ is required for the server setup described in the package documentation.

    Free

    1 useSecurity scanned
    MCP Context Optimizer — Free Skill for Coding Agents

    MCP Context Optimizer — Free Skill for Coding Agents

    Example session with this skill installed

    I have 500 lines of failed Vitest logs and three file diffs from an auth regression. Optimize this context for a fix, then show me the relevant errors and any past decisions related to auth.ts.

    • Read your context and instructions
    • Compiled the mcp context optimizer

    Optimized Context Summary

    The mcp-context-optimizer processed 12 records (Vitest logs, file diffs, decisions) and selected the most relevant ones for fixing the auth regression.

    Retained Records (sources)

    #KindSourceScoreWhy Retained
    1errorsrc/auth/session.ts:420.94JWT validation failure in validateSession
    2errorsrc/auth/redis.ts:180.87Redis session lookup timeout, repeated 12×
    3decisionaccepted0.91HTTP-only cookies mandate (2023-10-12)
    4decisionaccepted0.79Use bcryptjs instead of native bcrypt
    5filesrc/auth/session.ts0.85File snapshot for context

    Omitted Records

    KindCountReason
    log7Near-duplicate of retained error
    tool_call3Redundant test run output
    message2Low relevance to auth.ts

    Token Budget (stats)

    MetricValue
    Input tokens (est.)4,050
    Output tokens (est.)1,030
    Reduction~75%

    Relevant Errors

    • JWT validation failed: validateSession received undefined instead of UserPayload (src/auth/session.ts:42)
    • Redis session lookup timeout: 12 occurrences in 500 log lines (src/auth/redis.ts:18)

    Past Decisions

    1. 2023-10-12: Switch to HTTP-only cookies for session storage to mitigate XSS risks.
    2. 2024-01-15: Use bcryptjs instead of native bcrypt for serverless compatibility.

    Next Steps

    • Update validateSession to handle the undefined payload case.
    • Verify Redis connection strings in the test environment.
    • Call get_file_history for src/auth/session.ts if more context is needed.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Title

    MCP Context Optimizer — Free Skill for Coding Agents

    Short description

    A practical workflow for using the mcp-context-optimizer MCP server to build compact, task-specific coding context while checking source provenance, omitted records, and budget warnings.

    What the buyer gets

    • Agent-facing SKILL.md instructions
    • MCP setup/configuration examples
    • Worked debugging and session-continuation scenarios
    • Tool reference and troubleshooting guide

    Requirements

    Requires the mcp-context-optimizer MCP server to be configured separately. Node.js 20+ is required for the server setup described in the package documentation.

    Important limitations

    The Skill does not install or run the MCP server, automatically inspect the workspace, intercept prompts, or provide persistent storage. Token counts are estimates by default.

    License

    MIT

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    Requires mcp-context-optimizer server installation. Records must be explicitly provided via ingest tools. Storage is in-memory and resets when the agent restarts.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 17 days ago

    • Free with an Agensi account

    Software
    Context Optimizer MCPNode.jsConfig MCP

    Permissions

    Terminal / Shell
    Write Files

    This Skill provides instructions only. It does not automatically access files, external services, or accounts. The user manually provides records to the mcp-context-optimizer MCP server. All processing is local; no network calls or API keys are required.

    Listed17 days ago

    What's inside

    Frequently Asked Questions

    The MCP Context Optimizer uses local processing to distill long error logs, file diffs, and chat history into compact summaries, allowing your agent to maintain critical project information while using significantly fewer tokens.

    This skill is compatible with any environment that supports the Model Context Protocol (MCP), including Claude Code and Cursor, provided you have Node.js and npm installed to run the local server.

    Unlike standard prompting, this skill uses a dedicated local server to maintain a structured memory store, ensuring technical nuances are preserved and searchable even after your chat history becomes too long for the agent to process.

    No, the optimizer does not scan your entire repository automatically; you must explicitly provide the logs, file contents, or conversation segments you want it to ingest and track.

    The tool currently uses an in-memory storage system, meaning the optimized context and records will be cleared whenever you restart the agent or the local server session.

    Setup requires installing the mcp-context-optimizer server via npx and adding it to your agent's configuration file as a tool, enabling the agent to call the optimization functions directly.

    Yes. The `mcp-context-optimizer` MCP server must be installed via npm/npx, and Node.js 20+ is required.

    New in LLM Ops

    Free