Skip to content

Tomatio13/markdown-reader-skill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

markdown-reader

agent skill Agent Skills

JA doc EN doc

An Agent Skill for progressively reading Markdown. Get the outline first, then extract only the sections you need.

βœ… What it does

  • 🧭 Get a heading outline
  • βœ‚οΈ Extract only the needed sections
  • 🧩 Read step by step for better understanding

πŸ“₯ Expected input

  • README.md
  • Markdown specs or guides

πŸ“€ Output (summary)

  • Heading outline
  • Extracted section content

πŸ’‘ Example prompts

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:

screenshot

πŸ“¦ Prerequisite - Python 3

Python 3 is required. This skill ships with a lightweight treemd-compatible script. Use the script from the skill's scripts/ directory.

πŸ“¦ Install this skill

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.

⚠️ Notes

  • --section requires an exact heading match
  • If a heading is not found, check spelling and hierarchy

πŸ—‚οΈ Files

  • markdown-reader/SKILL.md
  • markdown-reader/scripts/md-index.py
  • markdown-reader/references/md-index.md

Acknowledgements

  • Inspired by treemd for compatible CLI behavior.

About

An Agent Skill for reading Markdown with progressive disclosure.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages