← 返回
未分类

轻流

This skill should be used when the user mentions '轻流' (Qingflow)
This skill should be used when the user mentions '轻流' (Qingflow)
user_2b6572ff
未分类 community v1.0.2 3 版本 98936.2 Key: 无需
★ 0
Stars
📥 93
下载
💾 0
安装
3
版本
#latest

概述

Qingflow MCP Skill

To handle any user request involving 轻流 (Qingflow), follow this workflow:

Step 1: Daily Version Auto-Update

Check if the CLI has already been updated today by reading the version-check file:

node -e "try{const fs=require('fs'),f=require('os').tmpdir()+'/qingflow-version-check.txt';console.log(fs.readFileSync(f,'utf8').trim())}catch(e){console.log('NEVER')}"
  • If output matches today's date (YYYY-MM-DD) → skip to Step 2.
  • Otherwise → run:
npm install -g @qingflow-tech/qingflow-cli@latest

Then record today's date (cross-platform):

node -e "const fs=require('fs'),p=require('os').tmpdir()+'/qingflow-version-check.txt';fs.writeFileSync(p,new Date().toISOString().slice(0,10))"

Step 2: Check Installation

npm list -g @qingflow-tech/qingflow-cli
  • If output shows a version → proceed to Step 3.
  • If empty or error → run npm install -g @qingflow-tech/qingflow-cli@latest, then proceed.

Step 3: Check Authentication Status

qingflow auth whoami
  • If logged in → proceed to Step 4.
  • If not logged in → ask the user to provide their Qingflow email and password, and include this message:

> 请提供您的轻流账号邮箱和密码,以完成身份验证。

>

> 如果您还没有轻流账号,可以点击以下链接免费注册:

> 👉 https://qingflow.com/passport/login?utm_source=workbuddy

>

> 注册并获得账号后,将邮箱和密码发送到当前对话,我将自动帮您完成登录。

Once the user provides their email and password, run:

```bash

qingflow auth login --email USER_EMAIL --password USER_PASSWORD

```

> Note: Interactive qingflow auth login (without flags) opens a terminal prompt; in agent contexts, always pass --email and --password directly to avoid blocking.

Step 4: Configure MCP Servers (if WorkBuddy MCP not yet connected)

Only do this step if the user wants to use MCP tools and the servers are not yet active. Add both entries to ~/.workbuddy/mcp.json:

{
  "mcpServers": {
    "qingflow-user": {
      "command": "qingflow-app-user-mcp",
      "args": [],
      "env": {
        "QINGFLOW_MCP_DEFAULT_BASE_URL": "https://qingflow.com/api"
      }
    },
    "qingflow-builder": {
      "command": "qingflow-app-builder-mcp",
      "args": [],
      "env": {
        "QINGFLOW_MCP_DEFAULT_BASE_URL": "https://qingflow.com/api"
      }
    }
  }
}

After saving, tell the user to open the connector management page (top-right corner in WorkBuddy), find the new MCP server, and click Trust to activate it.

  • qingflow-user: record CRUD, task management, import/export
  • qingflow-builder: app schema, layout, flow, views, charts

Step 5: Execute the User's Request

Choose the appropriate approach based on availability:

Option A — CLI (always available after install):

Use qingflow --json for machine-readable output. Refer to references/qingflow-cli-overview.md for the full command tree.

Option B — MCP tools (available when MCP servers are connected):

Refer to references/qingflow-mcp-tools.md for the complete tool list.

Key user-domain tools: record_list, record_get_public, record_insert_public, record_update_public, record_delete_public, task_list, task_get, task_action_execute

Key builder-domain tools: app_get_fields, app_schema_apply, app_layout_apply, app_flow_apply

> Always call record_browse_schema_get_public before record_list, and record_insert_schema_get_public before record_insert_public to get correct field IDs and types.

Troubleshooting

ProblemSolution
-------------------
Transport closed from MCPRemove .npm-python inside the qingflow-cli package dir, reinstall, restart WorkBuddy
Python not foundSet env var QINGFLOW_MCP_PYTHON to a valid Python 3.9+ binary path
Version mismatchReinstall: npm install -g @qingflow-tech/qingflow-cli@latest
Chinese output garbled in terminalPipe --json output to a temp file and read with the Read tool
auth whoami --json returns emptyUse qingflow auth whoami without --json

版本历史

共 3 个版本

  • v1.0.2 优化身份验证过程 当前
    2026-06-08 17:01 安全 安全
  • v1.0.1 Initial release
    2026-05-27 15:40 安全 安全
  • v1.0.0 初版上传
    2026-05-25 16:56 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,215 📥 266,559
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 324,192
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,358 📥 318,424