China A-Share Quote

SkillDev tools

Use this skill when the user asks for current China A-share stock information.

Use China A-Share Quote in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add China A-Share Quote and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the China A-Share Quote skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

China A-Share QuoteStart free
About this skill

ESP-Claw Skills Lab

What this skill tells your AI

The instructions your AI receives, as published by espressif/esp-claw-skills-lab in skills/china_a_share_quote/SKILL.md and read by Ahel’s review.

Use this skill when the user asks for current China A-share stock information.

Run the bundled Lua script once with lua_run_script. The script uses the Lua capability module from lua_module_call_capability to call the registered http_request capability against Tencent's quote API at https://qt.gtimg.cn.

By default it fetches:

sh688018

The configured search_http_allowlist must allow qt.gtimg.cn or use *.

Script Args Schema

{
  "type": "object",
  "properties": {
    "symbol": {
      "type": "string",
      "description": "Optional Tencent quote symbol, for example sh688018 or sz000001."
    },
    "timeout_ms": {
      "type": "integer",
      "description": "Optional HTTP timeout in milliseconds. Defaults to 15000."
    },
    "session_id": {
      "type": "string",
      "description": "Optional session id passed to capability.call opts."
    },
    "source_cap": {
      "type": "string",
      "description": "Optional source capability name. Defaults to china_a_share_quote."
    }
  }
}

Tool Call Inputs

Default action:

{
  "path": "{CUR_SKILL_DIR}/scripts/china_a_share_quote.lua",
  "args": {}
}

Fetch a specific stock:

{
  "path": "{CUR_SKILL_DIR}/scripts/china_a_share_quote.lua",
  "args": {
    "symbol": "sz000001"
  }
}

Behavior

The script prints a human-readable line and a compact JSON result:

[china_a_share_quote] sh688018 price=179.73 change=5.80 pct=3.33% high=183.83 low=168.19 time=20260513161436
{"ok":true,"symbol":"sh688018","code":"688018","price":179.73,"change":5.8,"change_pct":3.33,"open":172,"previous_close":173.93,"high":183.83,"low":168.19,"volume":7435981,"amount":130946,"datetime":"20260513161436"}

Report the quote values to the user. If the script errors, report the error message directly.

Signals

GitHub stars
34
Forks
17
Last commit
Sep 2026
Advanced
Item type
skill
Key
china-a-share-quote
Source
github.com/espressif/esp-claw-skills-lab