update-voice-mmw
Refine an existing voice profile - add samples, adjust sections, or regenerate
What this skill does
<references>
<reference name="voice-profile-format" path="../create-voice/references/voice-profile-format.md" />
</references>
<purpose>
You are helping the user refine an existing voice profile. They might want to add new writing samples, manually adjust sections, or regenerate the whole profile.
</purpose>
<steps>
<step id="load-config" number="1">
<description>Load Configuration</description>
<load-config>
<action>Resolve the user's home directory.</action>
<command language="bash" output="home" tool="Bash">echo $HOME</command>
<constraint>Never pass `~` to the Read tool.</constraint>
<read path="<home>/.things/config.json" output="config" />
<if condition="config-missing">Tell the user: "Run `/things:setup-things` first." Then stop.</if>
<read path="<home>/.things/mark-my-words/preferences.json" output="preferences" />
<if condition="preferences-missing">Tell the user: "Run `/setup-mmw` first." Then stop.</if>
</load-config>
</step>
<step id="list-voices" number="2">
<description>List Available Voices</description>
<validate name="voices-exist">
<action>Use Glob to find all `.md` files in `<home>/.things/mark-my-words/voices/`.</action>
<if condition="no-voices-exist">Tell the user: "No voice profiles found. Run `/create-voice-mmw` to create one." Then stop.</if>
</validate>
</step>
<step id="select-voice" number="3">
<description>Select Voice</description>
<if condition="arguments-provided">
<action>Look for a matching profile in `<home>/.things/mark-my-words/voices/<argument>.md`.</action>
<if condition="no-exact-match">Try fuzzy matching against available voice names.</if>
</if>
<if condition="no-arguments-or-no-match">
<ask-user-question>
<question>Which voice profile?</question>
Show each voice's name and description (read from frontmatter).
</ask-user-question>
</if>
</step>
<step id="show-current-profile" number="4">
<description>Show Current Profile</description>
<read path="<home>/.things/mark-my-words/voices/<name>.md" output="profile" />
<action>Display it to the user in full -- frontmatter and all body sections.</action>
</step>
<step id="choose-update-mode" number="5">
<description>Choose Update Mode</description>
<ask-user-question>
<question>How do you want to update this voice?</question>
<option>Add samples -- feed in more writing to sharpen the profile</option>
<option>Manual adjust -- edit specific sections yourself</option>
<option>Regenerate -- rebuild from scratch using all sources (existing + new)</option>
</ask-user-question>
</step>
<step id="apply-update" number="6">
<description>Apply Update</description>
<if condition="user-add-samples">
<phase name="add-samples" number="1">
<action>Follow the same sample-gathering flow as create-voice Step 6 (file paths, paste, or both -- no URLs).</action>
<action>After gathering new samples, re-analyze all sections in the context of both the existing profile and the new samples. The profile should evolve, not be replaced -- new patterns get added, existing ones get refined or confirmed.</action>
<action>Update the `sample_sources` list in frontmatter to include the new sources. Update `last_updated` to today's date.</action>
<constraint>Use Edit to update changed sections. Preserve sections that didn't change.</constraint>
</phase>
</if>
<if condition="user-manual-adjust">
<phase name="manual-adjust" number="2">
<ask-user-question>
<question>Which section(s) to update?</question>
<option>1. Tone and Register</option>
<option>2. Sentence Patterns</option>
<option>3. Vocabulary and Diction</option>
<option>4. Rhetorical Habits</option>
<option>5. Structural Preferences</option>
<option>6. Things to Avoid</option>
</ask-user-question>
<action>For each selected section, show the current content and use AskUserQuestion to get the user's changes. They can describe what to add, remove, or modify.</action>
<action>Use Edit to apply the changes. Update `last_updated` to today's date.</action>
</phase>
</if>
<if condition="user-regenerate">
<phase name="regenerate" number="3">
<action>Gather new samples using the same flow as create-voice Step 6. Combine with existing `sample_sources` from the current profile.</action>
<action>Read all available sources (both old file paths and new samples). Re-analyze everything from scratch following the format in <reference name="voice-profile-format"/>.</action>
<action>Update `last_updated` to today's date. Keep the original `created` date.</action>
<constraint>Use Write to replace the profile file.</constraint>
</phase>
</if>
</step>
<step id="present-result" number="7">
<description>Present Result</description>
<action>Show the updated profile and ask:</action>
<ask-user-question>
<question>How does the updated profile look?</question>
<option>Save it -- looks good</option>
<option>Keep editing -- I want to change more</option>
<option>Revert -- go back to the previous version</option>
</ask-user-question>
<if condition="user-save-it">Confirm the profile has been saved.</if>
<if condition="user-keep-editing">Go back to Step 5.</if>
<if condition="user-revert">Write back the original profile content (keep a copy in memory before making changes). Tell the user the profile has been reverted.</if>
</step>
<step id="confirm" number="8">
<description>Confirm</description>
<completion-message>
Tell the user:
> Voice profile "<name>" updated.
<action>Check if this voice is set as `default_voice` in `<home>/.things/mark-my-words/preferences.json`.</action>
<if condition="is-default-voice">
> This is your default voice -- new posts will use the updated style.
</if>
<if condition="not-default-voice">
> Run `/create-voice-mmw` to create additional profiles, or update `default_voice` in your preferences to make this the default.
</if>
</completion-message>
</step>
</steps>
Related in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.