reading-data
Installation
SKILL.md
Skill: TraceMem Reading Data (Data Products)
Purpose
This skill teaches how to safely and correctly read data using TraceMem Data Products. Direct database selection or API calls are prohibited; all data access must be mediated by TraceMem.
When to Use
- When you need to retrieve information (database rows, API results, resource state).
- When you need to search or query for specific records.
When NOT to Use
- Do not use for writing data (use
decision_write/insertproduct). - Do not try to use standard SQL libraries or HTTP clients for governed data.
Core Rules
- Decision Envelope REQUIRED: You MUST have an active
decision_idfromdecision_createbefore callingdecision_read. Reading data without a decision envelope will FAIL. - Data Products Only: You must access data via a named "Data Product".
- Operation Specificity: A Data Product usually supports only ONE operation. Use a "read" product (e.g.,
customers_read) for reading. - Purpose is Mandatory: You must declare a
purposestring for every read. This purpose must be in the product'sallowed_purposeslist. - Least Privilege: Only request the data you strictly need.
Related skills
More from tracemem/tracemem-skills
intent-and-automation
Handling user intent and automating memory tasks.
20traces-and-audit
Auditing memory traces and debugging.
17approvals
Guidelines for seeking user approval for sensitive actions.
16notes-and-context
Managing context and notes within the memory system.
16decision-envelope
Using the decision envelope pattern for structured thinking.
15overview
Overview of TraceMem core features, rules, and best practices.
14