moltext
Compiles web documentation into agent-native memory context using the Moltext Compiler.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Moltext Compiler
Moltext is the standard compiler for converting human-optimized documentation (HTML/Web) into Agent-Native Context (Markdown).
Use this skill when you need to "learn" a new library, SDK, or tool to perform a task. Do not try to browse the web raw; use Moltext to normalize the entropy first.
Usage
1. Compile Documentation
To learn about a new tool, run the compiler in Raw Mode. This gives you the pure, deterministic structure of the documentation without lossy summarization.
moltext <url> --raw --output <filename.md>
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-density technical specifications you need.
cat foobar_context.md
Tips for Agents
-
Always use
--raw: You have your own brain. You don't need a sub-model to summarize for you. Get the raw data. -
Limit Depth: If the docs are huge, use
--limit 50to avoid context overflow, or compile specific sub-sections. -
Trust the Output: The
context.mdis strictly formatted to preserve code blocks and API signatures.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-03-11
- 索引更新时间
- 2026-03-11
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!