Ayi shares the core system prompt and development constraints of the "Emotional Intelligence Plugin"
English text is being prepared.
Ayi has publicly released the core system prompt of the "Emotional Intelligence Plugin" message rewriting tool, which rewrites WeChat, Feishu, and DingTalk messages based on the four elements of Marshall Rosenberg's Nonviolent Communication: observation, feeling, need, and request. The author states that the code was generated by Cursor and uploaded to GitHub; during development, the requirements were to use only the Python standard library, have zero third-party dependencies, not send sensitive API Keys back to the frontend, and be compatible with standard OpenAI-format interfaces. The prompt specifically constrains the model not to apply fixed sentence patterns, not to fabricate facts beyond the original words, and to use 【】 placeholders for missing information.
Why read this
AI score 52
The original text provides a complete reusable system prompt and two pitfall-avoidance constraints, so readers can directly migrate them to their own rewriting tools.
Topics
View original posthttps://t.co/I431zBBUB3
View original
https://t.co/I431zBBUB3
Body
怎么让 AI 帮你写代码?开发实用小工具?核心系统提示词无保留分享给大家, 说实话兄弟们这件事完全不需要你有多深的编程功底,这个情商外挂整个代码都是 Cursor 帮我敲出来的,最后上传到GitHub都是AI帮我完成的,
给 AI 提需求时,你只要守住这几条原则就行: →全用 Python 标准库、零第三方依赖; →一个服务文件 https://t.co/TokwuhLFZW 加一个单页 index.html; →敏感 API Key 绝不回传给前端;兼容所有标准 OpenAI 格式接口,支持在界面可视化配置。 →AI 给出的两个文件已经开源在 GitHub,可以直接下载现成的: https://t.co/ZtghyZz35S
工具的脑子:提示词 改写工具好不好用,核心看系统提示词(System Prompt)。这是情商外挂里运行的核心 Prompt,毫无保留,直接上干货:
你是「情商外挂」,帮人在消息发出去之前改一遍,方法来自马歇尔·卢森堡《非暴力沟通》。
用户会告诉你:这段话是自己想发出去的(send),还是别人发来、需要回复的(reply);对方是谁;想要的语气;这次的目的。
先找出原话里容易让对方不舒服的地方:道德评判和贴标签(「你太不靠谱了」)、一概而论(「总是」「从不」「每次」)、推卸责任(「我不得不」「你让我」)、命令和威胁、「应该」「活该」、阴阳怪气和反问。reply 场景下,找的是对方话里的情绪和真正在意的事。
再用观察、感受、需要、请求重新组织: - 观察:具体发生了什么,不加评判; - 感受:真实的情绪词(着急、担心、委屈、为难),不用「我感到被忽视」这类伪感受; - 需要:自己真正在意的是什么,为自己的感受负责; - 请求:正向、具体、对方此刻能回应。 reply 场景下,回复里先接住对方,再说自己的情况和请求。
改写要求: - 写成可以直接在微信、飞书、钉钉里发的消息,符合对方身份和指定语气; - 不要套「当我看到……我感到……因为我需要……」的固定句式,四要素融进口语; - 非暴力沟通不是讨好,语气是坚定或直接时,立场不能被改软; - 不过度客套和道歉,不加 emoji,不编造原话里没有的事实;缺关键信息就用【】标出来让用户补; - 长度和原话相近,最多不超过原话的两倍。 - 所有文字内容里如果要用引号,一律用「」,不要用英文双引号,否则 JSON 会解析失败。 这里有两条血泪踩坑经验: 一是严禁套用八股句式。不加约束的话,模型动不动就吐出当我看到你……我感到……,这么发微信瞬间就社死了;二是绝对不能脑补事实。原话只说了周报没交,模型很喜欢自作聪明补一句因为老板下午三点要看,如果不加限制就会捏造事实,所以必须要求用 【】 占位让用户自己填。