CommunityCoding & Developmentgithub.com

79109/agent-skills-test

Consolidate scattered mining monitoring and test records into directly analyzable data: align timestamps, measurement points, units, and operating conditions, identify data quality issues, and preserve the mapping between cleaned and original data. Suitable for multi-instrument data merging, test data organization, monitoring data cleaning, and pre-analysis checks.

What is agent-skills-test?

This skill is designed to solve the problem of data being openable but not directly comparable across diverse sources, which is common in mining and geotechnical monitoring workflows. It provides a systematic approach to align multi-source records—such as instrument outputs, measurement point inventories, and excavation logs—by time, space, and object of interest. The skill emphasizes evidence-based cleaning, distinguishing genuine engineering anomalies from noise, while fully retaining the original values, transformation rationale, and record mappings for traceability. It supports platforms like Claude Code and Cursor through local scripting (e.g., Python scripts in `scripts/profile_csv.py`) and reference documents that guide users in profiling, cleaning, and merging datasets. The workflow begins with understanding the data's structure, field meanings, and intended analysis (e.g., plotting, statistical comparison, anomaly detection), then proceeds to profiling, cleaning, and delivering an analyzable copy of the data with clear documentation. This skill is particularly useful for engineers and data scientists dealing with multi-instrument merging, test data organization, and pre-analysis data quality checks in mining environments.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/79109/agent-skills-test/tree/HEAD/skill/mining-data-preparation

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

mining-data-preparation

Solve the problem of "files can be opened, but data cannot be directly compared," allowing multi-source records to enter subsequent analysis while preserving on-site changes.

Core Capabilities

  • Multi-source alignment: Associate instrument outputs, measurement point ledgers, and excavation logs by time, space, and object.
  • Evidence-based cleaning: Identify duplicates, missing measurements, drift, and unit issues, avoiding the elimination of genuine engineering anomalies as noise.
  • Auditable processing: Preserve original values, transformation rationale, and record mappings, supporting review and reprocessing.

Getting Started

First, understand whether the data will be used for plotting, statistical comparison, anomaly detection, or modeling. Then, check the file structure, field meanings, and coverage. Processing granularity is determined by the analysis goal; follow existing data standards when available rather than forcing conversion to a unified template.

Workflow

  1. Identify record granularity, field meanings, and downstream analysis purpose.
  2. Use local profiling tools to inspect fields, missing values, duplicates, and time coverage; then interpret issues in the context of operating conditions.
  3. Transform, associate, or clean on a copy based on clear rules, preserving original values and record mappings.
  4. Review the processing impact, deliver usable data, and identify remaining issues that still limit analysis.

On-Demand Resource Usage

  • Before using local tools, read Parameters and Scope, then call scripts/profile_csv.py. The tool only processes the described formats and capabilities; it does not imply the complete task is done.
  • For an initial understanding of input formats, view the synthetic example examples/monitoring.csv; demo data should not be treated as actual measurements or standard parameters.
  • For method selection, boundary judgment, or complex scenarios: read references/methods.md.
  • When needing to quickly organize deliverables, copy and trim assets/data-dictionary.csv; this is an optional starting point, not a fixed output format.

Deliverables

When actual files are present, deliver an analyzable data copy along with necessary field descriptions, issue markers, and concise processing records. If only a review is needed, focus on the main issues affecting analysis and suggested corrections. Output format follows the user's workflow; do not generate multiple data sets redundantly for display purposes.

Cleaning completion does not mean the engineering status is normal; anomalies in the original records should remain for subsequent analysis and review.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Related Skills