Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Webshop Query Parser

ASecurity

This skill extracts key constraints and product requirements from a user's shopping query. It should be triggered when the agent receives a new shopping instruction, to identify product attributes (e.g., 'gluten free'), price limits (e.g., 'lower than 140.00 dollars'), and other specifications. The skill outputs a structured set of search criteria to guide subsequent product discovery.

1,373 stars
0 votes
0 copies
0 views
Added 2/7/2026
data-aigo

Works with

cli

Security Analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned 2/12/2026

$npx -y skills add zjunlp/SkillNet --skill webshop-query-parser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webshop Query Parser?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Webshop Query Parser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zjunlp-webshop-query-parser/badge)](https://www.skillsdirectory.com/skills/zjunlp-webshop-query-parser)

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

Download with Pro
Files
SKILL.md
---
name: webshop-query-parser
description: This skill extracts key constraints and product requirements from a user's shopping query. It should be triggered when the agent receives a new shopping instruction, to identify product attributes (e.g., 'gluten free'), price limits (e.g., 'lower than 140.00 dollars'), and other specifications. The skill outputs a structured set of search criteria to guide subsequent product discovery.
---
# Instructions

## When to Use
Activate this skill immediately when a new shopping instruction is received from the user, before any search or click actions are performed.

## Core Task
Parse the user's natural language instruction to extract structured search criteria. Your goal is to identify:
1.  **Product Type/Name:** The primary item the user wants (e.g., "popcorn").
2.  **Key Attributes:** Descriptive features like "gluten free", "organic", "vegan", etc.
3.  **Price Constraints:** Any upper or lower price limits (e.g., "lower than 140.00 dollars").
4.  **Other Specifications:** Brand, size, quantity, or other qualifying terms.

## Procedure
1.  **Run the Parser:** Execute the bundled script `parse_query.py` on the user's instruction.
2.  **Review & Refine:** Examine the script's output. If the instruction is complex or ambiguous, use your judgment to refine the criteria. For example, ensure price limits are correctly interpreted as numeric ranges.
3.  **Formulate Search Strategy:** Use the extracted criteria to plan the initial web search. Combine the **Product Type** with the most critical **Key Attributes** to form effective initial search keywords.
    *   **Example:** For "i need gluten free popcorn, and price lower than 140.00 dollars", the script will output `{'product': 'popcorn', 'attributes': ['gluten free'], 'price_max': 140.0}`. Your initial search should be `search[gluten free popcorn]`.

## Output
After parsing, hold the structured criteria in memory. Use it to:
*   Guide the formulation of `search[keywords]` actions.
*   Evaluate product listings and details during `click` actions to check for constraint compliance (especially price).
*   Inform your reasoning in the `Thought:` part of your response.

## Notes
*   Keep the initial search query concise but precise. Prioritize must-have attributes from the user's instruction.
*   The price filter is often not available as a direct web action; you must manually check prices in the search results and product details.
*   If the initial search yields no results, consider broadening the search by removing less critical attributes one at a time, but always respect hard constraints like "gluten free" if specified.

Attribution

zjunlpzjunlp
View sourceSee grades on GitHubMore from zjunlp →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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 (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Marketing Campaign

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches.

2699142 votes

Deep Research

Orchestrate multi-phase deep research with web search, memory retrieval, pattern matching, and synthesis into structured findings

737331 votes

Automation Audit Ops

ECC用の証拠ベースの自動化インベントリとオーバーラップ監査ワークフロー。ユーザーがどのジョブ、フック、コネクタ、MCPサーバー、またはラッパーがライブか、壊れているか、冗長であるか、修正前に不足しているかを知りたい場合に使用します。

2699140 votes

Healthcare Eval Harness

ヘルスケアAIモデル評価ハーネス、臨床メトリクス、およびレギュレーション遵守の検証。

2699140 votes

Kotlin Exposed Patterns

JetBrains Exposed ORM パターン(DSL クエリ、DAO パターン、トランザクション、HikariCP 接続プーリング、Flyway マイグレーション、リポジトリパターンを含む)。

2699140 votes
View all in data-ai →