More screenshots
Works with the AI Agents you already use
MCP Context Optimizer — Free Skill for Coding Agents
Node.js 20+ is required for the server setup described in the package documentation.
Free
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)
| # | Kind | Source | Score | Why Retained |
|---|---|---|---|---|
| 1 | error | src/auth/session.ts:42 | 0.94 | JWT validation failure in validateSession |
| 2 | error | src/auth/redis.ts:18 | 0.87 | Redis session lookup timeout, repeated 12× |
| 3 | decision | accepted | 0.91 | HTTP-only cookies mandate (2023-10-12) |
| 4 | decision | accepted | 0.79 | Use bcryptjs instead of native bcrypt |
| 5 | file | src/auth/session.ts | 0.85 | File snapshot for context |
Omitted Records
| Kind | Count | Reason |
|---|---|---|
| log | 7 | Near-duplicate of retained error |
| tool_call | 3 | Redundant test run output |
| message | 2 | Low relevance to auth.ts |
Token Budget (stats)
| Metric | Value |
|---|---|
| Input tokens (est.) | 4,050 |
| Output tokens (est.) | 1,030 |
| Reduction | ~75% |
Relevant Errors
- JWT validation failed:
validateSessionreceivedundefinedinstead ofUserPayload(src/auth/session.ts:42) - Redis session lookup timeout: 12 occurrences in 500 log lines (
src/auth/redis.ts:18)
Past Decisions
- 2023-10-12: Switch to HTTP-only cookies for session storage to mitigate XSS risks.
- 2024-01-15: Use
bcryptjsinstead of nativebcryptfor serverless compatibility.
Next Steps
- Update
validateSessionto handle theundefinedpayload case. - Verify Redis connection strings in the test environment.
- Call
get_file_historyforsrc/auth/session.tsif 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.mdinstructions - 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
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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
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 forever
No account required to browse
Trust & safety
Security scan
Security scan passed 16 days ago
- Free with an Agensi account
Requires
Permissions
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.