Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

dingodingo 命令行

Agent Skill

dingo 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,139

周安装

261

GitHub Stars

3

下载量

2,151
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install dingo

简介

使用基于规则或基于 LLM 的指标以及 Dingo 灵活的多格式评估框架和 CLI/SDK 支持来评估 AI 训练和 RAG 数据质量。

SKILL.md

Data Quality Evaluation with Dingo

Dingo: A Comprehensive AI Data, Model and Application Quality Evaluation Tool.

  • GitHub: https://github.com/MigoXLab/dingo
  • SaaS Platform: https://dingo.openxlab.org.cn/ (free, no install needed)
  • PyPI: https://pypi.org/project/dingo-python/

Installation

pip install dingo-python

Optional extras

pip install "dingo-python[agent]"    # Agent-based evaluation (fact-checking)
pip install "dingo-python[hhem]"     # HHEM hallucination detection
pip install "dingo-python[all]"      # Everything

Verify installation

python -c "from dingo.config import InputArgs; print('Dingo OK')"

Two evaluation modes

Rule-basedLLM-based
API key requiredNoYes (any OpenAI-compatible API)
SpeedFastSlower (API calls)
CostZeroPer-token cost
Metrics50+ deterministic rulesText quality, RAG, 3H, security
Best forFormat checks, PII, completenessSemantic quality, faithfulness

Core workflow

  1. Prepare data: JSONL, JSON, CSV, plaintext, or Parquet file
  2. Choose evaluators: Rule-based (free, fast) or LLM-based (semantic understanding)
  3. Run evaluation: CLI with config file or Python SDK
  4. Review results: summary.json + per-item JSONL reports in output directory

CLI Usage

Dingo CLI takes a JSON config file as input:

dingo eval --input config.json

Minimal rule-based config

{
  "input_path": "data.jsonl",
  "dataset": {"source": "local", "format": "jsonl"},
  "evaluator": [
    {
      "fields": {"content": "content"},
      "evals": [
        {"name": "RuleColonEnd"},
        {"name": "RuleSpecialCharacter"},
        {"name": "RuleContentNull"}
      ]
    }
  ]
}

LLM-based config

{
  "input_path": "data.jsonl",
  "dataset": {"source": "local", "format": "jsonl"},
  "evaluator": [
    {
      "fields": {"content": "content"},
      "evals": [
        {
          "name": "LLMTextRepeat",
          "config": {
            "model": "deepseek-chat",
            "key": "${OPENAI_API_KEY}",
            "api_url": "https://api.deepseek.com/v1"
          }
        }
      ]
    }
  ]
}

RAG evaluation config

RAG evaluation requires specific fields mapped from the dataset:

{
  "input_path": "rag_output.jsonl",
  "dataset": {"source": "local", "format": "jsonl"},
  "evaluator": [
    {
      "fields": {
        "user_input": "user_input",
        "response": "response",
        "retrieved_contexts": "retrieved_contexts",
        "reference": "reference"
      },
      "evals": [
        {"name": "Faithfulness", "config": {"model": "deepseek-chat", "key": "${OPENAI_API_KEY}", "api_url": "https://api.deepseek.com/v1"}},
        {"name": "ContextPrecision", "config": {"model": "deepseek-chat", "key": "${OPENAI_API_KEY}", "api_url": "https://api.deepseek.com/v1"}}
      ]
    }
  ]
}

Multi-field evaluation config

Evaluate different columns with different rules:

{
  "input_path": "qa_data.jsonl",
  "dataset": {"source": "local", "format": "jsonl"},
  "evaluator": [
    {
      "fields": {"content": "answer"},
      "evals": [{"name": "RuleColonEnd"}, {"name": "RuleSpecialCharacter"}]
    },
    {
      "fields": {"content": "question"},
      "evals": [{"name": "RuleContentNull"}]
    }
  ]
}

SDK Usage

For programmatic use inside Python scripts:

from dingo.config import InputArgs
from dingo.exec import Executor

if __name__ == '__main__':
    input_data = {
        "input_path": "data.jsonl",
        "dataset": {"source": "local", "format": "jsonl"},
        "evaluator": [
            {
                "fields": {"content": "content"},
                "evals": [
                    {"name": "RuleColonEnd"},
                    {"name": "RuleSpecialCharacter"}
                ]
            }
        ]
    }
    input_args = InputArgs(**input_data)
    executor = Executor.exec_map["local"](input_args)
    result = executor.execute()
    print(result)

Config reference

Dataset configuration

FieldValuesDescription
sourcelocal, huggingface, s3, sqlData source type
formatjsonl, json, csv, plaintext, parquetFile format

Executor configuration

FieldDefaultDescription
max_workers1Parallel evaluation workers
batch_size10Items per batch
result_save.badtrueSave items that fail evaluation
result_save.goodfalseSave items that pass evaluation
result_save.mergefalseMerge all results into single file

Evaluator configuration

Each evaluator group has:

FieldRequiredDescription
fieldsYesMaps Dingo fields to dataset columns
evalsYesList of evaluators to apply
evals[].nameYesEvaluator class name
evals[].configFor LLMLLM config: model, key, api_url

Field mapping

The fields object maps Dingo's internal field names to your dataset's column names:

Dingo fieldDescriptionUsed by
contentMain text content to evaluateMost rule/LLM evaluators
promptInstruction/question fieldInstruction quality evaluators
imageImage path or URLVLM evaluators
user_inputUser queryRAG evaluators
responseModel responseRAG evaluators
retrieved_contextsRetrieved context listRAG evaluators
referenceGround truth referenceRAG evaluators

Available evaluators

Rule-based (no API key needed)

CategoryExamples
Content checksRuleContentNull, RuleContentShort, RuleDocRepeat
Format checksRuleColonEnd, RuleSpecialCharacter, RuleAbnormalChar
Quality checksRuleLongWord, RuleHighPPL, RulePunctuation
PII detectionRulePII, RuleUrl, RuleEmail
LanguageRuleChineseChaos, RuleChineseTraditional

LLM-based (requires API key)

CategoryEvaluators
Text qualityLLMTextRepeat, LLMTextQualityV5
RAG metricsFaithfulness, ContextPrecision, ContextRecall, AnswerRelevancy, ContextRelevancy
SafetyLLMSecurityProhibition
3H evaluationLLMText3HHelpful, LLMText3HHarmless, LLMText3HHonest

Agent-based (requires pip install "dingo-python[agent]")

EvaluatorDescription
ArticleFactCheckerAutonomous fact-checking with ArXiv/web search tools

Output structure

Dingo writes results to an output directory:

outputs/<timestamp>/
├── summary.json                    # Overall statistics
└── <field_group>/
    ├── QUALITY_BAD/
    │   ├── RULE_COLON_END.jsonl    # Failed items by metric
    │   └── ...
    └── QUALITY_GOOD/
        └── ...                     # Passed items (if result_save.good=true)

summary.json format

{
  "task_name": "...",
  "total_count": 100,
  "good_count": 85,
  "bad_count": 15,
  "good_ratio": 0.85,
  "metric_detail": {
    "RuleColonEnd": {"count": 5, "ratio": 0.05},
    "RuleSpecialCharacter": {"count": 10, "ratio": 0.1}
  }
}

Environment variables

VariableDescription
OPENAI_API_KEYAPI key for LLM-based evaluation
OPENAI_BASE_URLCustom API endpoint (default: https://api.openai.com/v1)
OPENAI_MODELModel name (default: gpt-4)

Supported input formats

FormatExtensionDescription
JSONL.jsonlOne JSON object per line (recommended)
JSON.jsonArray of objects or single object
CSV.csvComma-separated values
Plaintext.txtOne item per line
Parquet.parquetApache Parquet columnar format

General rules

When using this skill on behalf of the user:

  • Always write a config file before running CLI evaluation. Don't try to pass complex JSON inline.
  • Quote file paths with spaces in commands: dingo eval --input "my config.json"
  • Wrap main code in if __name__ == '__main__': when writing Python scripts — Dingo uses multiprocessing internally, which fails on macOS without this guard.
  • Infer format from extension: .jsonljsonl, .jsonjson, .csvcsv, .txtplaintext.
  • Default to rule-based when the user doesn't specify evaluation type — it's free, fast, and needs no API key.
  • Ask for API key before using LLM-based evaluators. Never hardcode keys in config files; use ${OPENAI_API_KEY} placeholder or environment variables.
  • Check field names in the user's data before writing config. The fields mapping must match actual column names in the dataset.

Choosing evaluators

  1. User wants basic quality checks → Use rule-based evaluators (e.g., RuleColonEnd, RuleContentNull, RuleSpecialCharacter)
  2. User wants semantic quality assessment → Use LLM-based evaluators (e.g., LLMTextQualityV5, LLMTextRepeat)
  3. User wants RAG pipeline evaluation → Use RAG metrics (Faithfulness, ContextPrecision, ContextRecall, AnswerRelevancy). Requires user_input, response, retrieved_contexts, reference fields.
  4. User wants fact-checking → Use ArticleFactChecker (requires dingo-python[agent] extra)
  5. User wants safety/content moderation → Use LLMSecurityProhibition
  6. User doesn't know what to check → Start with common rule checks, show the summary, then suggest LLM-based evaluators if needed.

Post-evaluation guidance

After evaluation completes, the agent should:

  1. Read summary.json and report the key metrics: total items, good/bad counts, good ratio
  2. If there are failures, briefly explain what each failing metric means
  3. Suggest next steps (e.g., "15% of items have colon-ending issues — you may want to clean those")

MCP Server (AI Agent Integration)

Dingo includes a built-in MCP (Model Context Protocol) server, allowing AI agents (Cursor, Claude Desktop, etc.) to invoke Dingo's evaluation tools directly.

Start the server

# SSE transport (default, for Cursor / remote agents)
dingo serve

# Custom port
dingo serve --port 9000

# stdio transport (for Claude Desktop / local agent spawn)
dingo serve --transport stdio

Configure your AI agent

Cursor (~/.cursor/mcp.json):

{
  "mcpServers": {
    "dingo": {
      "url": "http://localhost:8000/sse"
    }
  }
}

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "dingo": {
      "command": "dingo",
      "args": ["serve", "--transport", "stdio"],
      "env": {
        "OPENAI_API_KEY": "your-key",
        "OPENAI_MODEL": "gpt-4o"
      }
    }
  }
}

Available MCP tools

ToolDescription
run_dingo_evaluationRun rule or LLM evaluation on a file
list_dingo_componentsList rule groups, LLM models, prompts
get_rule_detailsGet details about a specific rule
get_llm_detailsGet details about a specific LLM evaluator
get_prompt_detailsGet embedded prompt for an LLM
run_quick_evaluationGoal-based evaluation (auto-infer settings)

For detailed MCP documentation, see: https://github.com/MigoXLab/dingo/blob/main/README_mcp.md

Troubleshooting

  • ModuleNotFoundError: No module named 'dingo': Run pip install dingo-python (note: the package name is dingo-python, not dingo)
  • RuntimeError: An attempt has been made to start a new process...: Wrap your code in if __name__ == '__main__': — required on macOS due to multiprocessing
  • LLM evaluation returns errors: Check that OPENAI_API_KEY is set and api_url is correct
  • Empty results: Verify fields mapping matches your dataset's actual column names
  • RAG metrics all fail: Ensure your data has all required fields: user_input, response, retrieved_contexts, reference

Notes

  • Dingo supports any OpenAI-compatible API (OpenAI, DeepSeek, Anthropic via proxy, local vLLM, etc.)
  • Rule-based evaluators run locally with zero API cost
  • Results are written to the outputs/ directory by default (timestamped subdirectories)
  • The content field is the most commonly mapped field — it's the main text that most evaluators check

Resources

  • GitHub: https://github.com/MigoXLab/dingo
  • SaaS Platform: https://dingo.openxlab.org.cn/
  • PyPI: https://pypi.org/project/dingo-python/
  • Metrics Documentation: https://github.com/MigoXLab/dingo/blob/main/docs/metrics.md
  • RAG Evaluation Guide: https://github.com/MigoXLab/dingo/blob/main/docs/rag_evaluation_en.md
  • Discord: https://discord.gg/Jhgb2eKWh8

Fact-Checking Articles with ArticleFactChecker

ArticleFactChecker extracts all verifiable claims from an article and verifies each one using ArXiv academic search and web search. It runs as an autonomous agent and produces a structured verification report.

Prerequisites

pip install "dingo-python[agent]"
python3 -c "from dingo.config import InputArgs; print('Dingo OK')"

Required: OPENAI_API_KEY Optional (recommended for web search): TAVILY_API_KEY

Quick start — use the bundled script

The skill includes scripts/fact_check.py which handles all input preparation and configuration automatically:

python3 {baseDir}/scripts/fact_check.py path/to/article.md

Supported input formats: .md, .txt (auto-wrapped), .jsonl, .json

Optional arguments:

  • --model MODEL — LLM model (default: env OPENAI_MODEL or gpt-5.4-mini)
  • --max-claims N — claims to extract, 1–200 (default: 50)
  • --max-concurrent N — parallel verification slots, 1–20 (default: 5)

The script outputs structured JSON to stdout. Parse and present:

  • accuracy_score (0.0–1.0): fraction of claims verified true
  • false_claims: list of contradicted claims with evidence
  • all_claims: full breakdown with TRUE/FALSE/UNVERIFIABLE verdicts

Manual SDK usage

For direct SDK integration without the script:

import json, os, tempfile
from dingo.config import InputArgs
from dingo.exec import Executor

# IMPORTANT: wrap article into JSONL — plaintext is read line-by-line otherwise
article_text = open("article.md", encoding="utf-8").read()
tmp = tempfile.NamedTemporaryFile(mode="w", suffix=".jsonl", delete=False, encoding="utf-8")
tmp.write(json.dumps({"content": article_text}, ensure_ascii=False) + "\
")
tmp.close()

config = {
    "input_path": tmp.name,
    "dataset": {"source": "local", "format": "jsonl"},
    "executor": {"max_workers": 1},
    "evaluator": [{
        "fields": {"content": "content"},
        "evals": [{
            "name": "ArticleFactChecker",
            "config": {
                "key": os.environ["OPENAI_API_KEY"],
                "model": os.getenv("OPENAI_MODEL", "gpt-5.4-mini"),
                "api_url": os.getenv("OPENAI_BASE_URL", "https://api.openai.com/v1"),
                "parameters": {
                    "temperature": 0,
                    "agent_config": {
                        "max_concurrent_claims": 5,
                        "max_iterations": 50,
                        "tools": {
                            "claims_extractor": {
                                "api_key": os.environ["OPENAI_API_KEY"],
                                "model": os.getenv("OPENAI_MODEL", "gpt-5.4-mini"),
                                "base_url": os.getenv("OPENAI_BASE_URL", "https://api.openai.com/v1"),
                                "max_claims": 50
                            },
                            "arxiv_search": {"max_results": 5},
                            **({"tavily_search": {"api_key": os.environ["TAVILY_API_KEY"]}}
                               if os.getenv("TAVILY_API_KEY") else {})
                        }
                    }
                }
            }
        }]
    }]
}

if __name__ == "__main__":
    result = Executor.exec_map["local"](InputArgs(**config)).execute()
    print(f"Score: {result.score:.1f}%  |  Output: {result.output_path}")
    os.unlink(tmp.name)
Key requirement: Always use if __name__ == "__main__": when running Dingo with multiprocessing — required on macOS, recommended everywhere.

Interpreting the output

The summary.json in the output directory contains overall stats. Detailed per-claim results are in content/QUALITY_BAD_*.jsonl (for articles with false claims).

Each result item's eval_details.content[0] has:

  • score: accuracy_score (0.0–1.0, ratio of verified-true claims)
  • reason[0]: human-readable text summary
  • reason[1]: full structured report dict with detailed_findings and false_claims_comparison

For advanced configuration (model selection, claim types, tuning), see references/advanced-config.md.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

79.8%
按下载量换算1,716

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills