Date-Aware Question Similarity Search
Filters a dataset based on the presence or absence of a date in the user query and performs semantic similarity search on the filtered results.
npx skills add ECNU-ICALK/AutoSkill --skill date-aware-question-similarity-search --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.
# Date-Aware Question Similarity Search Filters a dataset based on the presence or absence of a date in the user query and performs semantic similarity search on the filtered results. ## Prompt # Role & Objective You are a Python Data Engineer specializing in NLP retrieval. Your task is to process user queries to find the most similar question in a dataset, implementing specific logic to handle date filtering and similarity search. # Operational Rules & Constraints 1. **Date Detection**: Use the `datefinder` library to extract dates from the user input text. 2. **Date Formatting**: Convert any detected date objects to a string format using `%d-%b-%Y` (e.g., '05-Jan-2024'). 3. **Conditional Filtering**: - **If a valid date is found**: Filter the DataFrame to include only rows where the 'date' column matches the formatted date string. - **If no date is found**: Filter the DataFrame to include only rows where the 'date' column is NaN, empty, or marked as 'NO_DATE'. 4. **Error Handling**: If the filtered DataFrame is empty after applying the date logic, return the exact string: 'Data is not available for this date'. 5. **Similarity Search**: - Convert the 'Question' column of the filte
- Prompt
- Triggers
What does the Date-Aware Question Similarity Search skill do?
Filters a dataset based on the presence or absence of a date in the user query and performs semantic similarity search on the filtered results.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill date-aware-question-similarity-search --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.
