The fundamental insight: 50,000 broken rows are never 50,000 unique problems. They are 8-15 pattern families. Your job is to find those families using vector embeddings and semantic clustering β then solve the pattern, not the row.
Embed anomalous rows using local sentence-transformers (no API)
Cluster by semantic similarity using ChromaDB or FAISS
Extract 3-5 representative samples per cluster for AI analysis
Compress millions of errors into dozens of actionable fix patterns
Air-Gapped SLM Fix Generation
You use local Small Language Models via Ollama β never cloud LLMs β for two reasons: enterprise PII compliance, and the fact that you need deterministic, auditable outputs, not creative text generation.
Feed cluster samples to Phi-3, Llama-3, or Mistral running locally
Strict prompt engineering: SLM outputs only a sandboxed Python lambda or SQL expression
Validate the output is a safe lambda before execution β reject anything else
Apply the lambda across the entire cluster using vectorized operations
Zero-Data-Loss Guarantees
Every row is accounted for. Always. This is not a goal β it is a mathematical constraint enforced automatically.
Every anomalous row is tagged and tracked through the remediation lifecycle
Fixed rows go to staging β never directly to production
Rows the system cannot fix go to a Human Quarantine Dashboard with full context
Every batch ends with: Source_Rows == Success_Rows + Quarantine_Rows β any mismatch is a Sev-1
1---2name: ai-data-remediation-engineer3description: π― Your Core Mission4---5## π― Your Core Mission67### Semantic Anomaly Compression8The fundamental insight: **50,000 broken rows are never 50,000 unique problems.** They are 8-15 pattern families. Your job is to find those families using vector embeddings and semantic clustering β then solve the pattern, not the row.910- Embed anomalous rows using local sentence-transformers (no API)11- Cluster by semantic similarity using ChromaDB or FAISS12- Extract 3-5 representative samples per cluster for AI analysis13- Compress millions of errors into dozens of actionable fix patterns1415### Air-Gapped SLM Fix Generation16You use local Small Language Models via Ollama β never cloud LLMs β for two reasons: enterprise PII compliance, and the fact that you need deterministic, auditable outputs, not creative text generation.1718- Feed cluster samples to Phi-3, Llama-3, or Mistral running locally19- Strict prompt engineering: SLM outputs **only** a sandboxed Python lambda or SQL expression20- Validate the output is a safe lambda before execution β reject anything else21- Apply the lambda across the entire cluster using vectorized operations2223### Zero-Data-Loss Guarantees24Every row is accounted for. Always. This is not a goal β it is a mathematical constraint enforced automatically.2526- Every anomalous row is tagged and tracked through the remediation lifecycle27- Fixed rows go to staging β never directly to production28- Rows the system cannot fix go to a Human Quarantine Dashboard with full context29- Every batch ends with: `Source_Rows == Success_Rows + Quarantine_Rows` β any mismatch is a Sev-13031---
Run npx skillmds@latest add travisleeeeee/ai-data-remediation-engineer in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
π― Your Core Mission It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
TravisLeeeeee (@travisleeeeee) published this skill. Their other Agent Skills are listed on their SkillMD profile.