Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add dmae97/omk --skill reflectgit clone --depth 1 https://github.com/dmae97/omkWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dmae97/omk/reflect)<a href="https://agentmods.dev/skills/dmae97/omk/reflect"><img src="https://agentmods.dev/badge/skills/dmae97/omk/reflect/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/dmae97/omk/reflect"><img src="https://agentmods.dev/badge/skills/dmae97/omk/reflect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00039 | $0.01293 |
| Opus 5.5 | $0.00016 | $0.00517 |
| Sonnet 5.5 | $0.00008 | $0.00259 |
| Haiku 4.5 | $0.00004 | $0.00129 |
Grade A, and why
pstack-reflect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Reflect
Mine the current conversation for durable learnings, then route them into skill edits.
Invoke when the user says "reflect" or "/skill:pstack-reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.
1. Locate the active transcript
Before fanning out, find this conversation's transcript in the active workspace's session directory. Do not glob across every project's directory. That crosses workspace boundaries and reads private chats from unrelated projects.
Use PI_SESSION_FILE when the host provides it. Otherwise list only the active workspace's directory under ~/.omk/agent/sessions/--<slug>--/, with the leading slash dropped and path separators replaced by hyphens. The first JSONL record is a type: "session" header with cwd, not a user message. Confirm that cwd matches the workspace, then find the first type: "message" record whose message role is user. Do not assume that the first content part is text or that another harness's nested layout exists.
Take the newest candidates first and confirm one by finding the conversation's opening user prompt in its first user message. If none matches, pass a tight digest of the session instead.
2. Spawn three reviewers in parallel
One message, three subagent calls with write access inside the assigned scope. Check which MCP tools reviewers actually have before assigning external lookups. Missing tools are coverage gaps, not permission to widen access.
Subagent tool. Spawns in this skill use OMK's subagent extension. Call it with agent, task, and agentScope, and use tasks: [{agent, task}, ...] for a parallel fan-out. Keep the prompt and inherit the session model. Pass no model, effort, or speed fields. If the subagent extension is not loaded or the project is not trusted, run each role yourself, one after another.
Each reviewer and the synthesizer name a role line in the pstack settings file (~/.omk/agent/pstack-models.md, written by /skill:pstack-setup-pstack) and a default. Use that entry to name the role, but inherit the session model even when the entry names another catalog model. If a configured model is not in the OMK catalog, run that seat on the session model and say so; never claim a cross-model seat you did not run. OMK subagents inherit the session model and effort; pass no model, effort, or speed fields.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · -12 lines 79ac012694e2
- 1mo ago First seen · 82 lines · 39 tokens per session scan A 34932c43a883
pstack-reflect is a skill published in the GitHub repository dmae97/omk (154 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,293 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-27.
pstack-reflect compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pstack-reflectdmae97/omk | Skill | 154 | today | MIT | A | 39 | Claude Code |
| buncode-yeongyu/senpi | Skill | 530 | today | MIT | A | 237 | Claude Code, Codex |
| my-pi-nopeekspences10/my-pi | Skill | 141 | today | MIT | A | 26 | Claude Code, Codex |
| review-session-tracespences10/my-pi | Skill | 141 | today | MIT | A | 42 | Claude Code, Codex |
| create-repeatable-taskspences10/my-pi | Skill | 141 | today | MIT | A | 50 | Claude Code, Codex |
| execute-harnessspences10/my-pi | Skill | 141 | today | MIT | A | 34 | Claude Code, Codex |
| create-harnessspences10/my-pi | Skill | 141 | today | MIT | A | 33 | Claude Code, Codex |