ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

quicker-connector

与 Quicker 自动化工具集成,读取、搜索和执行 Quicker 动作列表。支持 CSV 和数据库双数据源,智能匹配用户需求并调用本地 QuickerStarter 执行。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/awamwang/quicker-connector
Or

Quicker Connector 技能

📋 概述

Quicker Connector 是一个专业的 Quicker 集成工具,让你能够通过 AI 助手直接检索、匹配和执行 Quicker 软件中的自动化动作。支持两种数据源模式,智能语义匹配,准确理解用户意图。

✨ 核心特性

特性说明
📊 双数据源同时支持 CSV 导出文件和 SQLite 数据库
🔍 多字段搜索按名称、描述、类型、面板等字段搜索
🧠 智能匹配基于关键词提取和语义分析的自动匹配
🎯 精确执行支持同步/异步、参数传递、等待结果
🔧 编码自适应自动检测 UTF-8/GBK 等多种编码
📈 统计信息完整动作分类和面板分布统计
📤 JSON 导出一键导出完整动作列表

🚀 快速开始

1️⃣ 首次初始化

运行引导脚本配置 CSV 路径:

python scripts/init_quicker.py

按提示操作:

  • 在 Quicker 中导出动作列表(工具 → 导出动作列表(CSV))
  • 将 CSV 文件保存到任意位置
  • 输入完整路径完成配置

配置将保存在 config.json

2️⃣ 验证安装

python scripts/test_quicker_connector.py

预期看到:

  • ✅ 编码检测通过
  • ✅ CSV 读取成功,动作数量 > 0
  • ✅ 搜索和匹配功能正常
  • ✅ QuickerStarter 路径检测

3️⃣ 基本使用

from quicker_connector import QuickerConnector

# 创建连接器
connector = QuickerConnector(source="csv")

# 读取所有动作
actions = connector.read_actions()
print(f"共 {len(actions)} 个动作")

# 搜索动作
results = connector.search_actions("截图")
for action in results:
    print(f"- {action.name}")

# 智能匹配
matches = connector.match_actions("帮我翻译这段文字", top_n=3)
for m in matches:
    print(f"{m['action'].name} (分数: {m['score']:.2f})")

# 执行动作
result = connector.execute_action(
    action_id="xxxx",
    wait_for_result=True,
    timeout=10
)
print(f"执行结果: {result.success}, 输出: {result.output}")

🎯 触发示例

用户输入行为
"用 quicker 截图"搜索并推荐截图类动作
"帮我翻译这段文字"匹配翻译相关动作
"列出所有 quicker 动作"返回完整列表和分类统计
"quicker 执行 ID 为 xxx 的动作"直接执行指定动作

📊 数据结构

QuickerAction

@dataclass
class QuickerAction:
    id: str                    # 唯一标识
    name: str                  # 动作名称
    description: str           # 描述
    icon: str                  # 图标路径/URL
    action_type: str           # 类型: XAction/SendKeys/RunProgram...
    uri: str                   # 执行 URI (quicker:runaction:xxx)
    panel: str                 # 所属面板/分类
    exe: str                   # 关联程序名
    associated_exe: str        # 关联可执行文件
    position: str              # 在面板中的位置
    size: str                  # 大小
    create_time: str           # 创建时间
    update_time: str           # 更新时间
    source: str                # 来源动作

QuickerActionResult

@dataclass
class QuickerActionResult:
    success: bool              # 是否成功
    output: str                # 标准输出
    error: Optional[str]       # 错误信息
    exit_code: Optional[int]   # 退出码

⚙️ 配置说明

配置文件 config.json(自动生成):

{
  "csv_path": "/path/to/QuickerActions.csv",
  "initialized": true
}

高级设置(通过技能设置界面):

设置项类型默认说明
auto_select_thresholdfloat0.8自动执行阈值,低于此值会询问用户
max_resultsint10最大返回结果数量
default_sourcestring"csv"数据源类型(csv/db)

🛠️ 高级功能

导出 JSON

将完整动作列表导出为 JSON:

connector.export_to_json("actions.json")

获取统计信息

Metadata

Author@awamwang
Stars3917
Views0
Updated2026-04-08
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-awamwang-quicker-connector": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#automation#productivity#quicker#windows#workflow
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.