mistakes
List past mistakes engram has learned in this project — failures, regressions, broken assumptions. Use before starting a…
Show how many tokens engram has saved in this session, this week, and across all indexed projects. Use when the user asks about token usage, savings, costs, or wants a digest report.
$ npx -y skills add NickCirv/engram --skill cost --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/costContext preview
The summary Claude sees to decide when to auto-load this skill.
Show how many tokens engram has saved in this session, this week, and across all indexed projects. Use when the user asks about token usage, savings, costs, or wants a digest report.
description: Show how many tokens engram has saved in this session, this week, and across all indexed projects. Use when the user asks about token usage, savings, costs, or wants a digest report.
Show token-savings telemetry from engram's hook log. Three modes:
1. **Default** — terminal table for the current project: `engram cost` 2. **Multi-project** — across many roots: `engram cost -p /path/a -p /path/b` 3. **Weekly digest** — Markdown file at `~/.engram/cost-report-YYYY-Www.md`: `engram cost --digest`
Run the requested mode and report the totals:
If the user passed "$ARGUMENTS", treat it as flag input (e.g., `--digest`, `-p /path`).
If the table shows zeroes, explain that historic events don't carry the new tokens-saved fields — real numbers populate within ~24 hours of v3.3 install.
**User:** "How much has engram saved me this week?" **You:** Run `engram cost --digest`. Read the output. Quote the totals: tokens saved, reduction ratio, approx USD. Mention the digest file path so the user can paste it into Slack.
**User:** "Show me my engram numbers across all projects" **You:** Multi-project mode. Run `engram cost -p ~/proj-a -p ~/proj-b -p ~/proj-c` (substitute with the user's actual paths if they list them, otherwise default to the current directory).
**User:** "Is engram even doing anything?" **You:** Run `engram cost --json` and pipe to a sanity check. If `events > 0` but `tokensSaved == 0`, the user is on engramx older than 3.3.0 — recommend `npm i -g engramx@latest`. If `events == 0`, the hook isn't installed — recommend `engram install-hook`.
**User:** "Compare cost vs last week" **You:** Two digest files at `~/.engram/cost-report-YYYY-W{N}.md` and `~/.engram/cost-report-YYYY-W{N-1}.md`. Read both, present the deltas in a table.
A local structural code graph and context toolkit for AI coding agents. Engram indexes source entities, Git relationships and selected project memory, then exposes focused context through a CLI, agent hooks, MCP and an authenticated local dashboard.