How avinthaf/ways works
ways is a Claude Code plugin that makes generated text easier to read by applying a user-selected mode, and offers commands for changing that mode, rewriting existing text, and presenting plans section by section. Its documented runtime centers on mode selection and prompt-time rule injection; on-demand rephrasing is a separate path. Relationships below are based on the README only; no source excerpts were provided.
Main entry points: inject-mode.sh Mode injection · SKILL.md On-demand rephrase · ways-mode.md Mode selection · ways-plan.md Sectioned planning
Components 12
User commands
- Mode selection
commands/ways-mode.md - Sectioned planning
commands/ways-plan.md - On-demand rephrase
skills/ways-rephrase/SKILL.md
Prompt-time steering
- Saved mode config
- Session and prompt hooks
hooks/hooks.json - Mode injection
hooks/scripts/inject-mode.sh
Rewrite rules
- Shared mode rules
skills/ways-rephrase/modes/_shared.md - ADHD rules
skills/ways-rephrase/modes/adhd.md - Dyslexia rules
skills/ways-rephrase/modes/dyslexia.md - Simplification rules
skills/ways-rephrase/modes/dumb-it-down.md
Other components
- User
- Claude Code
Connections 13
- User → Mode selection: selects mode
README.md - Mode selection → Saved mode config: saves selection
README.md - User → Sectioned planning: requests plan
README.md - User → On-demand rephrase: requests rewrite
README.md - Session and prompt hooks → Mode injection: runs hook
README.md - Mode injection → Saved mode config: reads mode
README.md - Mode injection → ADHD rules: injects rules
- Mode injection → Dyslexia rules: injects rules
- Mode injection → Simplification rules: injects rules
- Mode injection → Claude Code: steers generation
README.md - On-demand rephrase → Claude Code: requests rewrite
README.md - Sectioned planning → Claude Code: presents sections
README.md - On-demand rephrase → Shared mode rules: uses mode rules