open-pstack — what reaches a model's context, and when

open-pstack — what reaches a model's context, and when A data-flow diagram generated by Archify. 01 / Files 02 / Session start 03 / On invoke 04 / By path 05 / Context Mandate file · 11 lines · 01 / Files Mandate file 11 lines SessionStart hook · startup · clear · compact · 02 / Session start SessionStart hook startup · clear · compact Skill frontmatter · name · description · 01 / Files Skill frontmatter name · description Skill list · 39 skills; 24 leaves hidden · 02 / Session start Skill list 39 skills; 24 leaves hidden Skill bodies · SKILL.md text · 01 / Files Skill bodies SKILL.md text Invoked skill · e.g. poteto-mode, ~7k tokens · 03 / On invoke Invoked skill e.g. poteto-mode, ~7k tokens Playbook · leaf · refs · read by relative path · 04 / By path Playbook · leaf · refs read by relative path Parent context · the working session · 05 / Context Parent context the working session Lane prompt file · written by the parent · 01 / Files Lane prompt file written by the parent Runner shaping · env · settings · tools · 03 / On invoke Runner shaping env · settings · tools External lane · prompt only, no parent MCP · 05 / Context External lane prompt only, no parent MCP printf mandate frontmatter names on invoke path when needed argv array clean start Legend primary data read when needed data store data flow