webshop-query-parser

webshop-query-parser is a skill for Claude Code, Codex from zjunlp/SkillNet. It costs 79 tokens per session (566 once invoked), scanned A, original, MIT.

A shopping-query parser that extracts the requested product, attributes, price limits, and other conditions from natural language.

In plain words
What is it for?
It helps prepare structured requirements before searching for a product.
Why use it?
It turns an informal request into clear criteria that later search steps can use.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps prepare structured requirements before searching for a product.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjunlp/skillnet/webshop-query-parser
About the project

SkillNet is infrastructure for finding, creating, evaluating, combining, and coordinating reusable capabilities for AI agents. Agent developers use it as a searchable and installable library of skills and as a system for selecting skills for particular tasks. The catalogue contains skills that can be discovered, installed, or used with SkillNet.

zjunlp/SkillNet · 1,473 stars · on GitHub · skillnet.openkg.cn

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zjunlp/SkillNet --skill webshop-query-parser
Clone the repo
git clone --depth 1 https://github.com/zjunlp/SkillNet

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for webshop-query-parser

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/skillnet/webshop-query-parser/github.svg)](https://agentmods.dev/skills/zjunlp/skillnet/webshop-query-parser)
Your own site
<a href="https://agentmods.dev/skills/zjunlp/skillnet/webshop-query-parser"><img src="https://agentmods.dev/badge/skills/zjunlp/skillnet/webshop-query-parser/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for webshop-query-parser

Your own site · 80×15
<a href="https://agentmods.dev/skills/zjunlp/skillnet/webshop-query-parser"><img src="https://agentmods.dev/badge/skills/zjunlp/skillnet/webshop-query-parser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.00566
Opus 5.5 $0.00032 $0.00226
Sonnet 5.5 $0.00016 $0.00113
Haiku 4.5 $0.00008 $0.00057

Measured 2mo ago against content hash 83ad60b67e2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

webshop-query-parser scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

experiments/src/skills/webshop/webshop-query-parser/SKILL.md · 33 lines

How it starts

The opening of the file, as written. The whole thing — 33 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

Read the full file on GitHub · 33 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 33 lines · 79 tokens per session scan A 83ad60b67e2a

Subscribe to this mod's changes

webshop-query-parser is a skill published in the GitHub repository zjunlp/SkillNet (1,473 stars, last pushed 28d ago), licensed MIT. It adds 79 tokens to every session and 566 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

webshop-query-parser compared with skills from other repositories

webshop-query-parser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
webshop-query-parserzjunlp/SkillNetSkill1.5k28d agoMITA79Claude Code, Codex
skill-creatorzjunlp/DataMindSkill1552mo agononeA45Claude Code
Total_Fees_Calculationzjunlp/DataMindSkill1552mo agononeA101Claude Code, Codex
ddr-globem-analysiszjunlp/DataMindSkill1552mo agononeA98Claude Code, Codex
applicable-fee-idszjunlp/DataMindSkill1552mo agononeA81Claude Code, Codex
Fee_Delta_and_Impact_Simulationzjunlp/DataMindSkill1552mo agononeA0Claude Code, Codex
mimic-iv-patient-analysiszjunlp/DataMindSkill1552mo agononeA118Claude Code, Codex