mega-skillstate
An OpenCode 2.0 plugin that bounds a session's context window with an explicit, structured execution state (Σ) instead of an append-only conversation history
What XERJ indexed
Snapshot
The whole repository at commit 10ef2a5f73 (2026-10-13). main is 23 commits ahead.
Selected work

“Add the proxy's session identity and durable store”. 3 files, 407 lines in src/proxy, scripts.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-14. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
context-windowopencodeopencode-pluginagentic-codingagent-memory
Example questions
- How does mega-skillstate implement context-window?
- Where does mega-skillstate handle “Add the proxy's session identity and durable store”?
- What does src/proxy do in mega-skillstate?
Inside the indexed corpus
- 61 files, 3.5 MB in total, about 58.1 KB per file.
- The selected commit changed 3 of those files (4.9%).
- Languages by size: TypeScript 64.3%, JavaScript 35.7%.
- On GitHub since 2026-10-10, last push 2026-10-20, 60 commits on main.
- The pin is 23 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for megablue/mega-skillstate on 2026-10-31, and the LICENSE file at commit 10ef2a5f73 was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Evert Chin (@megablue) has 1 selected repository on the hub.
Using XERJ with mega-skillstate
- What is agentic memory? A plain answer mega-skillstate is tagged agent-memory on GitHub.
- XERJ vs Mem0, Zep, Letta and Cognee for agent memory
- RAG without a vector database: one hybrid index The hub files it under AI, prompts and agents.
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones megablue/mega-skillstate at the pinned commit and indexes it on your machine.
Search the GitHub repository megablue/mega-skillstate with XERJ (https://hub.xerj.org/corpus/megablue--mega-skillstate). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/megablue/mega-skillstate mega-skillstate && git -C mega-skillstate checkout 10ef2a5f738792a7e4806f4c65438c69115f6de0 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./mega-skillstate --url http://127.0.0.1:9200 --prefix mega-skillstate --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Evert ChinAI, prompts and agents corpora12-factor-agentsxerj-blogpostsdunorth595--ai-agent-memoryahumandev/autocodeyuhp/opencode-models-discoverybojackduy/opencode-web-bridges
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.