dataset-quality-and-linkability-diagnostic

Diagnose phone network dataset quality and cross-province linkability with Python and DuckDB.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/bettercallfan/deerflow --skill dataset-quality-and-linkability-diagnostic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dataset-quality-and-linkability-diagnostic
Source: https://github.com/bettercallfan/deerflow/tree/main/skills/custom/phone-network-analysis/dataset-quality-and-linkability-diagnostic
Command: npx skills add https://github.com/bettercallfan/deerflow --skill dataset-quality-and-linkability-diagnostic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, duckdb, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill diagnoses phone network dataset quality, ensuring standard graph structure, data quality for analysis, and cross-province linkability for multi-source data.

Core Features & Use Cases

  • Quality Checks: Verify standard graph structure, data quality, and availability of required files.
  • Linkability Diagnostics: Check ID naming spaces and cross-province linkability for multi-province data.
  • Use Case: Use this Skill to ensure that a new or existing dataset is ready for analysis and can be linked across provinces if needed.

Quick Start

Run the skill with the following command:

python3 dataset_quality_linkability_diagnostic_wrapper.py \
  --dataset-root /path/to/dataset/root \
  --dataset dataset_name \
  --province-a province_a \
  --province-b province_b

Frequently Asked Questions about dataset-quality-and-linkability-diagnostic

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check phone network dataset quality before running analysis?

Diagnosing phone network dataset quality involves verifying standard graph structure, required file availability, and data health for analysis. This Skill checks ID naming spaces and cross-province linkability to ensure your data is ready for unified analysis.

What is cross-province linkability and why does it matter for unified datasets?

Cross-province linkability checks whether ID naming spaces align across multi-province data sources. It matters because consistent entity linking across provinces is required to build a unified dataset capable of supporting accurate multi-source analysis.

Can I use DuckDB to diagnose data quality and linkability for multi-province datasets?

Yes, you can use DuckDB with Python to diagnose data quality and linkability for multi-province datasets. This Skill uses DuckDB to process data health checks, capability matrices, and cross-province entity linking within unified datasets.

What's the best way to verify standard graph structure in a phone network dataset?

The best way to verify standard graph structure is to run a diagnostic script that checks for required files, ID naming spaces, and cross-province linkability. This validates that the phone network dataset meets structural standards before analysis.

Do I need Python to check ID naming spaces and cross-province linkability?

Yes, you need Python to check ID naming spaces and cross-province linkability, as this Skill requires Python and DuckDB for processing. You execute the diagnostic wrapper script via the command line by passing the dataset root, dataset name, and province parameters.

Why does my cross-province entity linking fail during a data health check?

Cross-province entity linking fails during a data health check when ID naming spaces are inconsistent or the phone network dataset lacks a standard graph structure. Running a linkability diagnostic identifies these specific structural and naming issues.