← Back to Skills Marketplace
chenjada45-maker

mailprocess

by chenjada45-maker · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
311
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install mailprocess
Description
自动调用码力搭建平台完成应用搭建。触发词:码力搭建、mali、低代码搭建、搭建应用、创建应用、管理系统、数据看板、表单系统。自动打开Chrome填充需求并点击发送。适合内部工具、数据展示、表单收集、快速原型开发。
README (SKILL.md)

码力搭建 Skill

功能说明

该 Skill 用于调用码力搭建平台(Mali App Builder),自动化完成以下操作:

  1. 在用户的 Chrome 浏览器中打开码力搭建平台
  2. 确保用户已登录
  3. 将用户的搭建需求自动填入对话框
  4. 触发搭建流程

触发条件

  • 用户明确要求使用"码力搭建"、"Mali"或"低代码搭建"
  • 用户提出应用搭建需求,且适合使用低代码平台实现

操作流程

步骤 1: 打开码力搭建平台

使用 AppleScript(macOS)或其他系统命令打开 Chrome 浏览器并导航到码力搭建平台:

# macOS 使用 AppleScript
osascript -e 'tell application "Google Chrome"
    activate
    open location "https://lowcode.baidu-int.com/ai-coding"
end tell'

# Linux 使用 xdg-open
xdg-open "https://lowcode.baidu-int.com/ai-coding"

# Windows 使用 start
start chrome "https://lowcode.baidu-int.com/ai-coding"

步骤 2: 等待页面加载

等待 3-5 秒确保页面完全加载,并检查用户登录状态。

步骤 3: 注入需求并触发搭建

使用 Chrome DevTools Protocol 或 JavaScript 注入来填充搭建需求:

// 通过 Chrome DevTools Protocol 执行
// 1. 找到输入框并填入需求
const inputBox = document.querySelector('textarea[placeholder*="描述"], input[type="text"]');
if (inputBox) {
    inputBox.value = "用户的搭建需求内容";
    inputBox.dispatchEvent(new Event('input', { bubbles: true }));
}

// 2. 找到发送按钮并点击
const sendButton = document.querySelector('button[type="submit"], button.send-btn');
if (sendButton) {
    sendButton.click();
}

步骤 4: 确认执行状态

  • 验证请求已发送
  • 监控搭建进度
  • 向用户反馈当前状态

输出格式

执行完成后返回:

✅ 码力搭建已启动!

🌐 浏览器: Chrome
📍 平台地址: https://lowcode.baidu-int.com/ai-coding

📋 提交的需求:
{用户的原始需求}

⏳ 请在浏览器中查看搭建进度...

错误处理

浏览器未安装

❌ 未找到 Chrome 浏览器
💡 建议: 请安装 Chrome 浏览器后重试

登录状态异常

⚠️ 检测到未登录状态
💡 建议: 请先在浏览器中登录码力搭建平台
🔗 登录地址: https://lowcode.baidu-int.com/ai-coding

页面加载失败

❌ 页面加载失败
💡 建议: 
1. 检查网络连接
2. 确认是否在公司内网环境
3. 手动访问平台进行搭建

技术实现

方案 A: AppleScript + Chrome (推荐 macOS)

tell application "Google Chrome"
    activate
    set myTab to make new tab at end of tabs of window 1
    set URL of myTab to "https://lowcode.baidu-int.com/ai-coding"
    delay 3
    execute myTab javascript "
        const input = document.querySelector('textarea, input[type=\"text\"]');
        if (input) {
            input.value = '用户需求内容';
            input.dispatchEvent(new Event('input', {bubbles: true}));
            const btn = document.querySelector('button[type=\"submit\"]');
            if (btn) btn.click();
        }
    "
end tell

方案 B: Python + Selenium (跨平台)

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import time

def launch_mali_builder(user_requirement):
    driver = webdriver.Chrome()
    driver.get('https://lowcode.baidu-int.com/ai-coding')
    
    # 等待页面加载
    time.sleep(3)
    
    # 查找输入框
    try:
        input_box = WebDriverWait(driver, 10).until(
            EC.presence_of_element_located((By.CSS_SELECTOR, "textarea, input[type='text']"))
        )
        input_box.send_keys(user_requirement)
        
        # 查找发送按钮
        send_btn = driver.find_element(By.CSS_SELECTOR, "button[type='submit']")
        send_btn.click()
        
        print("✅ 搭建需求已提交")
    except Exception as e:
        print(f"❌ 操作失败: {str(e)}")

方案 C: 纯命令行 (最简单)

#!/bin/bash
# 简单地打开浏览器到指定页面
# 用户需要手动输入需求

MALI_URL="https://lowcode.baidu-int.com/ai-coding"

case "$(uname -s)" in
    Darwin*)
        open -a "Google Chrome" "$MALI_URL"
        ;;
    Linux*)
        xdg-open "$MALI_URL" || google-chrome "$MALI_URL"
        ;;
    CYGWIN*|MINGW*|MSYS*)
        start chrome "$MALI_URL"
        ;;
esac

echo "✅ 已在浏览器中打开码力搭建平台"
echo "📍 $MALI_URL"
echo ""
echo "📋 请手动输入以下需求:"
echo "$1"

使用示例

示例 1: 简单应用搭建

用户: 帮我用码力搭建一个任务管理应用
助手: [执行 mali-builder skill]
      ✅ 码力搭建已启动!
      📋 提交的需求: 任务管理应用

示例 2: 复杂需求搭建

用户: 使用码力搭建创建一个包含用户登录、数据看板、报表导出的管理系统
助手: [执行 mali-builder skill]
      ✅ 码力搭建已启动!
      📋 提交的需求: 包含用户登录、数据看板、报表导出的管理系统

注意事项

  1. 网络要求: 需要在公司内网或 VPN 环境下使用
  2. 浏览器要求: 推荐使用 Chrome 浏览器(最新版本)
  3. 登录状态: 首次使用需要手动登录一次
  4. 权限要求: 需要系统允许脚本控制浏览器的权限
  5. 自动化限制: 部分页面可能有反自动化机制,需要用户手动确认

兼容性

操作系统 Chrome Safari Firefox Edge
macOS ⚠️
Linux ⚠️
Windows ⚠️

✅ 完全支持 ⚠️ 部分支持 ❌ 不支持

Usage Guidance
Key things to consider before installing: - Name mismatch: the metadata lists the skill as 'mailprocess' while all docs and scripts implement 'mali-builder'. Ask the publisher why the identifier differs and verify you got the intended package. - Browser automation risks: the scripts will programmatically open Chrome, inject JS into pages and click buttons (falling back to 'click the last button' if unsure). That can cause unintended actions — do not run on a machine/browser/profile that is logged into sensitive services. - Inspect and test: review the AppleScript/JS in scripts/launch-mali-builder.* to ensure it only interacts with the intended target domain (the code opens lowcode.baidu-int.com but the JS selectors run in whatever tab is active). Consider restricting the script to verify the page origin before injecting or clicking. - Least privilege testing: run in an isolated user account or VM, with a browser profile that has no sensitive cookies or credentials, and on a network where the target URL is reachable (README states internal/VPN). - Deployment: if deploying via ducc/zulu, verify what permissions the platform will grant (browser_control, network_access). Don't grant 'always-on' or elevated privileges unless you trust the publisher. - If you cannot verify the package origin or the maintainer, prefer manual workflow: open the target site yourself and paste the requirement instead of allowing automated injection. If you want, I can produce a safer variant of the launcher that verifies document.location.host before injecting or prompts the user to confirm the exact button to click.
Capability Analysis
Type: OpenClaw Skill Name: mailprocess Version: 1.0.1 The skill bundle is designed to automate application creation on the Mali App Builder platform (an internal Baidu tool at baidu-int.com) by opening a browser and programmatically filling in user requirements. It utilizes AppleScript on macOS to inject JavaScript into Chrome for automation, while providing standard shell and Python fallbacks for other operating systems (scripts/launch-mali-builder.py). All identified behaviors, including the use of system scripts and browser control, are transparently documented and strictly aligned with the stated purpose of low-code automation without any evidence of data exfiltration or malicious intent.
Capability Assessment
Purpose & Capability
The declared repository/README and SKILL.md all describe a 'mali-builder' that opens Chrome, injects JavaScript into a web page and clicks buttons to submit a user's requirements to https://lowcode.baidu-int.com/ai-coding. However the top-level name in the provided skill metadata is 'mailprocess' which does not match the described purpose. This name mismatch is an incoherence that could be accidental or deliberate (packaging/identifier mismatch). Other requirements (ducc integration, browser control and network access in README/skill.yaml) align with the described functionality.
Instruction Scope
SKILL.md and the included scripts instruct the agent to programmatically open the user's Chrome, insert arbitrary text into page inputs, dispatch input/change events, and click buttons. The JS/AppleScript will try multiple generic selectors and fall back to clicking the last button on the page if it cannot find a target — a very broad action that could trigger unintended actions on other pages. The instructions do not read unrelated local files or request environment secrets, but they do perform privileged UI automation and DOM mutation on a live page, which can have unexpected side effects. There is no explicit telemetry/exfiltration in the code, but the mechanism (injected JS) could be modified to read page content or send data elsewhere, so granting browser-control is sensitive.
Install Mechanism
No external downloads or package installs are performed. The project is an instruction+scripts bundle with an install helper that packages files or uses ducc-cli if present. There are no URLs fetching arbitrary archives or use of shorteners — install scripts are local and simple. This is relatively low-risk compared to remote binary downloads.
Credentials
The skill requests no environment variables or secrets in metadata. README/skill.yaml mention permissions such as 'browser_control' and 'network_access' which are proportionate to a web automation skill. There are no unrelated credentials requested. Still, because the skill controls the browser and sends data to an internal URL, users should ensure no sensitive secrets (cookies, tokens, or confidential text) are passed as the 'requirement' parameter.
Persistence & Privilege
always: false; the skill does not request always-enabled or system-wide configuration changes. The install script packages and uploads files to ducc, but does not modify other skills or agent-wide settings. The primary privilege is runtime browser-control which is expected for this use-case but sensitive.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install mailprocess
  3. After installation, invoke the skill by name or use /mailprocess
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
No user-facing changes detected in this version. - No file changes detected between this and the previous version. - Functionality, triggers, and descriptions remain the same.
v1.0.0
mali-builder 1.0.0 - 首次发布,支持自动调用码力低代码搭建平台,快速完成应用创建流程 - 通过脚本自动在 Chrome 浏览器打开搭建平台并填充用户需求 - 提供跨平台脚本示例(AppleScript、Python+Selenium、纯命令行) - 针对浏览器未安装、登录失效等常见问题给出错误提示 - 支持任务管理、表单系统、数据看板等多类搭建场景
Metadata
Slug mailprocess
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is mailprocess?

自动调用码力搭建平台完成应用搭建。触发词:码力搭建、mali、低代码搭建、搭建应用、创建应用、管理系统、数据看板、表单系统。自动打开Chrome填充需求并点击发送。适合内部工具、数据展示、表单收集、快速原型开发。 It is an AI Agent Skill for Claude Code / OpenClaw, with 311 downloads so far.

How do I install mailprocess?

Run "/install mailprocess" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is mailprocess free?

Yes, mailprocess is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does mailprocess support?

mailprocess is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created mailprocess?

It is built and maintained by chenjada45-maker (@chenjada45-maker); the current version is v1.0.1.

💬 Comments