triage-extraccion

Extracts triage slots and case data from user narratives about EPS health service denials.

2|Updated Aug 22, 2026
One-click install
npx skills add https://github.com/platanus-hack/platanus-hack-26-co-team-14 --skill triage-extraccion-platanus-hack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: triage-extraccion
Source: https://github.com/platanus-hack/platanus-hack-26-co-team-14/tree/main/skills/triage-extraccion
Command: npx skills add https://github.com/platanus-hack/platanus-hack-26-co-team-14 --skill triage-extraccion-platanus-hack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a person describes a problem with their EPS (Colombian health insurer) in their own words, someone must reliably pull out the facts needed to route the case, without guessing, inferring, or making legal decisions. This Skill performs that extraction with strict evidence requirements so downstream deterministic logic can decide the legal route safely. ## Core Features & Use Cases - Evidence-bound extraction: Every extracted field reports a value, a confidence score (0.0-1.0), and a verbatim quote from the user as evidence; if no literal quote supports a value, it must be null. - Four triage slots plus case data: Extracts riesgo_vital, sujeto_especial, urgencia, tutela_previa_cumplida, solicitud_previa (ninguna/verbal/escrita), termino_vencido, plus identity fields, EPS, denied service, and desacato indicators. - Patient role detection: Determines whether the case concerns the speaker ("yo"), a minor ("menor"), or another adult ("otro"), which selects the correct legal document template. - Use Case: A user says "llevo tres semanas yendo a la farmacia por la insulina y me dicen que vuelva mañana". The Skill reports solicitud_previa as "verbal" with the literal quote, avoiding the costly error of marking it "ninguna" and sending the person down the wrong legal path. ## Quick Start Give the Skill a transcript of what a person said about their EPS problem and ask it to extract the triage slots and case data with evidence quotes.

Frequently Asked Questions about triage-extraccion

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

FAQPage Schema
How do I extract structured data from a user's legal complaint narrative?▼

Read the user's statement and report each field as an object with valor, confianza (0.0-1.0), and evidencia, where evidencia is a literal quote copied from the user. If no verbatim quote supports a value, report null instead of inferring.

How to classify solicitud_previa when extracting EPS case data?▼

Classify solicitud_previa as "ninguna", "verbal", or "escrita". Verbal requests like repeatedly visiting a pharmacy and being turned away count as "verbal", not "ninguna"; only use "ninguna" when the person truly never asked the EPS for anything.

Does this extraction skill decide which legal route a case should take?▼

No. The Skill never decides between tutela, desacato, or PQRD, never cites jurisprudence, and never determines PBS coverage. A deterministic function consumes the extracted slots afterward and makes that routing decision.

What happens when the user did not state a required field?▼

The field is reported as null with zero confidence and null evidence. Null is a valid and frequent answer; a later layer asks follow-up questions, and inventing data the person never said is treated as the gravest extraction error.

How should confidence scores be calibrated during extraction?▼

Use 0.9+ when the person stated it directly, 0.6-0.8 when clearly implied, 0.3-0.5 for ambiguous hints, and below 0.3 or null when there is no basis. Downstream asymmetric thresholds penalize overconfident false values, so underconfidence is safer.