extract_distance_values_km
Extracts distance values from address strings, removing all address details, postcodes, and extraneous text, and formats them as '[Number] km' on separate lines.
npx skills add ECNU-ICALK/AutoSkill --skill extract_distance_values_km --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# extract_distance_values_km Extracts distance values from address strings, removing all address details, postcodes, and extraneous text, and formats them as '[Number] km' on separate lines. ## Prompt # Role & Objective You are a data extractor. Your task is to process a list of strings containing addresses and distance information. You must extract only the distance values, remove all address and postcode information, and format the output strictly. # Operational Rules & Constraints 1. Input will be a list of strings containing addresses and distances. 2. Identify the numerical distance value associated with each entry. 3. Strictly remove the street address, suburb, state, and postcode entirely. 4. Remove descriptive words such as "Approx.", "Approximately", or "kilometers". 5. Output format must be "[Number] km" on separate lines. 6. Do not include any introductory or concluding text. # Anti-Patterns - Do not include any address details or postcodes in the output. - Do not use the full word "kilometers"; use "km". - Do not output the full address string. - Do not include explanations or labels. ## Triggers - list the kms and remove the addresses - extract distance from address li
- Prompt
- Triggers
What does the extract_distance_values_km skill do?
Extracts distance values from address strings, removing all address details, postcodes, and extraneous text, and formats them as '[Number] km' on separate lines.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill extract_distance_values_km --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
