- name
- deaiify
- description
- Ban LLM em-dashes and en-dashes before delivery, rewrite via embedded LLM.
- homepage
- https://github.com/shawnpetros/deaiify
- metadata
deAIify Plugin
Enforces the "no em dashes" rule across all output by intercepting messages, detecting U+2013 (en dash) and U+2014 (em dash), and forcing a rewrite turn via embedded LLM correction.
What it does
- Detects U+2013 and U+2014 in outbound messages
- Calls embedded LLM to rewrite without dashes (preserves meaning, tone, style)
- Returns corrected output to user
- Never touches U+002D (hyphen-minus in code)
- Excludes content inside code blocks and inline code
How it works
before_agent_replyintercepts the completed assistant text before delivery- Detects banned dash characters outside of code blocks
- Calls
runEmbeddedPiAgentwith a restructuring prompt - Verifies the rewrite is sane (word count and length checks)
- Returns the rewritten reply
Installation
openclaw plugin install deaiifyConfiguration
| Option | Type | Default | Description |
|---|---|---|---|
rewriteTimeoutMs | integer | 15000 | Timeout in ms for the embedded rewrite call |
The plugin uses the session's default model for rewrites. No model config needed.