data-quality-checker
Skill0 starsChanged 3 months agoMITView on GitHub
Validate data quality in market analysis documents and blog articles before publication. Use when checking for price scale inconsistencies (ETF vs futures), instrument notation errors, date/day-of-week mismatches, allocation total errors, and unit mismatches. Supports English and Japanese content. Advisory mode -- flags issues as warnings for human review, not as blockers.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- khalilbenaz/claude-skills-collectiontheir own version, first seen Nov 1, 2026
- nek1987/auto-agent-harnesstheir own version, first seen Oct 11, 2026
- IngAs8/ClaudeSkillword for word, first seen Sep 28, 2026
Other versions3 projects use a version of this.
Word for word · 1
- IngAs8/ClaudeSkill★ 0100% same
Edited · 0
None found.
Wrote their own version · 2
- khalilbenaz/claude-skills-collection★ 28same name
- nek1987/auto-agent-harness★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository71 other files it gives its agents.
- backtest-expertSkill
- breadth-chart-analystSkill
- breakout-trade-plannerSkill
- canslim-screenerSkill
- contrarian-setup-gateSkill
- cot-contrarian-detectorSkill
- crypto-regime-analyzerSkill
- dividend-growth-pullback-screenerSkill
- downtrend-duration-analyzerSkill
- drawdown-circuit-breakerSkill
- dual-axis-skill-reviewerSkill
- earnings-calendarSkill
- earnings-trade-analyzerSkill
- economic-calendar-fetcherSkill
- edge-candidate-agentSkill
- edge-concept-synthesizerSkill
- edge-hint-extractorSkill
- edge-pipeline-orchestratorSkill
- edge-signal-aggregatorSkill
- edge-strategy-designerSkill
- edge-strategy-reviewerSkill
- exposure-coachSkill
- finviz-screenerSkill
- ftd-detectorSkill
- futures-position-sizerSkill
- fxmacrodata-calendarSkill
- ibd-distribution-day-monitorSkill
- institutional-flow-trackerSkill
- kanchi-dividend-review-monitorSkill
- kanchi-dividend-sopSkill
- kanchi-dividend-us-tax-accountingSkill
- macro-regime-detectorSkill
- market-breadth-analyzerSkill
- market-environment-analysisSkill
- market-news-analystSkill
- market-top-detectorSkill
- mt5-robot-testerSkill
- news-reaction-failure-analyzerSkill
- options-strategy-advisorSkill
- pair-trade-screenerSkill
- parabolic-short-trade-plannerSkill
- pead-screenerSkill
- portfolio-managerSkill
- position-sizerSkill
- pre-trade-discipline-gateSkill
- residual-edge-analyzerSkill
- scenario-analyzerSkill
- sector-analystSkill
- signal-postmortemSkill
- skill-designerSkill
- skill-idea-minerSkill
- skill-integration-testerSkill
- stanley-druckenmiller-investmentSkill
- stockbee-20pct-studySkill
- stockbee-episodic-pivot-analyzerSkill
- stockbee-exhaustion-hammer-screenerSkill
- stockbee-momentum-burst-screenerSkill
- stockbee-setup-fluency-trainerSkill
- strategy-pivot-designerSkill
- technical-analystSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
All findings are advisory -- they flag potential issues for human review rather than blocking publication.
- Distinctive: line 16
Before publishing a weekly strategy blog or market analysis report
- Distinctive: line 17
After generating automated market summaries
- Distinctive: line 18
When reviewing translated documents (English/Japanese) for data accuracy
- Distinctive: line 19
When combining data from multiple sources (FRED, FMP, FINVIZ) into one report
- Distinctive: line 25
No external API keys required
- Distinctive: line 26
No third-party Python packages required (uses only standard library)
- Distinctive: line 40
Run the data quality checker script:
- Distinctive: line 67
Read the relevant reference documents to contextualize findings:
- Distinctive: line 75
Use these references to explain findings and suggest corrections.
- Distinctive: line 139
Advisory mode: All findings are warnings for human review.
- Distinctive: line 144
Section-aware allocation checking: Only percentages within allocation sections (identified by headings like "配分", "Allocation", or table …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Overview
Detect common data quality issues in market analysis documents before publication. The checker validates five categories: price scale consistency, instrument notation, date/weekday accuracy, allocation totals, and unit usage. All findings are advisory -- they flag potential issues for human review rather than blocking publication.
When to Use
- Before publishing a weekly strategy blog or market analysis report
- After generating automated market summaries
- When reviewing translated documents (English/Japanese) for data accuracy
- When combining data from multiple sources (FRED, FMP, FINVIZ) into one report
- As a pre-flight check for any document containing financial data
Prerequisites
- Python 3.9+
- No external API keys required
- No third-party Python packages required (uses only standard library)
Workflow
Step 1: Receive Input Document
Accept the target markdown file path and optional parameters:
--file: Path to the markdown document to validate (required)--checks: Comma-separated list of checks to run (optional; default: all)--as-of: Reference date for year inference in YYYY-MM-DD format (optional)--output-dir: Directory for report output (optional; default:reports/)
Step 2: Execute Validation Script
Run the data quality checker script:
python3 skills/data-quality-checker/scripts/check_data_quality.py \
--file path/to/document.md \
--output-dir reports/To run specific checks only:
python3 skills/data-quality-checker/scripts/check_data_quality.py \
--file path/to/document.md \
--checks price_scale,dates,allocationsTo provide a reference date for year inference (useful for documents without explicit year in dates):
python3 skills/data-quality-checker/scripts/check_data_quality.py \
--file path/to/document.md \
--as-of 2026-02-28Step 3: Load Reference Standards
Read the relevant reference documents to contextualize findings:
references/instrument_notation_standard.md-- Standard ticker notation, digit-count hints, and naming conventions for each instrument classreferences/common_data_errors.md-- Catalog of frequently observed errors including FRED data delays, ETF/futures scale confusion, holiday oversights, allocation total pitfalls, and unit confusion patterns
Use these references to explain findings and suggest corrections.
Step 4: Review Findings
Examine each finding in the output:
- ERROR -- High confidence issues (e.g., date-weekday mismatches verified by calendar computation). Strongly recommend correction.
- WARNING -- Likely issues that need human judgment (e.g., price scale anomalies, notation inconsistencies, allocation sums off by more than 0.5%).
- INFO -- Informational notes (e.g., mixed bp/% usage that may be intentional).
Step 5: Generate Quality Report
The script produces two output files:
- JSON report (
data_quality_YYYY-MM-DD_HHMMSS.json): Machine-readable list of findings with severity, category, message, line number, and context. - Markdown report (
data_quality_YYYY-MM-DD_HHMMSS.md): Human-readable report grouped by severity level.
Present the findings to the user with explanations referencing the knowledge base. Suggest specific corrections for each issue.
Output Format
JSON Finding Structure
{
"severity": "WARNING",
"category": "price_scale",
"message": "GLD: $2,800 has 4 digits (expected 2-3 digits)",
"line_number": 5,
"context": "GLD: $2,800"
}Markdown Report Structure
# Data Quality Report
**Source:** path/to/document.md
**Generated:** 2026-02-28 14:30:00
**Total findings:** 3
## ERROR (1)
- **[dates]** (line 12): Date-weekday mismatch: January 1, 2026 (Monday) -- actual weekday is Thursday
## WARNING (2)
- **[price_scale]** (line 5): GLD: $2,800 has 4 digits (expected 2-3 digits)
> `GLD: $2,800`
- **[allocations]**: Allocation total: 110.0% (expected ~100%)Resources
scripts/check_data_quality.py-- Main validation scriptreferences/instrument_notation_standard.md-- Notation and price scale referencereferences/common_data_errors.md-- Common error patterns and prevention
Key Principles
- Advisory mode: All findings are warnings for human review. The script always exits with code 0 on successful execution, even when findings are present. Exit code 1 is reserved for script failures (file not found, parse errors).
- Section-aware allocation checking: Only percentages within allocation sections (identified by headings like "配分", "Allocation", or table columns like "ウェイト", "目安比率") are checked. Random percentages in body text (probability, RSI, YoY growth) are ignored.
- Bilingual support: Handles both English and Japanese date formats, weekday names, and section headings. Full-width characters (%, 〜, en-dash) are normalized before processing.
- Year inference: For dates without an explicit year, the checker infers
the year using (in priority order): the
--as-ofoption, a YYYY pattern found in the document title/metadata, or the current year with a 6-month cross-year heuristic. - Digit-count heuristic: Price scale validation uses digit counts (number of digits before the decimal point) rather than absolute price ranges. This approach is resilient to price changes over time while still catching ETF/futures confusion errors.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

