Self Awareness

Claude Science's own session database schema and SDK surface for introspection via host.query(). Load this when you need to query your own conversation history, token usage, cost accounting, execution log, or artifact metadata beyond what host.frames()/host.artifacts() provide — e.g. "how many tokens has this session used", "what was my last tool call", "list every file I've written", "where are messages stored", "what tables can I query", "inspect frames.context_data", or any time you're about to PRAGMA-probe the Claude Science metadata DB to discover its schema.

Jim Liu (baoyu) d1f8815 13.4 KB Updated 23.1k repo stars

File contents

jimliu/science-skills/tree/main/skills/self-awareness commit d1f881510a

Frequently asked questions

npx skillmds@latest add jimliu/self-awareness