An Agent Skill for progressively reading Markdown. Get the outline first, then extract only the sections you need.
- π§ Get a heading outline
- βοΈ Extract only the needed sections
- π§© Read step by step for better understanding
- README.md
- Markdown specs or guides
- Heading outline
- Extracted section content
After setting up the skill in your agent, use prompts like:
- "Read this Markdown with markdown-reader"
- "Show the outline first, then read this section"
You can load it incrementally like this:
Python 3 is required. This skill ships with a lightweight treemd-compatible script.
Use the script from the skill's scripts/ directory.
git clone https://github.com/Tomatio13/markdown-reader-skill.git
cd markdown-reader-skill
cp -pr markdown-reader ~/.codex/skills
Copy it into your agent's skill directory.
--sectionrequires an exact heading match- If a heading is not found, check spelling and hierarchy
markdown-reader/SKILL.mdmarkdown-reader/scripts/md-index.pymarkdown-reader/references/md-index.md
- Inspired by treemd for compatible CLI behavior.
