terryhillliu-code/clawdbot-docker/lcsc-search

Claude Code and agent skill by terryhillliu-code/clawdbot-docker

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

立创商城元器件价格查询 - 查询电子元器件在 LCSC 商城的价格、库存和厂商信息。如果查询超时或失败,系统会自动切换到模拟数据。

Install

npx vskill@latest install terryhillliu-code/clawdbot-docker/lcsc-search

SKILL.md

The same SKILL.md was published earlier as terryhillliu-code/clawdbot-docker/lcsc-search.

立创商城元器件价格查询

描述

此技能用于查询立创商城(LCSC)上电子元器件的实时价格、库存和厂商信息。

触发方式

当用户需要查询元器件价格时使用。例如:"查询 STM32F103C8T6 的价格"、"查一下这个芯片在 LCSC 多少钱"。

使用方法

查询单个元器件

python3 /root/workspace/skills/lcsc-search/lcsc_search.py <元器件型号>

  • <元器件型号>: 要查询的元器件型号,如 STM32F103C8T6、ESP32-S3、LM358
使用模拟数据(推荐用于快速测试)

python3 /root/workspace/skills/lcsc-search/lcsc_search.py <型号> --mock

⚠️ 网络不可用时的处理

如果查询超时或网络失败,系统会自动切换到模拟数据,确保不会中断您的工作流程。

内置模拟数据支持的型号
  • STM32F103C8T6 - STMicroelectronics MCU
  • ESP32-S3 - Espressif 无线模块
重要提示
如果遇到网络超时,请尝试使用 `--mock` 参数。模拟数据包含了常用元器件的参考价格,可用于:
- 快速原型设计
- 采购计划分析
- 预算估算
- 演示和测试

返回格式

返回 Markdown 格式的价格信息,包含:

  • 厂商信息
  • 封装和类别
  • 库存数量
  • 价格阶梯(1+、10+、100+、1000+)
  • 数据来源标识(实时/模拟)
  • LCSC 商品链接

示例输出

markdown
## 📦 LCSC 元器件价格查询: STM32F103C8T6
| 项目 | 值 |
|------|-----|
| 厂商 | STMicroelectronics |
| 描述 | MCU 32-bit ARM Cortex M3 RISC 64KB Flash... |
| 封装 | LQFP-48 |
| 类别 | MCU |
| 库存 | 5,800 件 |
| **数据来源** | **实时** |
| **更新时间** | 2026-02-28 17:15:00 |
### 💰 价格阶梯 (RMB)
| 数量区间 | 单价 |
|----------|------|
| 1+ | ¥11.50 |
| 10+ | ¥9.80 |
| 100+ | ¥7.20 |
| 1000+ | ¥5.60 |
---
🔗 https://www.lcsc.com | 🤖 自动生成 | 2026-02-28 17:15:00

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/terryhillliu-code/clawdbot-docker/lcsc-search/badge)](https://verified-skill.com/skills/terryhillliu-code/clawdbot-docker/lcsc-search)

Something wrong with this skill or its page? Tell us.