quicker-connector

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

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "quicker-connector" with this command: npx skills add awamwang/quicker-connector

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")

获取统计信息

stats = connector.get_statistics()
print(f"总计: {stats['total']}")
print("类型分布:", stats['by_type'])
print("面板分布:", stats['by_panel'])

批量执行准备

actions = connector.read_actions()
xaction_only = [a for a in actions if a.action_type == 'XAction']
print(f"可执行 XAction: {len(xaction_only)} 个")

📝 CSV 格式规范

Quicker 导出的 CSV 文件格式:

sep=,
Id,名称,说明,图标,类型,Uri,动作页,EXE,关联Exe,位置,大小,创建或安装时间,最后更新,来源动作
123,动作名称,动作说明,图标URL,XAction,quicker:runaction:123,默认页,,,0,0,2024-01-01 10:00:00,2024-01-01 10:00:00,

关键字段

  • 类型XActionSendKeysRunProgram
  • Uriquicker:runaction:<动作ID> 格式
  • 动作页:动作所属面板/分类

⚠️ 系统要求

  • 操作系统: Windows(Quicker 仅支持 Windows)
  • Quicker 版本: v2.0+
  • 权限: 需要访问 QuickerStarter.exe
  • Python: 3.8+

🔒 安全说明

  • 所有文件操作仅访问用户指定的路径
  • subprocess 调用严格限制为 QuickerStarter.exe
  • 不收集或传输任何用户数据
  • 无网络访问权限
  • 配置文件中不存储敏感信息

🐛 故障排除

问题解决方案
FileNotFoundError检查 CSV/DB 路径是否正确
编码错误在设置中调整 encodings 顺序
QuickerStarter 未找到手动配置 starter_path
动作执行失败检查动作 ID 和权限,确保 Quicker 正在运行

📚 参考资料

📄 许可证

MIT License - 详见 LICENSE 文件(如有)

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

To-Do

Give your AI the power to act in the future. Schedule delayed prompts and one-off reminders that automatically wake the agent up at an exact moment to execut...

Registry SourceRecently Updated
5190Profile unavailable
Automation

Business Automation Architect

Turn your AI agent into a business automation architect. Design, document, implement, and monitor automated workflows across sales, ops, finance, HR, and support — no n8n or Zapier required.

Registry SourceRecently Updated
2.4K2Profile unavailable
Automation

Clawflow Free

Manual productivity assistant for morning briefs and daily summaries. Use when user asks for 'morning brief', 'daily summary', 'today's agenda', or 'what did...

Registry SourceRecently Updated
2520Profile unavailable
Automation

任务自动续接

任务自动续接技能。检测未完成的任务并提醒 Agent 继续推进。 Keywords: 继续, 没完成, 还没做完, 继续做, 继续推进.

Registry SourceRecently Updated
1270Profile unavailable