CMD: READ INTERCEPT RETURN CHECK DB CACHED MISS FETCHED User Claude Code Optimizer Hook Patterns DB File System / API