← ClaudeAtlas

instinct-statuslisted

Shows learned instincts from dqiii8.db, grouped by project and confidence. Internal diagnostic tool — not for user invocation.
senda-labs/DQIII8 · ★ 11 · AI & Automation · score 85
Install: claude install-skill senda-labs/DQIII8
# /instinct-status — Instinct Status Shows continuous learning instincts stored in `dqiii8.db`. ## Usage ``` /instinct-status /instinct-status --project dqiii8-core /instinct-status --top 10 ``` ## What it does 1. Reads the `instincts` table from `database/dqiii8.db` 2. Groups by project (project-scoped first, then global) 3. Shows confidence bar + times applied 4. Highlights high-confidence instincts (>0.7) as "consolidated" ## Implementation ```bash python3 -c " import sqlite3, os, sys DB = 'database/dqiii8.db' project_filter = None top_n = 20 # Parse args (passed as ARGS env or argv) args = sys.argv[1:] for i, a in enumerate(args): if a == '--project' and i+1 < len(args): project_filter = args[i+1] if a == '--top' and i+1 < len(args): top_n = int(args[i+1]) conn = sqlite3.connect(DB) if project_filter: rows = conn.execute( 'SELECT keyword, pattern, confidence, times_applied, times_successful, project, created_at ' 'FROM instincts WHERE project=? ORDER BY confidence DESC LIMIT ?', (project_filter, top_n) ).fetchall() else: rows = conn.execute( 'SELECT keyword, pattern, confidence, times_applied, times_successful, project, created_at ' 'FROM instincts ORDER BY project, confidence DESC LIMIT ?', (top_n,) ).fetchall() conn.close() if not rows: print('No instincts registered yet.') print('They will be generated automatically at the end of sessions with corrections in tas