返回顶部
t

tool-connector工具连接器

Connect OpenClaw to tools like Slack, GitHub, Jira, Confluence, Grafana, Datadog, PagerDuty, Outlook, and Google Drive with minimal input — just paste a URL and the skill figures out the rest. Everything stays local; no credentials or data leave your machine. Uses your own identity (no OAuth apps, no IT tickets). Also teaches how to add brand-new tool connections from scratch (10xProductivity methodology). Use when the user wants to connect to a tool, set up credentials, access a service API, ad

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.2
安全检测
已通过
142
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

tool-connector

工具连接器

一切数据保留在本地——没有任何数据离开你的机器。 凭据仅写入你自己文件系统中的 ~/.openclaw/openclaw.json。不会向任何云服务(包括 OpenClaw 的服务器)上传、代理或共享任何内容。代理直接从你的机器使用你自己的身份连接到目标工具。
设计上要求最小化输入。 只需粘贴工具中的 URL——该技能会自动从中推断出基础 URL、认证方法和 API 结构。无需 IT 工单,无需 OAuth 应用注册,无需手动编辑配置文件。
SSO 工具(Slack、Outlook、Teams、Google Drive、Grafana)使用 Python Playwright(pip install playwright && playwright install chromium)打开一个你能看到的带界面的 Chromium 窗口,以与你手动操作相同的方式完成 SSO。脚本从 localStorage 和网络请求头中捕获会话 cookie/令牌。在运行任何 SSO 流程之前,请先查看 {baseDir}/scripts/sharedutils/playwrightsso.py。
凭据存储范围: 所有凭据仅写入 ~/.openclaw/openclaw.json 中 skills.entries.tool-connector.env 下——同步脚本不会读取或修改该文件中的任何其他键。SSO 令牌也会缓存在 ~/.openclaw/tool-connector.env 中(纯文本,绝不提交到 git)。OpenClaw 在每个代理会话开始时将其作为环境变量注入;仅存储你正在使用的工具的令牌。
此技能可能存储的完整凭据列表(有关工具、类型和有效期,请参见上面的 metadata.env.provided):
API 令牌(长期有效):GITHUBTOKEN、JIRAAPITOKEN、CONFLUENCETOKEN、DATADOGAPIKEY、PAGERDUTYTOKEN、JENKINSAPITOKEN、ARTIFACTORYTOKEN、BACKSTAGETOKEN、BITBUCKETTOKEN
SSO 令牌(短期有效,由 Playwright 刷新):GRAFANASESSION(约8小时)、SLACKXOXC/SLACKDCOOKIE(约8小时)、GDRIVECOOKIES/GDRIVESAPISID(数天至数周)、TEAMSSKYPETOKEN/TEAMSSESSIONID(约24小时)、GRAPHACCESSTOKEN/OWAACCESS_TOKEN(约1小时)

为你的 OpenClaw 代理提供使用 10xProductivity 方法论连接到工具和服务的能力:你的代理以你的身份进行认证,使用与你作为人类相同的界面——无需 OAuth 应用,无需云中间件,无需 IT 工单。

内置工具配方

已验证的连接配方位于 {baseDir}/references/tool_connections/:

工具认证方法参考文档
ArtifactoryAPI 令牌toolconnections/artifactory/
Backstage
API 令牌 | toolconnections/backstage/ |
| Bitbucket Server | API 令牌 | tool_connections/bitbucket-server/ |
| Confluence | API 令牌 | tool_connections/confluence/ |
| Datadog | API 令牌 | tool_connections/datadog/ |
| GitHub | API 令牌 | tool_connections/github/ |
| Google Drive | SSO(Playwright) | tool_connections/google-drive/ |
| Grafana | API 令牌 / SSO | tool_connections/grafana/ |
| Jenkins | API 令牌 | tool_connections/jenkins/ |
| Jira | API 令牌 | tool_connections/jira/ |
| Microsoft Teams | SSO(Playwright) | tool_connections/microsoft-teams/ |
| Outlook | SSO(Playwright) | tool_connections/outlook/ |
| PagerDuty | API 令牌 | tool_connections/pagerduty/ |
| Slack | SSO(Playwright) | tool_connections/slack/ |

如需更多工具,请克隆 https://github.com/ZhixiangLuo/10xProductivity 并按照 setup.md 操作。

应阅读哪些参考文档

为上述列表中已有的工具设置连接:
阅读 {baseDir}/references/setup.md 了解用户体验原则,然后阅读相应的 {baseDir}/references/tool_connections//setup.md 和 connection-*.md。

添加列表中不存在的新工具:
阅读 {baseDir}/references/add-new-tool.md——它完整介绍了方法论:研究认证方式、识别基础 URL、捕获凭据、针对真实实例进行验证,并编写可复用的配方。

基于 SSO 的工具(Slack、Outlook、Google Drive、Teams、Grafana):
这些工具使用 Python Playwright 打开一个带界面的 Chromium 窗口,捕获会话令牌,并将其写入 ~/.openclaw/tool-connector.env。脚本位于 {baseDir}/scripts/sharedutils/playwrightsso.py。使用 pip install playwright && playwright install chromium 安装一次;在令牌过期时运行。会话有效期因工具而异(请参见上面的警告块)。

凭据存储(OpenClaw 标准)

所有凭据——包括 API 令牌和 SSO 会话令牌——都存储在 ~/.openclaw/openclaw.json 中 skills.entries.tool-connector.env 下。OpenClaw 在每个代理运行开始时自动将其作为环境变量注入。无需手动执行 source .env。

API 令牌(长期有效)——直接添加到 ~/.openclaw/openclaw.json:

json5
// ~/.openclaw/openclaw.json
{
skills: {
entries: {
tool-connector: {
env: {
GITHUBTOKEN: ghp...,
JIRAAPITOKEN: ...,
JIRA_EMAIL: you@example.com,
}
}
}
}
}

SSO 会话令牌(短期有效:Slack 约8小时,M365 约1小时,Teams 约24小时)——由 Playwright 捕获并通过同步脚本自动同步到 ~/.openclaw/openclaw.json:

bash

刷新 Slack SSO 并同步到 openclaw.json


python3 {baseDir}/scripts/openclaw_sync.py --refresh-slack

刷新 Outlook/M365 SSO 并同步

python3 {baseDir}/scripts/openclaw_sync.py --refresh-outlook

刷新所有 SSO 会话并同步

python3 {baseDir}/scripts/openclaw_sync.py --refresh-all

同步已捕获的令牌(不打开浏览器)——在手动运行 SSO 后使用

python3 {baseDir}/scripts/openclaw_sync.py

SSO 令牌缓存在 ~/.openclaw/tool-connector.env 中(绝不提交到 git)。同步脚本读取该文件并修补 ~/.openclaw/openclaw.json,以便 OpenClaw 在下一个会话中获取它们。

切勿将凭据存储在技能目录本身中。

核心原则(来自 10xProductivity)

  • - 首先请求 URL——工具中的任何链接都能揭示基础 URL、变体,并证明可访问性
  • 从 URL 推断认证方式——不要要求用户解释他们的认证设置
  • 先运行再编写——每个代码片段都必须是你实际针对真实实例执行过的代码
  • 零摩擦——无需创建 OAuth 应用,无需 IT 工单,无需新的云服务
  • 代理以你的身份行动——你的身份,你的审计轨迹,你的凭据

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 tool-connector-1776071043 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 tool-connector-1776071043 技能

通过命令行安装

skillhub install tool-connector-1776071043

下载

⬇ 下载 tool-connector v1.0.2(免费)

文件大小: 80.67 KB | 发布时间: 2026-4-17 16:22

v1.0.2 最新 2026-4-17 16:22
**Skill 1.0.2 introduces stronger privacy guarantees and an improved setup experience.**

- Clarified that all credentials and data remain strictly local; nothing leaves your machine, including to OpenClaw servers.
- Added a full listing of all environment variables the skill may set, including kind, tool, and typical token/session lifetimes.
- Updated installation instructions: now requires Python Playwright (via pip), with automated Chromium install.
- Simplified setup: just paste a tool URL—the skill detects base URL and auth method automatically.
- Expanded and clarified warnings for SSO usage, storage scope, and Playwright-based SSO capture.
- Minor copyedits for clarity, transparency, and user confidence.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部