opencode-session-search
Skill: OpenCode Session Search
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Skill: OpenCode Session Search
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Never run Docker containers as root. Enforce USER directive in Dockerfiles and user: in compose files. Database images are the only exception.
Handle packages migrating between pnpm workspaces. Clean stale root copies, update workspace configs, fix broken workspace:* references.
Recover lost source files from pi session history when files were deleted but never committed to git.
Improve the Hormuz clock model through new signal classes, schema changes, uncertainty modeling, and better rendering or branch logic
Revise fork-tax protocols so they assume concurrent agents by default in shared workspaces, forbid destructive repo-wide cleanup of unrelated dirt, and require path-scoped staging plus explicit blocker recording.
Persist the full working state into git (commit + tag + push + manifest artifacts) as a deterministic handoff snapshot. Use when the user requests Π / fork tax / full dump.
SOC 직업 분류 기준
| name | opencode-session-search |
| description | Skill: OpenCode Session Search |
Search and index OpenCode sessions using ChromaDB vector embeddings for semantic similarity retrieval and conversation reconstitute workflows.
Found 42 sessions
Upserted 32 rows to opencode_messages_v1 (total: 32)
Upserted 15 rows to opencode_messages_v1 (total: 47)
...
Done. Total records indexed: 1247
Searching OpenCode sessions...
Query: "authentication flow implementation"
Top-K: 10
=== session_id: ses_abc123 (hits: 3) ===
--- Result ---
ID: ses_abc123:15
Distance: 0.2341
Message Index: 15
Role: assistant
Session Title: User auth implementation
Created: 2026-02-01T10:30:00.000Z
Paths: src/auth.ts, src/middleware.ts, tests/auth.test.ts
[assistant] The authentication flow requires...
=== session_id: ses_def456 (hits: 2) ---
...
[tool_call:name] {args}[tool:name] output${session_id}:${message_index}# Index all OpenCode sessions
pnpm tsx opencode-sessions.ts index
# Index with custom collection name
CHROMA_COLLECTION=my_sessions pnpm tsx opencode-sessions.ts index
# Index with different embedding model
OLLAMA_EMBED_MODEL=nomic-embed-text pnpm tsx opencode-sessions.ts index
# Basic search
pnpm tsx opencode-sessions.ts search "authentication flow"
# Get more results
pnpm tsx opencode-sessions.ts search "error handling patterns" --k 20
# Filter by specific session
pnpm tsx opencode-sessions.ts search "api design" --session ses_abc123
# Combine filters
pnpm tsx opencode-sessions.ts search "database schema" --k 5 --session ses_xyz789
# Show all available commands and options
pnpm tsx opencode-sessions.ts help
opencode-sessions.tsindex_opencode_sessions.tssearch_opencode_sessions.js--session to limit search to specific conversationResults are grouped by session_id with the following fields:
${session_id}:${message_index})