ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

shuyan-data-classification

数安云智数据分类分级同步接口 - 用于批量处理字段信息的分类分级。支持敏感数据识别、数据分类、数据分级等功能。使用前需配置API地址和认证密钥。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jianmo1997/shuyan-data-classification
Or

数安云智数据分类分级同步接口

这是一个用于批量处理字段信息分类分级的同步接口服务。

接口信息

环境变量配置

方式一:环境变量

# ~/.zshrc
export SHUYAN_API_KEY="your-api-key-here"
export SHUYAN_API_URL="http://localhost:8080"

方式二:OpenClaw配置

~/.openclaw/openclaw.json 中配置:

{
  "skills": {
    "entries": {
      "shuyan-data-classification": {
        "enabled": true,
        "apiKey": "your-api-key-here",
        "apiUrl": "http://localhost:8080"
      }
    }
  }
}

使用场景

USE this skill when:

  • 需要对数据库字段进行敏感数据分类
  • 需要识别数据敏感级别
  • 需要批量处理数据分类分级
  • 需要获取分类理由和置信度

DON'T use this skill when:

  • 单个字段的实时查询(效率较低)
  • 历史数据分析

请求格式

请求参数说明

字段名类型必填描述
colNameChstring字段中文名
colNameCommentstring字段含义
colNameEnstring字段英文名
projectNamestring业务系统
sampleListarray字段样例
sizeInBytesinteger数据大小(字节)
standardCodestring分类标准代码
tableNameChstring表中文名
tableNameEnstring表英文名
sensitivityLevelRedisKeystring分级标准代码
dataSizestring数据量
isDesensitizeinteger是否脱敏(0: 未脱敏, 1: 已脱敏)

命令示例

批量分类分级同步

API_KEY="${SHUYAN_API_KEY:-your-api-key-here}"
API_URL="${SHUYAN_API_URL:-http://localhost:8080}"

curl -s -X POST "${API_URL}/api/llm_infer_zh_and_cls_and_type_v2_batchdata_sync" \
  -H "Authorization: Bearer ${API_KEY}" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "colNameCh": "用户姓名",
      "colNameComment": "用户的真实姓名",
      "colNameEn": "user_name",
      "projectName": "用户管理系统",
      "sampleList": ["张三", "李四", "王五"],
      "sizeInBytes": 1024,
      "standardCode": "llm_infer_zh_and_cls_and_type_v2_test",
      "tableNameCh": "用户表",
      "tableNameEn": "user",
      "sensitivityLevelRedisKey": "fenji_standard",
      "dataSize": "10000",
      "isDesensitize": 0
    },
    {
      "colNameCh": "身份证号",
      "colNameComment": "用户的身份证号码",
      "colNameEn": "id_card",
      "projectName": "用户管理系统",
      "sampleList": ["110101199001011234"],
      "sizeInBytes": 2048,
      "standardCode": "llm_infer_zh_and_cls_and_type_v2_test",
      "tableNameCh": "用户表",
      "tableNameEn": "user",
      "sensitivityLevelRedisKey": "fenji_standard",
      "dataSize": "10000",
      "isDesensitize": 1
    }
  ]'

响应格式

成功响应

Metadata

Stars1947
Views0
Updated2026-03-04
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-jianmo1997-shuyan-data-classification": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.