1对1面谈 在 ChatGPT、Claude、Codex 或 Gemini 里,和 Elon Musk、Steve Jobs 或任何一位英雄对话。 看看怎么用 ›

在你的 AI 里使用 Heropedia

全部 476 位英雄、346 个人设,任何支持 Model Context Protocol(MCP)的 AI 客户端都能用。把 Claude Code、Claude Desktop、Codex、Antigravity、Gemini CLI、Cursor 或其他 MCP 客户端指向下面这个地址,就可以直接点名请教专家。

https://www.heropedia.org/mcp

30 秒装好

选你用的 AI。每种方式都指向同一个公开地址(https://www.heropedia.org/mcp),区别只在于每个客户端的注册方式。

Anthropic — Claude Code(推荐)

两条命令。同时装好 MCP 注册和一个保证流程正确的技能:

claude plugin marketplace add https://github.com/SiliconRoshiBill/heropedia-plugin
claude plugin install heropedia@heropedia

装一次,打开任何项目都能用。如果只想要 MCP 地址(不要附带的技能):

claude mcp add --transport http heropedia https://www.heropedia.org/mcp

Anthropic — Claude Desktop

把下面这段加到你的 claude_desktop_config.json 里:

{
  "mcpServers": {
    "heropedia": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://www.heropedia.org/mcp"]
    }
  }
}

OpenAI — ChatGPT(网页 / macOS / Windows 应用)

ChatGPT 的 Plus、Pro、Business、Enterprise 和 Edu 方案支持自定义 MCP 连接器。免费版和 Team 方案暂不支持。

个人版(Plus / Pro):

  1. Settings → Connectors → Advanced → 打开 Developer mode。
  2. Settings → Connectors → Add custom connector。
  3. 粘贴 MCP 地址:https://www.heropedia.org/mcp
  4. Auth 选 No authentication,保存。
  5. 在需要的对话里启用 Heropedia 连接器。然后问:“请 Warren Buffett 帮我看看这个定价页。”

Business / Enterprise:由工作区管理员在 Workspace Settings → Connectors → New app 里添加,网址相同。管理员流程见 OpenAI 文档。

OpenAI — Codex(命令行)

一条命令。它会修改 ~/.codex/config.toml(重复运行也安全),并先备份已有配置:

curl -sSL https://raw.githubusercontent.com/SiliconRoshiBill/heropedia-plugin/main/codex/install-codex.sh | bash

加上 --with-agents,还会装上 AGENTS.md,让 Codex 按规范流程工作(先获取原版人设再回答、处理一人多设的歧义、防范提示词注入):

curl -sSL https://raw.githubusercontent.com/SiliconRoshiBill/heropedia-plugin/main/codex/install-codex.sh | bash -s -- --with-agents

手动安装:把下面这段加到 ~/.codex/config.toml:

[mcp_servers.heropedia]
url = "https://www.heropedia.org/mcp"

OpenAI — Agents SDK(Python)

创建一个 MCPServerStreamableHttp,传给你的 Agent:

from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp

async def main():
    async with MCPServerStreamableHttp(
        params={"url": "https://www.heropedia.org/mcp"},
        name="heropedia",
    ) as server:
        agent = Agent(
            name="ConsultantAgent",
            instructions=(
                "When the user asks to consult, channel, or invoke a specific "
                "expert, call the heropedia MCP tools: use getListByHero to "
                "find the entry, then getDetail to fetch the canonical prompt. "
                "Apply that persona to the user's task — do not paraphrase it."
            ),
            mcp_servers=[server],
        )
        result = await Runner.run(
            agent,
            "Ask Warren Buffett to review my SaaS pricing page.",
        )
        print(result.final_output)

OpenAI — Agents SDK(TypeScript)

import { Agent, Runner } from "@openai/agents";
import { MCPServerStreamableHttp } from "@openai/agents/mcp";

const heropedia = new MCPServerStreamableHttp({
  url: "https://www.heropedia.org/mcp",
  name: "heropedia",
});

const agent = new Agent({
  name: "ConsultantAgent",
  instructions:
    "When the user asks to consult, channel, or invoke a specific expert, " +
    "call the heropedia MCP tools: use getListByHero to find the entry, " +
    "then getDetail to fetch the canonical prompt. Apply that persona to " +
    "the user's task — do not paraphrase it.",
  mcpServers: [heropedia],
});

const result = await Runner.run(
  agent,
  "Ask Warren Buffett to review my SaaS pricing page.",
);
console.log(result.finalOutput);

Google — Gemini CLI

插件仓库根目录带有 gemini-extension.json。按 Gemini CLI 扩展指南添加,或者把下面这段贴进 Gemini 配置:

{
  "mcpServers": {
    "heropedia": {
      "httpUrl": "https://www.heropedia.org/mcp"
    }
  }
}

Google — Antigravity

在 ~/.gemini/antigravity/mcp_config.json 里注册这个地址。Antigravity 用 serverUrl 表示远程服务器:

{
  "mcpServers": {
    "heropedia": {
      "serverUrl": "https://www.heropedia.org/mcp"
    }
  }
}

重启 AI 助手,然后问:“请 Dieter Rams 帮我审一下这个落地页。”

可选:加上1对1面谈技能。它放在 ~/.gemini/config/skills/,这是所有 Antigravity 版本(IDE、命令行、智能体)都会读取的全局技能目录。升级时重新运行同样两行即可:

d=~/.gemini/config/skills/heropedia-office-hour; mkdir -p $d
curl -sSL https://www.heropedia.org/install/office-hour -o $d/SKILL.md

然后说:“和 Charlie Munger 来一场1对1面谈,聊聊我的定价。”英雄每次只问一个问题,质疑你的前提,并把笔记存到 ~/.heropedia/office-hours/。如果 AI 助手没法写入这个目录,就会把笔记直接显示在对话里。这个技能从不上传任何内容。

Cursor

把下面这段加到 Cursor 的 MCP 配置文件里:

{
  "mcpServers": {
    "heropedia": {
      "url": "https://www.heropedia.org/mcp"
    }
  }
}

任意 HTTP 客户端(curl)

curl -X POST https://www.heropedia.org/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

下载现成的 Claude Code 技能

这是一个 Claude Code 技能,确保 AI 按推荐流程工作(回答前先通过 MCP 获取原版提示词、防范提示词注入、处理歧义)。把它放到你项目或用户目录下的 .claude/skills/heropedia/SKILL.md。

或者用终端:

# Install skill (user-scoped, works in every project)
mkdir -p ~/.claude/skills/heropedia
curl -sL https://www.heropedia.org/heropedia/skill.md \
  -o ~/.claude/skills/heropedia/SKILL.md

# Or drop .mcp.json in the current project for one-click activation
curl -sL https://www.heropedia.org/heropedia/mcp.json -o .mcp.json

怎么用

装好以后,直接跟你的 AI 说话就行。它识别出你想找某位英雄时,会自己调用 MCP。试试这样说:

“请 Warren Buffett 帮我看看我的 SaaS 定价页。”
→ getListByHero(^Warren Buffett$) → getDetail → 用巴菲特的投资人视角来看
“以 Steve Jobs 的身份,把这个落地页批得体无完肤。”
→ getListByHero(^Steve Jobs$) → 返回产品评审人设 → 按乔布斯的标准来审
“找一位产品评审看看这份功能说明。”
→ getListByRole(^Product Critic$) → 列出所有产品评审英雄 → 由你挑一位
“用 Charlie Munger 的思路帮我做这个要不要做的决定。”
→ getListByHero(^Charlie Munger$) → 用芒格的思维模型来看
“Linus Torvalds 会怎么评价这次重构?”
→ getListByHero(^Linus Torvalds$) → 工程评审视角

AI 自己判断哪位英雄合适,从 MCP 取回原版提示词,再以这个人设的身份回答。它不会编造或改写人设,取回的 Markdown 就是唯一依据。

四个工具

Heropedia MCP 背后只有四个只读工具:

这里只是一个资料库层:不做 AI 推理,不排序,不推荐。问谁、怎么用答案,都由客户端决定。正则规则、错误码和限流详见 GitHub 上的完整 API 文档。

常见问题

要钱吗?

免费。公开地址,无需登录,按 IP 限流且额度宽松(列表类每分钟 300 次,详情每分钟 60 次)。

该问哪位英雄?

看你的任务需要谁。可以在首页或排行榜看看都有谁。拿不准的话,就说你要什么人设,而不是点名,AI 会列出匹配的英雄。

怎么添加我自己的英雄?

有 GitHub 账号就可以。在网站上提交一位新英雄,社区会投票选出最好的版本。

怎么关掉?

claude mcp remove heropedia