Skip to content
Back to skills

Extract Distance Values Km

ASecurity

Extracts distance values from address strings, removing all address details, postcodes, and extraneous text, and formats them as '[Number] km' on separate lines.

  • 581 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 30, 2026
education

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill extract_distance_values_km --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extract Distance Values Km?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extract Distance Values Km
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-extract-distance-values-km/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-extract-distance-values-km)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "8a877bf9-759b-4fe6-a31d-0e98fd24626c"
name: "extract_distance_values_km"
description: "Extracts distance values from address strings, removing all address details, postcodes, and extraneous text, and formats them as '[Number] km' on separate lines."
version: "0.1.1"
tags:
  - "data extraction"
  - "text formatting"
  - "distance parsing"
  - "list processing"
  - "text cleaning"
triggers:
  - "list the kms and remove the addresses"
  - "extract distance from address list"
  - "format distance list to km"
  - "list only the kilometers"
  - "just list the kms"
---

# 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 list
- format distance list to km
- list only the kilometers
- just list the kms

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.