← Back to list

schema-ref
by Rwb3n
⭐ 0🍴 0📅 Jan 22, 2026
SKILL.md
name: schema-ref description: Database schema reference for haios_memory.db. MUST be used before any SQL query to verify table and column names. Use when verifying schema, checking table structure, or before database operations.
generated: 2025-12-09
System Auto: last updated on: 2025-12-10 18:37:23
Schema Reference
Requirement Level
MUST NOT use this skill directly. Use via the schema-verifier subagent, which is REQUIRED for any SQL query (enforced by PreToolUse hook).
UPDATED Session 53: Use MCP tools instead of direct SQL commands.
MCP Tools (Preferred)
Use these tools from the haios-memory MCP server:
mcp__haios-memory__schema_info() # List all tables
mcp__haios-memory__schema_info("concepts") # Get columns for specific table
mcp__haios-memory__db_query("SELECT ...") # Run read-only queries
Common Tables
| Table | Purpose |
|---|---|
| concepts | Extracted concepts with embeddings |
| entities | Named entities (people, files, etc.) |
| reasoning_traces | ReasoningBank query history |
| synthesis_clusters | Grouped similar concepts |
| synthesis_provenance | Bridge insight sources |
| artifacts | Processed file metadata |
Full Schema Reference
For complete schema definition: @docs/specs/memory_db_schema_v3.sql
Output Format
Return ONLY:
- Table name (verified exists)
- Column names and types
- Any relevant constraints
Do NOT return the full schema file content.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon