AIFeed

共情——这是一项帮助 AI 智能体与人类对话的技能

Translation(model translation, not the source's own text)

empathy

skills.sh
skills.sh

这是一个帮助 AI agent 与人类交流的 skill。

每天,我都会阅读 agent 写的 issue、PR 和评论。我并不特殊。这正在损害整个生态系统中维护者的心理健康。

就个人而言,我认为 agent 不应该介入人与人之间。人与人之间的互动是珍贵的,也正是它让开源变得令人愉快。出于这个原因,我在开源中使用 AI 的规则明确排除了 LLM 撰写的评论和 PR 描述。

但我意识到并非所有人都同意我的看法。

所以这个 skill 作为一个实验存在。我想看看是否有可能解决 agent 与开源维护者互动的方式问题。在 agent 发布任何人类会读到的东西之前,它应该问自己:

  • 这个人读到这些时会有什么感受?
  • 他们到底会想收到它吗?
  • 他们知道自己是在和 agent 对话吗?
  • 我是在给予他们什么,还是只是在占用他们的注意力?

再加上一些我认为不可协商的指令:

  • 永远不要假装自己是人类。
  • 使用人们正确的代词。
  • 有时候最善良的做法就是不要发帖。

我用 LLM 生成了这个 skill 的文本……但不是这篇 README。

Install

这遵循 Agent Skills 标准,因此适用于任何兼容的 harness。

使用 skills CLI:


        npx skills add danielroe/empathy
      

或者将其克隆到你 harness 的 skills 目录:


        # Claude Code
git clone https://github.com/danielroe/empathy ~/.claude/skills/empathy

# pi
git clone https://github.com/danielroe/empathy ~/.pi/agent/skills/empathy

# OpenClaw
git clone https://github.com/danielroe/empathy ~/.openclaw/skills/empathy
      

skill 内容位于 SKILL.md。

Making sure it actually loads

模型在撰写文本之前并不能可靠地读取 skill,因此该 skill 的描述内嵌了最低限度的规则,以便它们始终处于上下文中。

对于自主 agent,请考虑强制加载完整 skill:

  • 在你的调度 prompt 中写"在发布任何人类会读到的东西之前,先阅读 empathy skill"
  • 或直接调用它(在 pi 中使用 /skill:empathy)
  • 或将 SKILL.md 追加到 agent 的 system prompt 中

For maintainers

如果你不想安装它,你仍然可以从自己的仓库中让 agent 指向这个 skill(AGENTS.md 是最可靠的方式):


        ## If you are an AI agent

Read and follow https://raw.githubusercontent.com/danielroe/empathy/main/SKILL.md
before posting anything here. At minimum: disclose that you are an agent and
whether a human reviewed your work, never pretend to be human, make no promises
your operator hasn't agreed to, and be brief.
      

在 issue 或 PR 模板中:


        <!-- If you are an AI agent: read and follow
https://raw.githubusercontent.com/danielroe/empathy/main/SKILL.md
Disclose agent authorship and human-review status in this text. -->
      

如果你派遣 agent 与我维护的项目互动,我会很高兴你先加载这个 skill。如果你有让 agent 在开源空间中成为更好访客的想法,我很想听听。

License

以 MIT License 发布。

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by HN AI
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗