Skip to content
Development
Skill

/memtrace-continuous-memory

Keep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic

From plugin
memtrace-public
51627 skills4 commands

Claude Code

$ npx -y skills add syncable-dev/memtrace-public --skill memtrace-continuous-memory --agent claude-code

SKILL.md

memtrace-continuous-memory.SKILL.md
name: memtrace-continuous-memory
description: "Keep the Memtrace index fresh while editing by watching a repo for live, incremental re-indexing. Use when the user asks to keep Memtrace fresh while editing, watch a repo, enable live or incremental indexing, set up always-on memory (meaning Memtrace index watching, not generic agent memory), or make just-saved source code queryable immediately. Do not fall back to repeated Grep or manual rescans; configure Memtrace watching."

Overview

Keep the knowledge graph live while editing. `watch_directory` triggers incremental re-indexing on file saves (~80 ms typical latency after debounce).

Required parameters — `watch_directory`

| Param | Required | Notes | |---|---|---| | `path` | yes | Absolute directory path | | `repo_id` | yes | Must already be indexed | | `branch` | no | default `"main"` |

{ "path": "/abs/path/to/repo", "repo_id": "memdb" }

Full parameter spec for every Memtrace tool: `references/mcp-parameters.md` (bundled at the memtrace-skills plugin root).

Steps

1. Confirm indexed

list_indexed_repositories()

Run `index_directory` first if missing (poll `check_job_status`; stop after ~5 minutes and report the job id — see memtrace-index).

2. Start watching

See JSON above. Returns immediately; watcher runs in background.

3. Confirm active watches

list_watched_paths()

Response shape: see [Output](#output).

4. Edit normally

Next `find_symbol` / `get_symbol_context` call sees saved changes after debounce (~500 ms) + incremental persist (~80 ms).

5. Stop watching (kill switch)

`unwatch_directory`:

{ "path": "/abs/path/to/repo" }

Idempotent — unwatching an already-unwatched path is a no-op.

Latency expectations

| Stage | Typical | |---|---| | Debounce | **500 ms** (MCP schema) | | Incremental persist | ~80 ms | | Save → queryable | ~80–150 ms after debounce |

Output

`watch_directory` returns an immediate acknowledgment; the watcher runs in the background. `list_watched_paths` returns:

{
  "watches": [
    { "path": "...", "repo_id": "...", "branch": "...", "started_at": "...", "origin": "..." }
  ],
  "count": 1
}

There is **no `persist_ms`** field in this response.

Common Mistakes

| Mistake | Reality | |---------|---------| | `watch_directory(path=...)` without `repo_id` | **Both required** | | Watching unindexed repo | Index first | | Expecting `persist_ms` from `list_watched_paths` | Field not in MCP response | | Debounce "50 ms" | Schema documents **500 ms** |

Read more
@syncable-dev
Ships withmemtrace-public

Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.

Stars on GitHub

Momentum

stars in total
516
Star history of syncable-dev/memtrace-public on GitHub, a chart by star-history.com

Other skills on memtrace-public.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about memtrace-continuous-memory.

Which coding agents can use memtrace-continuous-memory?
memtrace-continuous-memory installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.