重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
sugarcrm by membranedev/application-skills
npx skills add https://github.com/membranedev/application-skills --skill sugarcrmSugarCRM 是一个客户关系管理(CRM)平台。它帮助销售、营销和客户服务团队在整个客户生命周期中管理客户互动和数据。各种规模的企业都使用它来提高销售业绩、营销效果和客户满意度。
官方文档:https://support.sugarcrm.com/Documentation/
此技能使用 Membrane CLI 与 SugarCRM 交互。Membrane 会自动处理身份验证和凭据刷新——因此您可以专注于集成逻辑,而不是身份验证的底层细节。
安装 Membrane CLI,以便您可以从终端运行 membrane 命令:
npm install -g @membranehq/cli
membrane login --tenant
浏览器窗口将打开以进行身份验证。
运行该命令,复制打印出的 URL 供用户在浏览器中打开,然后使用 完成。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
membrane login complete <code>创建新连接:
membrane search sugarcrm --elementType=connector --json
从 output.items[0].element?.id 中获取连接器 ID,然后:
membrane connect --connectorId=CONNECTOR_ID --json
用户在浏览器中完成身份验证。输出中包含新的连接 ID。
当您不确定连接是否已存在时:
检查现有连接:
membrane connection list --json
如果存在 SugarCRM 连接,请记下其 connectionId。
当您知道要做什么但不知道确切的操作 ID 时:
membrane action list --intent=QUERY --connectionId=CONNECTION_ID --json
这将返回包含 id 和 inputSchema 的操作对象,以便您知道如何运行它。
| 名称 | 键 | 描述 |
|---|---|---|
| 筛选相关记录 | filter-related-records | 通过特定关系获取与父记录相关的筛选记录 |
| 创建任务 | create-task | 在 SugarCRM 中创建新任务 |
| 向记录添加备注 | add-note-to-record | 向任何记录(客户、联系人、潜在客户、商机等)添加备注 |
| 批量 API 请求 | bulk-api-request | 在单个调用中执行多个 API 请求,以最小化往返次数 |
| 列出模块 | list-modules | 获取 SugarCRM 中所有可用模块的列表 |
| 获取模块元数据 | get-module-metadata | 获取特定模块的元数据(字段、关系等) |
| 获取当前用户 | get-current-user | 获取当前已认证用户的信息 |
| 取消关联记录 | unlink-records | 移除记录与相关记录之间的关系 |
| 关联记录 | link-records | 在记录与一个或多个相关记录之间创建关系 |
| 获取相关记录 | get-related-records | 通过特定关系获取与父记录相关的记录 |
| 搜索记录 | search-records | 使用简单查询字符串跨模块字段搜索记录 |
| 删除记录 | delete-record | 从任何模块删除记录(软删除) |
| 更新记录 | update-record | 更新任何模块中的现有记录 |
| 创建记录 | create-record | 在任何模块中创建新记录 |
| 获取记录 | get-record | 通过 ID 从任何模块获取单个记录 |
| 列出记录 | list-records | 从模块中列出记录,支持可选筛选、排序和分页 |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --json
要传递 JSON 参数:
membrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"
当现有操作无法满足您的用例时,您可以通过 Membrane 的代理直接向 SugarCRM API 发送请求。Membrane 会自动将基础 URL 附加到您提供的路径,并注入正确的身份验证头信息——包括在凭据过期时透明的凭据刷新。
membrane request CONNECTION_ID /path/to/endpoint
常用选项:
| 标志 | 描述 |
|---|---|
-X, --method | HTTP 方法(GET、POST、PUT、PATCH、DELETE)。默认为 GET |
-H, --header | 添加请求头(可重复),例如 -H "Accept: application/json" |
-d, --data | 请求体(字符串) |
--json | 发送 JSON 请求体并设置 Content-Type: application/json 的简写 |
--rawData | 按原样发送请求体,不进行任何处理 |
--query | 查询字符串参数(可重复),例如 --query "limit=10" |
--pathParam | 路径参数(可重复),例如 --pathParam "id=123" |
membrane action list --intent=QUERY(将 QUERY 替换为您的意图)以查找现有操作。预构建的操作处理了原始 API 调用可能遗漏的分页、字段映射和边界情况。每周安装量
100
代码仓库
GitHub 星标数
18
首次出现
14 天前
安全审计
安装于
amp100
gemini-cli100
github-copilot100
codex100
kimi-cli100
cursor100
SugarCRM is a customer relationship management (CRM) platform. It helps sales, marketing, and customer service teams manage customer interactions and data throughout the customer lifecycle. Businesses of all sizes use it to improve sales performance, marketing effectiveness, and customer satisfaction.
Official docs: https://support.sugarcrm.com/Documentation/
This skill uses the Membrane CLI to interact with SugarCRM. Membrane handles authentication and credentials refresh automatically — so you can focus on the integration logic rather than auth plumbing.
Install the Membrane CLI so you can run membrane from the terminal:
npm install -g @membranehq/cli
membrane login --tenant
A browser window opens for authentication.
Headless environments: Run the command, copy the printed URL for the user to open in a browser, then complete with membrane login complete <code>.
Create a new connection:
membrane search sugarcrm --elementType=connector --json
Take the connector ID from output.items[0].element?.id, then:
membrane connect --connectorId=CONNECTOR_ID --json
The user completes authentication in the browser. The output contains the new connection id.
When you are not sure if connection already exists:
Check existing connections:
membrane connection list --json
If a SugarCRM connection exists, note its connectionId
When you know what you want to do but not the exact action ID:
membrane action list --intent=QUERY --connectionId=CONNECTION_ID --json
This will return action objects with id and inputSchema in it, so you will know how to run it.
| Name | Key | Description |
|---|---|---|
| Filter Related Records | filter-related-records | Get filtered records related to a parent record through a specific relationship |
| Create Task | create-task | Create a new task in SugarCRM |
| Add Note to Record | add-note-to-record | Add a note to any record (Account, Contact, Lead, Opportunity, etc.) |
| Bulk API Request | bulk-api-request | Execute multiple API requests in a single call to minimize round trips |
| List Modules | list-modules | Get a list of all available modules in SugarCRM |
| Get Module Metadata | get-module-metadata | Get metadata (fields, relationships, etc.) for a specific module |
| Get Current User | get-current-user | Get information about the currently authenticated user |
| Unlink Records | unlink-records | Remove a relationship between a record and a related record |
membrane action run --connectionId=CONNECTION_ID ACTION_ID --json
To pass JSON parameters:
membrane action run --connectionId=CONNECTION_ID ACTION_ID --json --input "{ \"key\": \"value\" }"
When the available actions don't cover your use case, you can send requests directly to the SugarCRM API through Membrane's proxy. Membrane automatically appends the base URL to the path you provide and injects the correct authentication headers — including transparent credential refresh if they expire.
membrane request CONNECTION_ID /path/to/endpoint
Common options:
| Flag | Description |
|---|---|
-X, --method | HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
-H, --header | Add a request header (repeatable), e.g. -H "Accept: application/json" |
-d, --data | Request body (string) |
--json | Shorthand to send a JSON body and set Content-Type: application/json |
--rawData |
membrane action list --intent=QUERY (replace QUERY with your intent) to find existing actions before writing custom API calls. Pre-built actions handle pagination, field mapping, and edge cases that raw API calls miss.Weekly Installs
100
Repository
GitHub Stars
18
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
amp100
gemini-cli100
github-copilot100
codex100
kimi-cli100
cursor100
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
48,700 周安装
| Link Records | link-records | Create a relationship between a record and one or more related records |
| Get Related Records | get-related-records | Get records related to a parent record through a specific relationship |
| Search Records | search-records | Search records across fields in a module using a simple query string |
| Delete Record | delete-record | Delete a record from any module (soft delete) |
| Update Record | update-record | Update an existing record in any module |
| Create Record | create-record | Create a new record in any module |
| Get Record | get-record | Get a single record by ID from any module |
| List Records | list-records | List records from a module with optional filtering, sorting, and pagination |
| Send the body as-is without any processing |
--query | Query-string parameter (repeatable), e.g. --query "limit=10" |
--pathParam | Path parameter (repeatable), e.g. --pathParam "id=123" |