$npx -y skills add axoviq-ai/synthadoc --skill markdownIngest Markdown and plain text files
| 1 | # Markdown Skill |
| 2 | |
| 3 | Reads a Markdown or plain text file and returns its content verbatim. |
| 4 | |
| 5 | ## Setup |
| 6 | |
| 7 | No external dependencies — uses only the Python standard library. |
| 8 | |
| 9 | ## Standalone usage |
| 10 | |
| 11 | ```python |
| 12 | import asyncio |
| 13 | from synthadoc.skills.markdown.scripts.main import MarkdownSkill |
| 14 | |
| 15 | skill = MarkdownSkill() |
| 16 | |
| 17 | async def main(): |
| 18 | result = await skill.extract("/path/to/notes.md") |
| 19 | print(result.text) # file contents verbatim |
| 20 | |
| 21 | asyncio.run(main()) |
| 22 | ``` |
| 23 | |
| 24 | ## When this skill is used |
| 25 | |
| 26 | - Source path ends with `.md` or `.txt` |
| 27 | - User intent contains: `markdown`, `text file`, `notes` |