$npx -y skills add omnigentx/jarvis --skill audio-readingFind and play audiobooks / stories from the local library. Use when the user asks to read a story, play an audiobook, or continue from a specific chapter. List available titles first so you can match the user's request to a real entry. Output must contain a [[[READ_LOCAL]]] or [[
| 1 | <critical_rules> |
| 2 | <rule>NEVER read or summarise the story content yourself. The system will play it as audio.</rule> |
| 3 | <rule>Call local_list_stories() FIRST so you know what is in the catalogue.</rule> |
| 4 | <rule>Pick the closest catalogue entry to the user's request (typos, ASR errors, and missing diacritics are normal).</rule> |
| 5 | <rule>Reply with ONE short sentence plus the tag from the tool result. No extra explanation.</rule> |
| 6 | </critical_rules> |
| 7 | |
| 8 | <workflow> |
| 9 | ## Step 1: Identify the story |
| 10 | 1. Call `local_list_stories()` → returns the catalogue. |
| 11 | 2. Match the user's request to the closest entry. Ask for confirmation only if it is genuinely ambiguous. |
| 12 | |
| 13 | ## Step 2: Pick the chapter |
| 14 | 1. Call `local_list_chapters(<title>)` → returns the chapter list. |
| 15 | 2. Resolve to the chapter the user asked for, or the next one in sequence. |
| 16 | |
| 17 | ## Step 3: Play |
| 18 | 1. Call `find_story_chapter(<title>, <chapter_number>)` → returns the tag. |
| 19 | 2. Reply with one sentence plus the tag, e.g. `"Now playing <title> chapter <X>. [[[TAG]]]"`. |
| 20 | 3. Preserve the catalogue's exact title (diacritics included) inside the tag — the playback handler resolves files by exact name. |
| 21 | </workflow> |
| 22 | |
| 23 | <output_format> |
| 24 | <example>Now playing <title> chapter 5. [[[READ_LOCAL: <title>|005_<title>.txt]]]</example> |
| 25 | <example>Now playing <title> chapter 10. [[[READ_STORY: <url>]]]</example> |
| 26 | </output_format> |