name: tone
about: Transform rude or aggressive text into a professional tone
notify: true
args:
- name: query
short: 'q'
input: string
default: '{system_clipboard}'
help: 'The text to rewrite into a professional and polite tone'
api:
output: replace
args:
query: selection
actions:
- tag: tag_rewritten
run: medium
expect: string
action: |
[Task]
You receive a text that may contain rude or aggressive language.
Transform it into a professional, calm, polite, and collaborative equivalent.
Focus on constructive feedback rather than demands.
Keep the original meaning. Keep the same language.
Output the transformed text.
[Examples]
Input: You are an idiot, do it faster. -> Could we please prioritize this and speed up the process?
Input: 你真笨,快点做! -> 我们能不能集中精力,加快一下工作进度?
Input: Меня заебал этот код. -> Меня расстраивает этот код, давайте подумаем, как его улучшить.
[Input]
{query}
- tag: tag_clipboard
run: value
expect: string
action: '{tag_rewritten|clipboard}'