tencent-technical

tencent-technical is a skill for Claude Code, Codex from duolongworld/AI_Renaissance. It costs 103 tokens per session (2,182 once invoked), scanned A, original, Apache-2.0.

A market-data tool that retrieves candlestick price data and calculates common technical indicators. Candlesticks record open, high, low, close, and trading volume; the indicators include moving averages, Bollinger Bands, and RSI.

In plain words
What is it for?
Use it to fetch daily, weekly, monthly, or minute-based data for Chinese, Hong Kong, or US stocks and calculate MA, Bollinger Bands, and RSI.
Why use it?
It gathers price history and calculates these indicators in one structured result for analysis. It supplies data and calculations only, not a buy, sell, or trading decision.

Skill for Claude CodeCodex

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

Good fit Use it to fetch daily, weekly, monthly, or minute-based data for Chinese, Hong Kong, or US stocks and calculate MA, Bollinger Bands, and RSI.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/duolongworld/ai_renaissance/tencent_technical
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 duolongworld/AI_Renaissance --skill tencent_technical
Clone the repo
git clone --depth 1 https://github.com/duolongworld/AI_Renaissance

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 tencent-technical

README.md
[![agentmods](https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/tencent_technical/github.svg)](https://agentmods.dev/skills/duolongworld/ai_renaissance/tencent_technical)
Your own site
<a href="https://agentmods.dev/skills/duolongworld/ai_renaissance/tencent_technical"><img src="https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/tencent_technical/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 tencent-technical

Your own site · 80×15
<a href="https://agentmods.dev/skills/duolongworld/ai_renaissance/tencent_technical"><img src="https://agentmods.dev/badge/skills/duolongworld/ai_renaissance/tencent_technical.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,182 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.00103 $0.02182
Opus 5 $0.00051 $0.01091
Sonnet 5 $0.00021 $0.00436
Haiku 4.5 $0.00010 $0.00218

Measured 10d ago against content hash abf944ff6e4d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

tencent-technical 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/fetch_kline.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/data/tencent_technical/SKILL.md · 228 lines

How it starts

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

腾讯财经 K线数据获取 Skill

实现位置

本 Skill 只描述腾讯财经 K 线数据接口和输出形态;真实 HTTP 请求、响应解析、指标计算实现位于:

data_sources.tencent_technical

skills/data/tencent_technical/scripts/fetch_kline.py 仅作为薄包装保留历史导入路径和 CLI 入口,不承载核心数据源逻辑。

推荐业务代码直接调用:

from data_sources.tencent_technical import fetch_kline, fetch_kline_with_indicators

raw = fetch_kline("600519", k_type="day", num=120)
with_indicators = fetch_kline_with_indicators("600519", k_type="day", num=120)

兼容旧脚本路径的 CLI 调试方式:

python skills/data/tencent_technical/scripts/fetch_kline.py --stock_code 600519 --k_type day --num 120

1. 适用范围

所属小组:开发3组(数据)

适用任务:

  • 从腾讯财经(ifzq.gtimg.cn)获取指定个股的 K线行情数据(OHLCV)
  • 支持市场:A股(上交所/深交所)、港股、美股
  • 支持日K、周K、月K、1/5/15/30/60分钟K线(前复权)
  • 基于K线原始数据计算技术指标:MA均线、BOLL布林带、RSI相对强弱指数
  • 提供结构化 JSON 输出,供技术分析 Agent 消费

边界说明:

  • 本 Skill 只负责数据获取和技术指标计算,不做任何交易判断
  • 腾讯 API 只返回 OHLCV 原始数据,MA/BOLL/RSI 为本地计算
  • API 为非官方公开接口,可能随时变更,建议控制请求频率
  • 日K最多获取 640 条,分钟K最多获取 320 条
  • 港美股 API 覆盖度可能不及 A 股,部分代码可能无数据

2. 输入材料

必填输入

  • 股票代码,支持以下格式(大小写不敏感):
市场 代码格式 示例
A股上交所 6位数字(6开头),可选 sh 前缀 600519sh688981
A股深交所 6位数字(0/3开头),可选 sz 前缀 000001sz300750
港股 5位以内数字,可选 hk 前缀 00700hk09988
美股 字母 ticker,可选 us 前缀 AAPLusTSLA
  • K线周期(day/week/month/m1/m5/m15/m30/m60)

可选输入

  • 获取数量(默认 120,日K最多 640,分钟K最多 320)
  • 技术指标选择(默认 ma,boll,rsi,逗号分隔)

缺失处理

  • 如果股票代码无法识别,输出 status: "error"kline: []
  • 如果 API 请求失败,输出 status: "error",附错误信息
  • 如果 K线数据不足计算某个指标,对应字段输出 null

3. 分析步骤

  1. 标准化股票代码(自动识别 A股/港股/美股 → sh/sz/hk/us 前缀格式)
  2. 根据 K线周期选择对应 API 端点
  3. 调用腾讯财经 API 获取 OHLCV 原始数据
  4. 解析响应,提取 date/open/close/high/low/volume
  5. 按 indicators 参数计算技术指标:
    • MA:收盘价的 N 周期滑动平均
    • BOLL:MA20 ± 2×标准差
    • RSI:基于涨跌幅的相对强弱指数
  6. 输出结构化 JSON

4. 判断规则

本 Skill 为数据获取层,不产出交易方向判断。技术指标的计算规则如下:

  • MA5/MA10/MA20/MA60:数据不足 N 条时输出 null
  • BOLL(20,2σ):至少需要 20 条数据,不足时 upper/middle/lower 均为 null
  • RSI6/RSI12/RSI24:至少需要 N+1 条数据(计算涨跌幅),不足时输出 null
  • 成交量:输出统一为 A 股常用口径“手”。腾讯日 K 对科创板 sh688*** 原始字段可能返回“股”,运行时会先除以 100 归一为“手”,并保留 volume_raw / volume_raw_unit 便于排查口径。

Read the full file on GitHub · 228 lines

Files

What ships with it

2 files 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. 10d ago First seen · 228 lines · 103 tokens per session scan A abf944ff6e4d

Subscribe to this mod's changes

tencent-technical is a skill published in the GitHub repository duolongworld/AI_Renaissance (59 stars, last pushed 12d ago), licensed Apache-2.0. It adds 103 tokens to every session and 2,182 once invoked, about $0.0005 per session on Opus 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-08-30.

Related

Other skills, from other repositories