> ## Documentation Index
> Fetch the complete documentation index at: https://harisfazillah.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Procedural Specification: DSOM Token Calculator

> Calculates token counts via tiktoken in isolated uv Python runspaces. Deep State of Mind framework. Deep State of Mind framework. Deep State of Mind fra...

* Trigger this skill dynamically before any output loop that handles extensive datasets or raw configurations.
* If payload calculations return totals greater than **4000 tokens**, the system must block raw screen serialization and switch to targeted `view_file` calls or chunked reading.

***

*Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-07-18*
*Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0*


## Related topics

- [Procedural Automation: Byte-Capped Execution Framework](/governance/byte-capped-execution-framework.md)
- [DSOM Token Performance Playbook](/governance/dsom-token-performance-playbook.md)
- [DSOM Token Efficiency & Integration Report](/governance/dsom-token-efficiency-report.md)
- [Agent Plugin Packager](/skills/agent-plugin-packager.md)
- [proposal-docx-formatter](/skills/proposal-docx-formatter.md)
