{"id":"mksglu-context-mode","name":"context-mode","homepage":"https://context-mode.mksg.lu","repo_url":"https://github.com/mksglu/context-mode","category":"ai-ml","subcategories":[],"tags":["mcp","context-window","session-continuity","fts5","bm25","sqlite","sandbox","tool-sandboxing","code-assistant","typescript"],"what_it_does":"Context Mode is an MCP-focused “context virtualization” layer for AI coding agents. It provides sandbox tools to keep large raw tool outputs out of the model context, tracks editing/tool/task/error/user events in a local SQLite database, and uses FTS5/BM25-style search to retrieve only relevant past events during context compaction so the agent can resume continuity.","use_cases":["Reducing LLM context-window usage for long agent sessions","Improving session continuity across conversation compaction (resume with relevant edits/tasks/errors)","Tool-output summarization/indexing for large outputs (file reads, git operations, web fetches, shell commands, etc.)","Making code-editing workflows more stable by indexing intent, changes, and decisions","Searching previously seen artifacts/events to re-ground the agent during long runs"],"not_for":["High-security environments that require strict network/data boundary guarantees without a documented threat model (details not provided in provided text)","Environments where local SQLite/FTS5 indexing is disallowed","Agents that cannot integrate MCP tools or the platform-specific hook/plugin architectures described","Use as a general-purpose vector search service without knowing its retrieval semantics (it’s presented as FTS5/BM25 retrieval)"],"best_when":"You are running a tool-using coding agent for long sessions (multi-step edits, many file reads, logs, web fetches) and your current workflow suffers from context-window overflow/forgetfulness after compaction.","avoid_when":"You can’t deploy a local MCP tool/plugin/hook integration or you require an external hosted managed service with explicit SLAs and compliance guarantees.","alternatives":["Use agent-side summarization/chunking strategies for tool outputs","Local RAG systems with your own indexing pipeline (FTS/vector)","Other context-management approaches for MCP tool runs (e.g., prompt compression/summarizers)","Implement your own SQLite/FTS-based event log + retrieval wrapper around your agent/tool layer"],"af_score":58.5,"security_score":35.2,"reliability_score":26.2,"package_type":"skill","discovery_source":["openclaw"],"priority":"high","status":"evaluated","version_evaluated":null,"last_evaluated":"2026-03-29T14:57:15.621391+00:00","interface":{"has_rest_api":false,"has_graphql":false,"has_grpc":false,"has_mcp_server":true,"mcp_server_url":null,"has_sdk":true,"sdk_languages":["TypeScript","JavaScript","Node.js ecosystem"],"openapi_spec_url":null,"webhooks":false},"auth":{"methods":["None described (integration appears local and invoked by the host agent/plugin)"],"oauth":false,"scopes":false,"notes":"No authentication mechanism (API keys, OAuth, scopes) is described in the provided README content; integration appears to rely on local process invocation and agent hooks."},"pricing":{"model":null,"free_tier_exists":false,"free_tier_limits":null,"paid_tiers":[],"requires_credit_card":false,"estimated_workload_costs":null,"notes":"Pricing information is not provided in the supplied README/manifest content; npm package distribution is implied."},"requirements":{"requires_signup":false,"requires_credit_card":false,"domain_verification":false,"data_residency":[],"compliance":[],"min_contract":null},"agent_readiness":{"af_score":58.5,"security_score":35.2,"reliability_score":26.2,"mcp_server_quality":78.0,"documentation_accuracy":70.0,"error_message_quality":0.0,"error_message_notes":null,"auth_complexity":95.0,"rate_limit_clarity":0.0,"tls_enforcement":40.0,"auth_strength":20.0,"scope_granularity":20.0,"dependency_hygiene":55.0,"secret_handling":50.0,"security_notes":"No explicit auth model is described (likely local execution), and no details are provided about TLS usage, secret handling, or data encryption at rest. SQLite/FTS5 indexing and sandbox execution are central features; without documented threat model, the security posture can’t be confidently rated. Dependency hygiene score is estimated from the presence of common packages but without CVE/SBOM evidence in the provided content.","uptime_documented":0.0,"version_stability":45.0,"breaking_changes_history":20.0,"error_recovery":40.0,"idempotency_support":"false","idempotency_notes":"The README describes that session continuity data is tracked in SQLite and may be deleted for fresh sessions unless `--continue` is used, but it does not explicitly state idempotency guarantees for tool operations.","pagination_style":"none","retry_guidance_documented":false,"known_agent_gotchas":["Hook/session-start availability varies by host platform (e.g., Cursor sessionStart hook rejected by validator per provided link; OpenCode/KiloCode sessionStart not yet available), which can affect resume behavior.","Routing/enforcement differs between platforms (MCP-only vs hook/plugin-based routing). If routing is not configured, the agent may not preferentially use sandbox tools, reducing effectiveness.","Local indexing implies the host environment must support SQLite/FTS5 operations; if those checks fail, the agent may degrade to less effective context handling (doctor command mentioned, but operational guarantees not shown)."]}}