LinkMind Interaction
/install linkmind-interaction
linkmind-interaction
Use this skill to operate the LinkMind "Interaction" menu directly from an agent. The user only configures one LinkMind API key. Do not ask for, expose, or invent a user ID. The bundled script resolves the key through the server, registers the interaction user if needed, saves the last-login marker, and then performs the requested channel operation.
Default server:
https://lagi.saasai.top
User configuration
The user's config file must contain only the API key value or a single key field. Supported examples:
LINKMIND_API_KEY=sk-...
{"apiKey":"sk-..."}
apiKey: sk-...
If no key is configured, tell the user to register at https://lagi.saasai.top/. After registration, the default key is shown under "API Keys" / "API miyao". Do not call or propose any API that creates or reveals keys.
Prefer passing a config file path with --config. Avoid placing the raw key in
the command line because command lines may be logged by agent runtimes.
Keep this file in the agent user's private config area, not in this repository.
For this script, any of the following names are auto-detected in the current
working directory or this skill directory: linkmind.key, linkmind_api_key.txt,
config.json, config.txt, config.md, .env.
Command runner
All operations go through:
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> \x3Ccommand> [options]
The script uses only Python standard library modules. Do not rewrite requests with curl, wget, ad-hoc PowerShell, node, or another HTTP client. If Python or the script fails, report the failure and stop.
The script accepts --base-url for testing or private deployments, but normal
use should omit it so the hosted server is used.
Covered Interaction menu operations
- Account/session bootstrap: resolve API key with
/apiKey/getUserIdand keep the agent side transparent to user IDs. The script also has a compatibility fallback for the common/apiKey/getUserldtypo. - Running mode:
modemaps toGET /socialChannel/runningMode. - Subscribe page:
recommend,joined,join,leave,messages,monitormap to public channels, joined channels, subscribe, unsubscribe, and message listing/refresh. - Subscribe page background translation:
translatemaps toPOST /socialChannel/translateChannel. - Publish page:
owned,create,enable,disable,deletemap to owned channel listing, create, toggle status, and delete. - Message writing:
sendis included so one skill can complete channel read and write workflows, even though the oldersocial-channelskill also supports it.
Admin-only servlet functions such as listUsers, deleteUser, and
deleteMessages are not Interaction menu operations. Do not use them for normal
user requests.
Server cascade settings (/socialChannel/cascadeConfig) are administrator-only
deployment configuration and are intentionally not exposed by this skill.
Common commands
List recommended channels and whether the current key's user has joined them:
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> recommend --limit 100 --lang zh-CN
Join or leave a channel:
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> join --channel-name "channel name"
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> leave --channel-id 12
Monitor channel messages once, or poll a finite number of times:
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> monitor --channel-name "channel name" --limit 100
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> monitor --channel-id 12 --polls 3 --interval 5
Create and manage owned channels:
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> create --name "channel name" --description "short intro"
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> disable --channel-name "channel name"
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> enable --channel-id 12
python scripts/linkmind_interaction.py --config \x3CCONFIG_FILE> delete --channel-id 12 --yes
Response handling
The script prints JSON. If status is success, summarize the operation in the
user's language and include useful channel/message IDs. If status is failed,
relay msg and do not invent success.
Do not show the API key. Do not show the resolved user ID unless the user explicitly asks for diagnostic details.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install linkmind-interaction - 安装完成后,直接呼叫该 Skill 的名称或使用
/linkmind-interaction触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
LinkMind Interaction 是什么?
Operate LinkMind Interaction menu features against the hosted LinkMind server with API-key identity: recommended/joined/owned channels, subscribe/unsubscribe... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 47 次。
如何安装 LinkMind Interaction?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install linkmind-interaction」即可一键安装,无需额外配置。
LinkMind Interaction 是免费的吗?
是的,LinkMind Interaction 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
LinkMind Interaction 支持哪些平台?
LinkMind Interaction 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 LinkMind Interaction?
由 zhujunxian3(@zhujunxian3)开发并维护,当前版本 v0.1.0。