Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use official hosted Memtrace documentation before guessing, web search, or stale local copies. Trigger when the user asks how Memtrace works; how to install, configure, or deploy CLI, MCP, fleet, Cortex, or enterprise MemDB; what tools, skills, or commands exist; wants to find or locate official docs for a topic; or provides/asks to read a full docs page or slug. Routes internally across ask_docs for cited natural-language answers, search_docs for page discovery, and read_doc for complete page t
.claude/skills/syncable-dev-memtrace-docs/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-11 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-14 | ✓→✗ | ▼ Worse | 84% | 0% |
| case-19 | ✓→✗ | ▼ Worse | 29% | 0% |
| case-18 | ✓→✓ | = Same ✓ | 17% | 0% |
IF THE USER ASKS ABOUT MEMTRACE PRODUCT DOCS → USE DOCS MCP TOOLS FIRST.
Do not guess CLI flags, MCP tool lists, enterprise deploy steps, or fleet rules
from memory. Query the hosted documentation corpus at memtrace.io (or
MEMTRACE_DOCS_API_URL), then answer with citations.
memtrace-first = your indexed SOURCE CODE (find_code, get_impact, …)
memtrace-docs = official MEMTRACE DOCUMENTATION (search_docs, ask_docs, read_doc)Docs tools call the hosted Memtrace docs API over HTTPS. They do not read your local MemDB or your repo. Core graph tools stay offline; docs tools degrade gracefully when the network is down (ok: false + hint).
Confirm the docs tools are available on your memtrace MCP server:
search_docs — ranked chunks (slug, title, H2, excerpt)ask_docs — grounded Q&A { answer, citations[], refused }read_doc — full page text by slugmemtrace://docs/<slug> via read_resource (optional)If none of these exist, the MCP build may be outdated — tell the user to update Memtrace and run npx -y memtrace-skills@latest install.
Override API host: MEMTRACE_DOCS_API_URL (default https://memtrace.io).
| User is asking | Right tool | |---|---|---| | "How do I install / configure / deploy X in Memtrace?" | ask_docs(question=…) | | "What MCP tools / skills / CLI commands exist?" | ask_docs or search_docs then read_doc on hit slugs | | "What does memtrace rail enable do?" | ask_docs | | "Find docs about fleet coordination" | search_docs(query=…) | | "Read the full getting-started page" | read_doc(slug="getting-started") | | "Read enterprise MemDB deploy guide" | read_doc(slug="enterprise/memdb-deploy") | | Need several related sections | search_docs → read_doc on top slugs |
Default for natural-language questions: ask_docs — it retrieves context and returns a cited answer in one call.
Default for "find the doc about…": search_docs — scan chunks, then read_doc if you need the full page.
ask_docs(question="<user question verbatim>")refused: true or ok: false → search_docs with shorter keywords → read_doc on best slug/docs/<slug> when helpfulask_docs(question="What MCP tools are available?") or fleet/skills variantread_doc(slug="mcp/tools")read_doc(slug="mcp/skills")search_docs(query="X", limit=8)read_doc(slug=<top hit>) for each page you will rely onmemtrace-first only when switching to their repo's codeask_docs(question="How do I deploy MemDB with Helm on Azure?") or user wordingread_doc(slug="enterprise/memdb-deploy") for operator stepsread_doc(slug="enterprise/connect") or cli/connectPass the user's question verbatim when it is already clear:
json{ "question": "How do I deploy MemDB with Docker Compose?" }
The response is { ok, answer, citations[], refused, refusalReason? }. If refused: true with no_context, retry search_docs with shorter keywords and then read_doc on the best slug. ask_docs sends only the question string to memtrace.io's hosted RAG service; do not include secrets or repo source.
json{ "query": "deploy MemDB helm azure", "limit": 8 }
Results are ranked chunks with slug, pageTitle, h2Title, excerpt, and distance (lower is a better match). They are not full pages. Follow with read_doc when you need the complete reference.
json{ "slug": "enterprise/memdb-deploy" }
Use a slug from a user URL, ask_docs citations, or search_docs results. The response is { ok, slug, title, body }. For multi-page topics, read each slug you will rely on rather than extrapolating from one page.
| Thought | Reality | |---|---| | "I know how Memtrace fleet works from training data" | Product docs change — ask_docs first | | "I'll grep the repo for README" | User repo ≠ official docs — use search_docs / read_doc | | "I'll web-search Memtrace" | Use hosted docs API — same corpus as memtrace.io/docs | | ask_docs returned refused: true | Docs corpus had no match — say so; try search_docs with different terms | | ok: false network error | Report offline; core Memtrace graph tools still work locally |
| Skill | When | |---|---| | memtrace-docs | Questions about Memtrace product (install, MCP, fleet, Cortex, enterprise) | | memtrace-first | Questions about the user's indexed source code | | memtrace-decision-memory | Why code exists (Cortex decisions) — not product docs |
Use both when needed: docs for "how is Memtrace supposed to work?", graph tools for "how does this repo implement it?"
Prefer citing doc slugs returned in citations or search_docs results:
ask_docs → { ok: true, answer: "…", citations: ["cli/rail", "mcp/skills"], refused: false }
search_docs → { ok: true, results: [{ slug, pageTitle, h2Title, excerpt }] }
read_doc → { ok: true, slug, title, body }When refused: true, tell the user the docs did not cover it and suggest browsing https://memtrace.io/docs or rephrasing.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 15,763 | 6,702 | -57% | 1 | 1 | 0% | 2,407 | 1,882 | -22% | 0 | 0 | — |
case-02 | fail→fail | 25,384 | 5,604 | -78% | 1 | 1 | 0% | 3,915 | 1,899 | -51% | 0 | 0 | — |
case-03 | fail→fail | 13,745 | 4,802 | -65% | 1 | 1 | 0% | 2,549 | 1,889 | -26% | 0 | 0 | — |
case-04 | fail→fail | 7,803 | 6,372 | -18% | 1 | 1 | 0% | 1,343 | 1,891 | +41% | 0 | 0 | — |
case-05 | fail→fail | 10,822 | 9,626 | -11% | 1 | 1 | 0% | 1,056 | 3,320 | +214% | 0 | 0 | — |
case-06 | fail→fail | 3,986 | 5,842 | +47% | 1 | 1 | 0% | 477 | 1,956 | +310% | 0 | 0 | — |
case-07 | fail→fail | 19,305 | 4,443 | -77% | 1 | 1 | 0% | 2,673 | 1,824 | -32% | 0 | 0 | — |
case-08 | fail→fail | 2,057 | 5,260 | +156% | 1 | 1 | 0% | 266 | 1,872 | +604% | 0 | 0 | — |
case-09 | fail→fail | 13,956 | 6,989 | -50% | 1 | 1 | 0% | 2,371 | 1,993 | -16% | 0 | 0 | — |
case-10 | fail→fail | 11,562 | 4,706 | -59% | 1 | 1 | 0% | 1,354 | 1,853 | +37% | 0 | 0 | — |
case-11 | fail→pass | 8,906 | 2,821 | -68% | 1 | 1 | 0% | 1,364 | 2,148 | +57% | 0 | 0 | — |
case-12 | fail→pass | 13,185 | 2,436 | -82% | 1 | 1 | 0% | 2,107 | 2,054 | -3% | 0 | 0 | — |
case-13 | fail→fail | 6,798 | 4,371 | -36% | 1 | 1 | 0% | 1,162 | 1,855 | +60% | 0 | 0 | — |
case-14 | pass→fail | 6,790 | 5,090 | -25% | 1 | 1 | 0% | 1,051 | 1,938 | +84% | 0 | 0 | — |
case-15 | fail→fail | 19,226 | 7,049 | -63% | 1 | 1 | 0% | 3,612 | 1,994 | -45% | 0 | 0 | — |
case-16 | fail→fail | 23,504 | 6,280 | -73% | 1 | 1 | 0% | 4,851 | 1,980 | -59% | 0 | 0 | — |
case-17 | fail→fail | 12,968 | 5,714 | -56% | 1 | 1 | 0% | 1,908 | 1,881 | -1% | 0 | 0 | — |
case-18 | pass→pass | 13,990 | 7,407 | -47% | 1 | 1 | 0% | 2,006 | 2,338 | +17% | 0 | 0 | — |
case-19 | pass→fail | 10,159 | 5,949 | -41% | 1 | 1 | 0% | 1,560 | 2,005 | +29% | 0 | 0 | — |
case-20 | pass→pass | 10,235 | 7,546 | -26% | 1 | 1 | 0% | 1,554 | 2,274 | +46% | 0 | 0 | — |
case-21 | fail→fail | 8,740 | 4,372 | -50% | 1 | 1 | 0% | 823 | 1,789 | +117% | 0 | 0 | — |
case-22 | fail→fail | 11,876 | 3,872 | -67% | 1 | 1 | 0% | 1,843 | 2,314 | +26% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 6 counted toward the lift figure. The other 16 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of 0 percentage points is the difference between those two pass rates over the 6 comparable cases. 4 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.