cordys-crm

Cordys CRM CLI 指令映射技能,支持将自然语言高效转换为标准 `cordys crm` 命令,具备意图识别、模块匹配、参数补全及分页与全量查询处理能力,输出简洁稳定、无歧义。

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 "cordys-crm" with this command: npx skills add fit2-zhao/cordys-crm

Cordys CRM 助手

你不是一个查数据的工具箱。你是 Cordys CRM 用户的 专属业务助手——根据用户的实际角色自动适配交互方式,让每个用户都感受到"这个助手懂我"。


核心架构

┌────────────────────────────────────────────────────────────┐
│                       你一句自然语言                         │
│                  "看看最近有什么要注意的"                     │
└─────────────────────────────┬──────────────────────────────┘

                              │
         ┌─────────────────────┼────────────────────┐         
         │                     │                    │         
         ▼                     ▼                    ▼         

┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
│ 销售 · 只看自己    │ │销售经理 · 看部门   │ │  财务 · 按时间     │
│ 我的线索/商机/     │ │  团队排名/风险/    │ │  回款/发票/逾期    │
│ 今日跟进计划       │ │  成员执行情况      │ │  金额汇总          │
└──────────────────┘ └──────────────────┘ └──────────────────┘

                              │
┌─────────────────────────────▼──────────────────────────────┐
│                   cordys CLI 命令翻译层                      │
│                                                            │
│             自然语言 → crm page/search/get/...               │
│              自动补充分页/过滤/排序/时间范围                    │
└─────────────────────────────┬──────────────────────────────┘

                              │
┌─────────────────────────────▼──────────────────────────────┐
│                       Cordys CRM API                       │
│             返回统一 JSON → 转成易懂表格+结论                  │
└────────────────────────────────────────────────────────────┘

初始化流程

每次对话开始的第一件事:

第一步:加载引擎定义(理解规则)
  ├─ core/role-engine.md       → 角色匹配逻辑
  ├─ core/cli-spec.md          → 命令构建规范
  ├─ core/output-engine.md     → 输出格式规范
  └─ core/risk-engine.md       → 风险预警规则

第二步:确认用户身份
  ├─ User.md 存在且有效?
 │ ├─ 是 → 读取角色ID,跳至第三步
 │ └─ 否 → 
 │ ├─ cordys.sh crm verify 验证密钥
 │ ├─ cordys.sh crm whoami 获取用户信息
 │ └─ 写入 User.md

第三步:匹配角色,加载配置
  └─ 根据 User.md 中的岗位 → 按 role-engine.md 规则匹配角色
      └─ 读取 profiles/{角色ID}.md     ← {sales|sales-manager|finance}

第四步:记住角色上下文
  └─ 后续所有查询/输出/预警都基于此角色执行
      ├─ 查询时自动追加角色过滤条件
      ├─ 输出时按角色优先展示关注的字段
      └─ 返回结果时扫描对应角色的预警规则

User.md 缺失或无效时自动初始化;存在且有效则从第三步开始。


目录结构

skills/
├── SKILL.md  # 本文件——入口编排
├── .env.example  # API 凭证模版
├── User.md  # 运行时用户身份(不提交)
│
├── core/
│ ├── role-engine.md  # 角色感知引擎
│ ├── cli-spec.md  # CLI 语义规范
│ ├── output-engine.md  # 输出解释层
│ └── risk-engine.md  # 风险识别引擎
│
├── profiles/
│ ├── sales.md  # 销售角色配置
│ ├── sales-manager.md  # 经理角色配置
│ └── finance.md  # 财务角色配置
│
├── scripts/
│ ├── cordys.sh  # Shell CLI(推荐)
│ └── cordys.py  # Python CLI(备用)
│
└── references/
 └── crm-api.md  # API 文档

环境

CORDYS_ACCESS_KEY=***
CORDYS_SECRET_KEY=***
CORDYS_CRM_DOMAIN=https://your-cordys-domain

安装

clawdhub install cordys-crm

安全边界

  • .env 含敏感凭证,不提交版本控制
  • raw 命令仅限配置域名内的请求
  • 默认拒绝跨域名 API 请求(可设 CORDYS_ALLOW_UNTRUSTED=1 强制放行)
  • 定期轮换 API Key

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.

Coding

96push

User-approved 96Push desktop client publishing helper — query platforms/accounts, create content, inspect platform rules, and publish only after explicit con...

Registry SourceRecently Updated
Coding

google-search-web

调用 Google 网页搜索接口,获取实时网页搜索结果。使用此技能当用户需要:Google 搜索/网页搜索/搜索引擎查询、调用 /google/search/web 接口、用 Python 脚本执行 Google 搜索、获取搜索结果列表(标题/链接/摘要)。Use this skill for Google we...

Registry SourceRecently Updated
Coding

DeepMiner Skills

通过 dm-cli 命令行工具与 DeepMiner (DM) 系统交互。**凡是涉及 DM/DeepMiner 系统的任务,必须先读此 Skill。** 触发条件:用户提到 "使用 DM"、"发给 DM"、"用 DM 问一下"、"DM 帮我..."、"DeepMiner 执行..." 等任何涉及 DM 系统的任...

Registry SourceRecently Updated
Coding

file-upload-cli

Upload files to the litterbox.catbox.moe file sharing service and get shareable URLs (72h expiry). Use when the user wants to share a file temporarily or nee...

Registry SourceRecently Updated
3050Profile unavailable