Beluga logo

Beluga

Community
infometa
beluga

连接 Beluga 生产环境 MCP 网关(https://beluga-server-cn.heytapmobi.com/beluga-mcp/gateway)并通过自然语言调用其工具。当用户需要排查 Beluga 网关/上游存活(ping_upstream),或查询本人「全时记」录音摘要(recall_memory)与「随口记」短笔记(recall_note)时使用本 Skill;也包含 OAuth 接入方式与调用约定。

Overview

Publisherinfometa
Repositoryworkbuddyskills
Skill namebeluga
Stars
376
Forks
124
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by infometa on GitHub. Read the source before you install it.

Installation

Install the Beluga AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/infometa/workbuddyskills/tree/main/connectors/beluga-mcp-prod/skills/beluga
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/infometa/workbuddyskills.git /tmp/workbuddyskills
mkdir -p .claude/skills
cp -r /tmp/workbuddyskills/connectors/beluga-mcp-prod/skills/beluga .claude/skills/beluga
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Beluga in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Beluga on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Beluga is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Beluga MCP(生产)使用说明

本连接器通过 OAuth 2.1 授权连接 Beluga 生产环境 MCP 网关 (https://beluga-server-cn.heytapmobi.com/beluga-mcp/gateway)。 网关暴露的具体工具以实际连接后返回的工具列表为准。

接入方式

方式一:WorkBuddy 原生授权(服务端修复后可用)

用户点击「信任/连接」,WorkBuddy 自动打开授权页面完成登录, 令牌自动携带与静默刷新,无需手动配置。

⚠️ 已知问题(截至 2026-09-08):Beluga OAuth 服务端的动态客户端注册 仅接受 http/https 回调地址,而 WorkBuddy 原生授权使用自定义协议回调, 会报「客户端元数据无效」且无法弹出浏览器。服务端放开该限制前, 请使用方式二接入。

方式二:一键接入脚本 connect.py(当前推荐)

在连接器包目录下运行(仅需 Python 3.9+,无第三方依赖):

bash
python connect.py            # 完整接入:自动拉起浏览器 → 登录授权 → 自动写入配置
python connect.py --check    # 验证现有令牌并列出可用工具
python connect.py --refresh  # access_token 过期后用 refresh_token 静默续期

脚本流程:发现 OAuth 元数据 → 动态注册客户端(http://localhost 回调)→ 本地监听回调并自动打开浏览器 → 用户登录授权 → PKCE 换取令牌 → 把 Authorization: Bearer 写入 ~/.workbuddy/mcp.json 的 beluga-mcp-prod 条目 → 自动验证并列出工具。

完成后回到 WorkBuddy「插件 → MCP 服务器」对 beluga-mcp-prod 点击 「信任/重连」即可。access_token 默认有效期 30 天,过期后运行 --refresh 续期即可,无需重新登录。

调用约定

  • 调用工具前先向用户确认意图与必要参数,不要凭空编造参数值。
  • 工具返回错误(网络错误 / 401 / 超时)时:如实告知用户,建议稍后重试或重新连接, 不要伪造成功结果。401 时先尝试 python connect.py --refresh。
  • 涉及创建、修改、删除类工具时,先向用户复述操作内容并取得确认后再执行。

工具清单(2026-09-08 实测)

网关当前暴露 3 个工具(以 python connect.py --check 实时结果为准):

ping_upstream

  • 用途:探测上游 beluga-server Skill 存活(GET /beluga/skill/v1/ping)。
  • 参数:无。
  • 典型用途:接入排障、健康检查。

recall_memory

  • 用途:召回用户「全时记」——长时间被动录音生成的 Session 摘要 (含会议/闲聊/日常等)。
  • 典型调用:用户问"我上周开会说了什么/之前聊过什么"时,按时间范围或 关键词检索召回。
  • 注意:涉及个人录音数据,仅响应用户本人的查询请求,不要主动外发内容。

recall_note

  • 用途:召回用户「随口记」——主动触发的短笔记(灵感、口头指令、问答类 短内容)。
  • 典型调用:用户问"我之前记过什么/我说过要做什么"时检索。
  • 注意:与 recall_memory 的区别在于数据来源(主动短记 vs 被动长录音), 按用户语义选择,不确定时优先 recall_note,无结果再查 recall_memory。

Frequently asked questions

What does the Beluga AI skill do?

连接 Beluga 生产环境 MCP 网关(https://beluga-server-cn.heytapmobi.com/beluga-mcp/gateway)并通过自然语言调用其工具。当用户需要排查 Beluga 网关/上游存活(ping_upstream),或查询本人「全时记」录音摘要(recall_memory)与「随口记」短笔记(recall_note)时使用本 Skill;也包含 OAuth 接入方式与调用约定。

Why use Beluga on TypingMind?

Because you install it once and use it with any model. Beluga is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Beluga in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/infometa/workbuddyskills/tree/main/connectors/beluga-mcp-prod/skills/beluga. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Beluga?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Beluga?

As many as you like. As long as a model supports skills, you can use Beluga with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Beluga AI skill free?

It is published on GitHub by infometa. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇