Data querying
How to query CSV datasets in /app/data to extract information like accommodations, attractions, and restaurants. Use this skill whenever you need to look up data from files in the /app/data directory.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill data-queryingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, 227 tokens by cl100k_base, as published. Nobody here has run it
Data Querying Skill
Overview
This skill provides instructions for querying CSV datasets located in the /app/data/ directory to retrieve information for travel itineraries.
Querying CSV Data
- Identify the file: Determine the correct CSV file in
/app/data/for the information needed (e.g.,accommodations/,attractions/,restaurants/,flights/). - Examine the data: Read the header and first few lines of the CSV file to understand its structure (columns).
- Use
read_filewithstart_line: 1andend_line: 5.
- Use
- Filter data: Use
grep_searchto find relevant entries, or read the file if it's small enough. - Format extracted data: Present the data in a clear, usable format.
Best Practices
- Always verify the column names before filtering.
- Use
grep_searchfor large files to avoid reading the entire file. - Combine information from multiple sources (e.g., matching city names across different datasets).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.