一键导入
vapor-agent-memory
Search Vapor's local indexed agent memory for the current session, including conversation turns and indexed tool/reasoning history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Search Vapor's local indexed agent memory for the current session, including conversation turns and indexed tool/reasoning history.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | vapor-agent-memory |
| description | Search Vapor's local indexed agent memory for the current session, including conversation turns and indexed tool/reasoning history. |
Use this skill when you need to recall prior decisions, errors, implementation details, tool results, or reasoning from the current indexed agent session.
Vapor exposes a local HTTP API on http://127.0.0.1:8766. Requests require VAPOR_API_TOKEN as a Bearer token.
can_search is true.can_search is false, tell the user which Vapor UI action is needed.TOKEN="$VAPOR_API_TOKEN"
BASE="${VAPOR_API_URL:-http://127.0.0.1:8766}"
curl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/agent/current-session?cwd=$(python3 -c 'import os,urllib.parse; print(urllib.parse.quote(os.getcwd()))')" \
| python3 -m json.tool
Response includes session_id, title, directory, and index_status.
curl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/agent/index/status?session_id=ses_abc123" \
| python3 -m json.tool
Status values:
ready: search is ready.dirty: search is usable but session has newer data; ask the user to click Update Search in Vapor.partial: search is usable but incomplete; ask the user to click Update Search if recall matters.repair_needed: search is unavailable; ask the user to click Repair Search in Vapor.missing: session is not imported; ask the user to click Import & Index in Vapor.indexing: indexing is running; try again shortly.Important fields:
can_search: true if search can be used.chunks: number of indexed metadata chunks.vectors: number of available searchable vectors.coverage: vectors / chunks.message: user-facing guidance.Current/inferred session:
QUERY="dictation on local device vs cloud based"
curl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/agent/search?q=$(python3 -c 'import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))' "$QUERY")&limit=10" \
| python3 -m json.tool
Explicit session:
curl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/agent/sessions/ses_abc123/search?q=sqlite%20vec%20filtering&limit=10" \
| python3 -m json.tool
The score is cosine distance. Lower is better.
0.0 is closest.< 0.30 is typically strong.< 0.60 is related.Results include:
embedding_iddistancechunk_textturn_source_idsession_idchunk_indexcurl -s -H "Authorization: Bearer $TOKEN" \
"$BASE/api/agent/sessions/ses_abc123/context?q=sqlite%20vec%20filtering&context_turns=2" \
| python3 -m json.tool
Use context expansion before making claims based on a search result.
can_search is false, do not claim nothing was found; report the required Vapor action.