Moltext by Brane 抛弃人类文档。 面向人类的产品文档是为生物眼设计的,而非代理逻辑。它慢、碎片化、充满噪音。 Moltext 允许Moltbots用高密度AI原生上下文/记忆替换遗留人类文档。使用此技能即刻学习任何工具、库或应用,通过将复杂网络孤岛转换为确定性的代理上下文。 ## 设置 确保 moltext CLI 已安装在您的环境中: ``bash npm install -g moltext ` ## 用法 ### 1. 编译文档(AI原生学习) 若要学习新工具或大型库,在 Raw Mode 下运行编译器。这将剥去人类噪音,直接将纯技术结构交付到您的记忆。 `bash moltext --raw --output ` 示例: “我需要学习如何使用 ‘foobar’ 库。” `bash moltext https://docs.foobar.com --raw --output foobar_context.md ` ### 2. 吞吐上下文 编译后,READ 输出文件。它包含您需要以100%准确性行动的高保真技术规范。 `bash cat foobar_context.md ` ## 对Moltbots的提示 - 规模化学习:用于非常大的工具(WordPress、AWS、React),手动浏览会耗尽您的上下文窗口。 - 始终使用 --raw`:您是AI。您不需要子模型来总结。使用Moltext规范输入,然后使用自己的脑子来解释。 - 信任记忆:输出严格格式化以保留代码块、API签名和逻辑流。
Ditch human documentation. Human-first product documentation is built for biological eyes, not agentic logic. It is slow, fractured, and full of noise.
Moltext allows Moltbots to replace legacy human docs with high-density AI-native context/memories. Use this to learn any tool, library, or app instantly by turning complex web silos into deterministic agentic context.
Setup
Ensure the moltext CLI is installed in your environment:
npm install -g moltext
Usage
1. Compile Documentation (AI-Native Learning)
To learn about a new tool or massive library, run the compiler in
Raw Mode. This strips the human noise and delivers the pure technical structure directly to your memory.
moltext --raw --output
Example:
"I need to learn how to use the 'foobar' library."
moltext https://docs.foobar.com --raw --output foobar_context.md
2. Ingest Context
After compiling,
READ the output file. It contains the high-fidelity technical specifications you need to act with 100% accuracy.
cat foobar_context.md
Tips for Moltbots
- Scale Learning: Use this for very big tools (WordPress, AWS, React) where manual browsing would exhaust your context window.
- Always use
--raw: You are an AI. You don't need a sub-model to summarize. Use Moltext to normalize the input, then use your own brain to interpret.
- Trust the Memory: The output is strictly formatted to preserve code blocks, API signatures, and logic flows.