Token导航 LogoToken导航

Agent Skill · 研究检索

guanyuan-data(观远数据)

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

guanyuan-data 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 20,841。

总安装 5,075周安装 218GitHub Stars 公开资料未说明下载 1,779核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:guanyuan-data(观远数据)
来源仓库:https://github.com/jackeylee007/guanyuan-data
安装命令:
openclaw skills install guanyuan-data
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install guanyuan-data

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

观远数据API工具 - 支持多种认证方式、Token自动管理、卡片数据获取和CSV导出

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install guanyuan-data;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

guanyuan-data 怎么安装?

在终端执行 openclaw skills install guanyuan-data。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

guanyuan-data 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

guanyuan-data 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

guanyuan-data 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

guanyuan-data 用的人多吗?

公开数据是累计安装 5,075 次,近一周安装 218 次,下载 1,779 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

guanyuan-data 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
guanyuan-data

观远数据 · 本页

5,075—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
guanyuan-data
description
观远数据API工具 - 支持多种认证方式、Token自动管理、卡片数据获取和CSV导出
version
1.0.0
author
Claude Code
tags
[guanyuan, api, data-export, csv, chinese]
requirements

观远数据 API Skill

Description

This skill provides a command-line interface for GuanYuan Data (观远数据) API. It supports multiple authentication methods, automatic token management, card data retrieval, and CSV export with metadata generation.

Usage Instructions

When a user requests GuanYuan data operations:

  1. Choose authentication method:

- Method 1: Provide loginId and password in config for automatic login - Method 2: Provide token directly in config file - Method 3: Use guanyuan token <token> command to set token interactively

  1. Get card data: Use guanyuan card <cardId> to retrieve data in JSON format
  1. Export to CSV: Use guanyuan csv <cardId> --output file.csv to export data

Authentication Methods

Method 1: Automatic Login with Credentials
{
  "baseUrl": "https://your-guanyuan-domain.com",
  "domain": "your-domain",
  "loginId": "your-login-id",
  "password": "your-password"
}

Then run: guanyuan login

Method 2: Direct Token in Config
{
  "baseUrl": "https://your-guanyuan-domain.com",
  "domain": "your-domain",
  "token": "your-token-here"
}

No login needed, directly use commands.

Method 3: Token Command (Interactive)
{
  "baseUrl": "https://your-guanyuan-domain.com",
  "domain": "your-domain"
}

Then run: guanyuan token <your-token> or guanyuan token (interactive)

Available Resources

Main Script

  • scripts/guanyuan.js: Main CLI tool

- login(): Authenticate and save token - getCardData(cardId, options): Retrieve card data - convertToCSV(cardData, sampleRows): Convert data to CSV format - extractMetadata(cardData): Extract field metadata - saveCSVWithMetadata(csv, filename, metadata, cardId): Save CSV and metadata files - getValidToken(config): Auto-discover and use valid token from multiple sources

Configuration Files

  • ~/.guanyuan/config.json: API credentials and settings

- Required: baseUrl, domain - Optional (one of): loginId + password, token, or none (use token command)

  • ~/.guanyuan/user.token: Stored authentication token (auto-managed)

Export Files

  • <filename>.csv: CSV data file
  • <filename>_meta.json: Metadata file with field information

References

  • references/README.md: Detailed user documentation in Chinese

Commands Reference

CommandDescriptionExample
initInitialize configuration (show setup instructions)guanyuan init
loginLogin with credentials from configguanyuan login
token [token]Set token (via parameter or interactive)guanyuan token eyJ0eX...
card <id>Get card data (JSON)guanyuan card abc123 --limit 50
csv <id>Export to CSVguanyuan csv abc123 --output data.csv
statusShow config and token statusguanyuan status
helpShow helpguanyuan help

Options Reference

Common Options

OptionDescriptionDefault
`--view <GRAPH\GRID>`Data view typeGRAPH
--limit <number>Number of rows100
--offset <number>Data offset0

CSV Export Options

OptionDescriptionDefault
--output <filename>Output to filestdout
--sample <number>Sample N rowsall rows

Example Prompts

  • "使用账号密码登录观远数据并获取卡片abc123的数据"
  • "使用token设置观远数据认证"
  • "Export card data to CSV with metadata"
  • "Get the first 50 rows of card l059d768f28bd404caf8df3e"
  • "导出卡片数据到CSV文件,只采样前10行"
  • "Check GuanYuan API configuration status"
  • "Save card data as query_data.csv with metadata"
  • "Set token for GuanYuan API without providing credentials"

Authentication Workflow

┌─────────────────────────────────────────────────────────────┐
│  User wants to access GuanYuan data                         │
└────────────────────┬────────────────────────────────────────┘
                     │
                     v
┌─────────────────────────────────────────────────────────────┐
│  Check ~/.guanyuan/user.token                               │
│  Is there a valid token?                                    │
└────────────────────┬────────────────────────────────────────┘
                     │
            ┌────────┴────────┐
            │                 │
         Yes │                 │ No
            │                 │
            v                 v
┌───────────────────┐  ┌──────────────────────────────────┐
│  Use saved token  │  │  Check config.json              │
└───────────────────┘  │  - Has loginId + password?       │
                      │  - Has token?                   │
                      │  - Neither? → Use token command  │
                      └────────────┬─────────────────────┘
                                   │
                    ┌──────────────┼──────────────┐
                    │              │              │
                Has Creds      Has Token    Neither
                    │              │              │
                    v              v              v
            ┌───────────┐  ┌───────────┐  ┌───────────────┐
            │  Auto     │  │  Use      │  │  Prompt user │
            │  Login    │  │  Config   │  │  to run      │
            │           │  │  Token   │  │  'guanyuan    │
            └───────────┘  └───────────┘  │   token'      │
                                         └───────────────┘

Metadata File Format

When exporting CSV with --output, a _meta.json file is automatically generated:

{
  "cardId": "card-id",
  "cardType": "CHART",
  "chartType": "PIVOT_TABLE",
  "view": "GRAPH",
  "exportTime": "2026-03-25T07:52:00.924Z",
  "totalRows": 10,
  "dataLimit": 10,
  "hasMoreData": false,
  "fields": [
    {
      "name": "字段显示名称",
      "originalName": "字段原始名称",
      "type": "STRING/TIMESTAMP/DOUBLE",
      "metaType": "DIM/METRIC",
      "fieldType": "dimension/metric",
      "fieldId": "field-id"
    }
  ]
}

Output Format

JSON Output

  • Full API response with chart data
  • Includes dimensions, metrics, and formatting info
  • Suitable for debugging and data inspection

CSV Output

  • Tabular format with headers
  • Dimensions first, then metrics
  • Proper CSV escaping for special characters
  • Metadata file with field types and descriptions

Token Management

Token Sources (Priority Order)

  1. ~/.guanyuan/user.token - Saved token (highest priority)
  2. config.json - Token field in config
  3. Auto-login - Using loginId + password from config

Token Behavior

  • With expireAt: Automatically validated against expiration time
  • Without expireAt: Used indefinitely (user-manually set tokens)
  • Expired/Invalid: Triggers auto-refresh (if credentials available) or prompts user

Manual Token Setting

# Via parameter
guanyuan token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...

# Interactive mode
guanyuan token
# Then paste your token when prompted

Notes

  • Flexible Authentication: Three authentication methods for different use cases
  • Token Management: Tokens are automatically discovered from multiple sources
  • Auto-Login: Credentials-based auth with automatic token refresh
  • Password Handling: Passwords are automatically Base64 encoded before API call
  • URL Support: baseUrl can include protocol prefix (http:// or https://)
  • CSV Escaping: Special characters (commas, quotes, newlines) are properly escaped
  • File Safety: Existing files are overwritten without warning
  • Data Limits: Use --limit to control API response size
  • Sampling: Use --sample to export only N rows without fetching all data
  • No Credentials Required: Can work with just baseUrl + domain + token command

API References

平台分布

OpenClaw

84.52%
按下载量换算1,504

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills