一键导入
ltmserver
Start, stop, or check the LTM graph visualization server; use when the user asks to open, launch, stop, kill, or check graph-server status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start, stop, or check the LTM graph visualization server; use when the user asks to open, launch, stop, kill, or check graph-server status.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
USE WHEN separating trusted instructions from untrusted content or tool output.
USE WHEN hardening command execution, path handling, or installer boundaries.
USE WHEN handling credentials, env vars, logs, tests, or docs safely.
Reference for LTM memory commands, context hooks, and DB schema; use when the user mentions learning, recalling, forgetting, relating, or capturing memory, or when a session starts or the project changes.
Mines LTM memories from past git commits. Use when onboarding a repo into LTM, backfilling history after enabling gitLearn, or harvesting patterns after a sprint.
Reference for retrieved patterns and lessons from past sessions; use when prior fixes, gotchas, decisions, or earlier sessions may apply, or when asked what we learned before.
| name | LtmServer |
| description | Start, stop, or check the LTM graph visualization server; use when the user asks to open, launch, stop, kill, or check graph-server status. |
| disable-model-invocation | true |
| user-invocable | false |
| version | 1.1.0 |
Obsidian-style force graph at http://localhost:7332 visualizing openltm.db.
| Detail | Value |
|---|---|
| UI (Next.js) | :7332 — open this in browser |
| API + WebSocket | :7331 — Next.js proxies /api/* here |
| PID file | ~/.claude/tmp/ltm-server.pid |
| Log file | ~/.claude/tmp/ltm-server.log |
| Server | ${CLAUDE_PLUGIN_ROOT}/src/graph-server.ts |
| UI source | ${CLAUDE_PLUGIN_ROOT}/graph-app/ |
| User says | Action |
|---|---|
| start / open / launch | → Workflows/Start.md |
| stop / kill / close | → Workflows/Stop.md |
| status / running? | Check PID file, report URL or "not running" |
PID_FILE="$HOME/.claude/tmp/ltm-server.pid"
if [ -f "$PID_FILE" ]; then
PID=$(cat "$PID_FILE")
if kill -0 "$PID" 2>/dev/null; then
echo "Running — PID $PID — http://localhost:7332 (Next.js) + http://localhost:7331 (API)"
else
echo "Not running (stale PID file)"
fi
else
echo "Not running"
fi