← 返回 Skills 市场
zhujunxian3

LinkMind Interaction

作者 zhujunxian3 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
47
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install linkmind-interaction
功能描述
Operate LinkMind Interaction menu features against the hosted LinkMind server with API-key identity: recommended/joined/owned channels, subscribe/unsubscribe...
使用说明 (SKILL.md)

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/getUserId and keep the agent side transparent to user IDs. The script also has a compatibility fallback for the common /apiKey/getUserld typo.
  • Running mode: mode maps to GET /socialChannel/runningMode.
  • Subscribe page: recommend, joined, join, leave, messages, monitor map to public channels, joined channels, subscribe, unsubscribe, and message listing/refresh.
  • Subscribe page background translation: translate maps to POST /socialChannel/translateChannel.
  • Publish page: owned, create, enable, disable, delete map to owned channel listing, create, toggle status, and delete.
  • Message writing: send is included so one skill can complete channel read and write workflows, even though the older social-channel skill 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.

安全使用建议
Install only if you intend to let an agent manage your LinkMind account and channels on the hosted server. Keep the API key in a private config file passed with --config, review targets before any send/create/disable/delete action, and require explicit confirmation before channel deletion or other persistent changes.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose matches the implemented behavior: it reads a LinkMind API key, contacts the hosted LinkMind server, lists channels/messages, sends messages, and creates, toggles, joins, leaves, translates, or deletes channels.
Instruction Scope
The skill documents state-changing commands and includes a delete example using --yes, but the skill-level instructions do not clearly require a separate user confirmation or warn about rollback/consequences for destructive remote actions.
Install Mechanism
The artifact contains only a markdown skill file and one Python standard-library script; no package installation, dependency fetching, shell persistence, or hidden install behavior was found.
Credentials
Network access and API-key use are expected for the stated hosted-service integration, and the server URL is disclosed. The script can auto-detect common config filenames in the current working directory or skill directory, which is disclosed but should be used carefully.
Persistence & Privilege
The skill can mutate persistent server-side state, including sending messages, creating channels, enabling/disabling channels, unsubscribing, and deleting owned channels. These capabilities are purpose-aligned but high-impact and under-scoped in the user-facing safety instructions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install linkmind-interaction
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /linkmind-interaction 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: agent-side LinkMind interaction channel operations with API-key authentication.
元数据
Slug linkmind-interaction
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论