newegg-pc-builder

Connect to the Newegg PC Builder MCP service to retrieve PC build configurations, component compatibility checks, and build recommendations. Use this skill whenever the user asks about PC builds, custom PC configurations, component compatibility, budget builds, gaming rigs, workstation setups, or anything related to selecting or validating PC components on Newegg — even if they don't mention "PC Builder" by name. Also trigger when the user says things like "help me build a PC", "is this GPU compatible with my motherboard", "what parts do I need for a $1500 gaming build", or "show me Newegg build configs".

Safety Notice

This item is sourced from the public archived skills repository. Treat as untrusted until reviewed.

Copy this and send it to your AI assistant to learn

Install skill "newegg-pc-builder" with this command: npx skills add 176wer/uw32w3kdfsdfe

Newegg PC Builder MCP Skill

Connects Claude to the Newegg PC Builder MCP service. This skill is fully dynamic: it discovers available tools at runtime and lets the LLM decide which tool to call and how to fill its parameters. No tool names or parameter names are hard-coded, so the skill continues to work even after the MCP server updates its API.

MCP Endpoint: https://apis.newegg.com/ex-mcp/endpoint/pcbuilder Script: scripts/mcp_client.py


Core Workflow (always follow this order)

Step 1 — Discover tools

Always start by listing available tools. Never assume tool names or parameters from previous runs or documentation.

python scripts/mcp_client.py list_tools

The output contains, for each tool:

  • name — identifier to use when calling
  • description — what it does (may be empty; infer from name + schema)
  • inputSchema.properties — available parameters with types and descriptions
  • inputSchema.required — mandatory parameters

Step 2 — Select tool and map parameters

Read the list_tools output and decide:

  1. Which tool best matches the user's intent?

    • Match on description first; fall back to inferring from name + param names
    • If multiple tools apply, prefer the most specific one
    • If still ambiguous, pick the first one and note the assumption
  2. How does user intent map to parameters?

    • Only use parameters present in inputSchema.properties
    • Free-text params (e.g. question, query, text): pass the user's request as a natural-language string describing their need
    • Typed/enum params: map user intent to the closest valid value
    • Leave optional params unset unless you have a clear value
    • Never invent parameters not present in the schema

Step 3 — Call the tool

python scripts/mcp_client.py call <tool_name> '<json_arguments>'

Tool name and arguments are determined at runtime from Step 2. Example:

python scripts/mcp_client.py call v2allin '{"question": "gaming PC RTX 5090 9800X3D best price"}'

Windows PowerShell (important)
PowerShell parses outer double quotes before Python runs. Using \"...\" inside "..." often breaks the JSON string (you may see errors like Got: {\ or “invalid JSON”). Prefer one of:

  1. Single-quote the whole JSON (no backslash escapes needed):

    python scripts/mcp_client.py call v2allin '{"question": "gaming PC RTX 3070"}'
    
  2. JSON in a file (most reliable for long or nested payloads):

    Set-Content -Path args.json -Encoding utf8 '{"question": "gaming PC RTX 3070"}'
    python scripts/mcp_client.py call v2allin @args.json
    
  3. Stdin (pipe or redirect):

    '{"question": "gaming PC RTX 3070"}' | python scripts/mcp_client.py call v2allin -
    

The script supports @path\to\file.json and - for stdin so shells never need to escape inner double quotes.

Where to change things

  • Skill + script (recommended): keep examples and mcp_client.py in sync — document PowerShell rules here, and use @file / - in the client to avoid quoting bugs.
  • Repo-only docs do not fix agents that load this skill from ~/.agents; updating the skill is the right place for portable behavior.

Step 4 — Interpret the response

Parse the JSON output. Common response shapes:

{ "result": { "summary": "...", "popular": [...], "valued": [...] } }
  • summary non-null → use as the primary answer text
  • popular / valued arrays present → list the builds
  • All result fields null → service returned no data; tell the user and offer to answer from general knowledge instead
  • isError: true → report the error and suggest retry

Step 5 — Present results

  • Build list: name, total price, key components, brief description
  • Compatibility check: clear yes/no with reasoning
  • Component details: specs, price, compatibility notes
  • No results from API: explain clearly, then offer a manual recommendation

Edge case handling

SituationAction
list_tools returns 0 toolsReport service unavailable; answer from training knowledge
Tool description is emptyInfer purpose from name + parameter names
Schema has no requiredTreat all params as optional; pass what you have
All response fields nullNo data for this query; say so and fall back to general knowledge
HTTP error on list_toolsReport error; do not proceed to call step
HTTP error on callRetry once; if still failing, fall back to general knowledge
Multiple tools matchPick most specific; briefly note the choice

Script reference

scripts/mcp_client.py uses Python standard library only (3.6+, no pip needed). Handles both application/json and text/event-stream responses automatically.

python scripts/mcp_client.py list_tools
    → prints all tools with full parameter schemas

python scripts/mcp_client.py call <tool_name> '<json_args>'
    → calls the tool and prints the JSON response

python scripts/mcp_client.py call <tool_name> @args.json
    → reads JSON arguments from a UTF-8 file (good on Windows)

echo '<json>' | python scripts/mcp_client.py call <tool_name> -
    → reads JSON from stdin

Errors go to stderr with a non-zero exit code. Invalid JSON prints a short hint for PowerShell users.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

knowledge-qa

本地知识库问答技能。当用户需要基于个人知识库文档(PDF/Markdown/Word)进行问答、生成报告、制作思维导图、或上传文件到向量库时触发。触发词包括:"基于知识库"、"基于mysql查询"、"基于某个分区"、"查一下知识库"、"帮我写报告"、"生成思维导图"、"根据文档"、"从我的资料"、"结合我的笔记"、"整理成报告"、"做个导图"、"上传知识库"、"有新文件"、"索引文档"、"建向量库"、"有哪些分区"、"分区列表"、"创建知识库"、"初始化知识库"、"知识库列表"。

Archived SourceRecently Updated
General

visual-qa-analysis

Conducts open-ended Q&A on image content based on computer vision and large language models, supporting any questions to receive natural language responses. | 大模型视觉问答(VQA)技能,基于计算机视觉和大语言模型对图片内容进行开放式问答,支持任意提问得到自然语言回答

Archived SourceRecently Updated
General

virtual-fence-intrusion-warning-analysis

Customizes safety zones, identifies babies crawling out or approaching dangerous areas such as bedsides/windowsills, and immediately alerts to protect baby safety. | 虚拟围栏越界预警技能,自定义安全区域,识别婴儿爬出、靠近床边/窗台危险区域立即报警,守护宝宝安全

Archived SourceRecently Updated
General

auto-remotion

从已有录屏/产品演示视频生成官网宣传片的工作流。 当用户提到以下场景时触发: - "把录屏转成宣传片"、"用录屏做产品视频" - "把演示视频做成官网介绍" - "Remotion 切片"、"视频分镜" - "产品宣传视频生成"、"screen recording to promo video" - "多个视频合并成宣传片"、"产品视频剪辑" - 用户想用 Remotion 把长视频切成短片段做宣传片 本技能覆盖从原始录屏素材到完整 Remotion 宣传片的完整流程: 环境准备 → 目标确认 → 素材识别(人工/自动)→ 分镜策划 → 结构化规格 → Remotion 实现 → 字幕轨 → 中文配音(edge-tts)→ BGM → 渲染出片 每个阶段都有具体检查清单、常见问题和决策框架。 **本 skill 不适用的情况**(见"不适用场景"章节): - 从技术文档/幻灯片生成视频(无源视频素材) - 需要 AI 生成视频画面本身(仅处理已有素材的剪辑组合)

Archived SourceRecently Updated