Vibe-Research: Skill for Claude Code

.agents/skills/data-access/SKILL.md

data-access is a skill for Claude Code, Codex from spy007111/Vibe-Research. It costs 127 tokens per session (4,481 once invoked), scanned A, a copy of data-access, MIT.

A procedure for retrieving current Chinese A-share market, financial, estimate, announcement, and trading data through approved scripts. A-share stocks are shares listed in mainland China, and the procedure records the source responses and missing fields.

In plain words
What is it for?
Use it to fetch quotes, market values, valuation data, financial reports, analyst estimates, announcements, daily prices, and trading calendars for a supplied stock code.
Why use it?
It prevents an agent from inventing or relying on remembered market numbers. It also provides a consistent way to report failed, partial, or stale data retrieval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is spy007111/Vibe-Research's own configuration. It tells Claude Code and Codex how to work on Vibe-Research itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Vibe-Research configures →

Reuse

Borrowing it

Nothing to install: this file belongs to spy007111/Vibe-Research. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/spy007111/Vibe-Research/main/.agents/skills/data-access/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/spy007111/Vibe-Research

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 data-access

README.md
[![agentmods](https://agentmods.dev/badge/skills/spy007111/vibe-research/data-access/github.svg)](https://agentmods.dev/skills/spy007111/vibe-research/data-access)
Your own site
<a href="https://agentmods.dev/skills/spy007111/vibe-research/data-access"><img src="https://agentmods.dev/badge/skills/spy007111/vibe-research/data-access/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 data-access

Your own site · 80×15
<a href="https://agentmods.dev/skills/spy007111/vibe-research/data-access"><img src="https://agentmods.dev/badge/skills/spy007111/vibe-research/data-access.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,481 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.
Origin 100% copy Near-identical to another mod 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.00127 $0.04481
Opus 5.5 $0.00051 $0.01792
Sonnet 5.5 $0.00025 $0.00896
Haiku 4.5 $0.00013 $0.00448

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

Security

Grade A, and why

data-access 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 26d ago.

The scan reads SKILL.md. This mod also ships 58 executable files (scripts/common.py, scripts/core/__init__.py, scripts/core/cdp.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.

Origin

This is a copy

100% identical to data-access — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/data-access/SKILL.md · 93 lines

How it starts

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

A 股零鉴权取数(data-access)

本 skill 是 研究宪法 §0 第 1 条("禁止凭记忆生成数据")与 §5("取数只用登记脚本")的落地:每个数字都来自本次运行的脚本调用,原始响应落盘,证据带齐契约字段。脚本只取数、不做算术(单季拆分 / TTM / 同比 / 分位一律交给 calc/)。

1. 调用方式

python3 .agents/skills/data-access/scripts/<script>.py --symbol 300308 --out-dir .local/runs/<run-id>

(示例代码 300308 为 Phase 0 验收标的,仅作命令行示例,不代表任何推荐。)

  • --symbol 接受 300308 / SZ300308 / 300308.SZ(前后缀二选一,矛盾即报错,绝不猜市场);输出统一 6 位 + 市场 SH|SZ|BJ。
  • --out-dir 给运行目录:原始响应自动写到 <out-dir>/raw/,结构化结果写到 <out-dir>/fetch/<script>.json;不给则只打印 JSON 到 stdout(仍计算 sha256)。
  • 退出码:0 ok(主源成功)/ 2 partial(走了备源或部分字段缺失,看 extra.degraded 与 errors)/ 3 failed(关键数据全部失败)。非 0 不是"没数据可以编",是"如实记缺口"。
  • 依赖:scripts/requirements.txt(requests / pandas / lxml / akshare / baostock);腾讯、深交所、东财 K 线只用标准库。需要联网;正式研究里由编排器在自己的进程中执行这些脚本,接进来的研究大脑(本机 Agent 或模型 API)不联网、也不直接跑脚本。
  • 东财系请求全部经 common.em_get:跨进程串行(文件锁覆盖整个请求生命周期,任一时刻最多一个东财请求在途,间隔 ≥1s + 抖动)、403 不重试、代理失败自动直连重试、push2 断连自动轮询 push2delay。编排器并行启动多个脚本也会在锁上排队。

2. 脚本登记表

脚本 拿什么 主源 备源 研究中的地位
fetch_quote.py 现价 / 昨收 / 涨跌幅 / 换手 / PE_TTM / PE 静 / PB / 流通市值 / 总市值 / 成交额;僵尸报价疑似 is_stale(命中 → partial 且估值类 evidence 带 note;停牌 / 废码 / 盘前三者之一,可用性由 SOP 结合交易日历判定) 腾讯 qt.gtimg.cn 东财 push2(delay)(同样做僵尸判定,period 取源端行情时间) ★ 必需(估值分子)
fetch_profile.py 名称 / 上市日 / 在市状态 / 证监会行业 / 东财行业 / 总股本 / 流通股 / 市值 腾讯 + baostock 东财 push2(delay)(可选增强,失败不拖垮) ★ 必需
fetch_financials.py 最近 N 报告期累计值:营业总收入 / 归母净利润 / 扣非净利润 / 基本 EPS;关键字段 × 最近 8 期完整性校验 新浪财务摘要(akshare) 新浪利润表直连(无扣非;主源部分缺失时只补营收 / 归母,补齐也算走备源 → partial) ★ 必需(扣非×4 PE / TTM 同比)
fetch_estimates.py 一致预期 EPS(FY T / T+1 / T+2):均值 / min / max / 机构数 同花顺 worth.html 东财研报逐篇预测(非一致预期,partial) ★ 必需(前瞻 CAGR)
fetch_pe_history.py PE_TTM / PB 日频序列(默认 5 年)→ raw CSV;最新值 baostock —(北交所不支持) ○ 可选(TTM PE 分位)
fetch_announcements.py 最近 N 条公告标题 / 日期 / PDF 链接 深市:深交所官方;沪市 / 北交所:东财 深市备源东财 ○ 可选(风险 / 反证线索)
fetch_kline.py 日 K 前复权序列 → raw;最新收盘(逐行校验,坏行剔除→partial) 腾讯 fqkline 东财 push2his(本机网络常断) ○ 可选(stale 二次验证时用)
fetch_trade_calendar.py 全市场交易日历:last_trading_day / previous_trading_day / is_today_trading_day / session_phase(pre_open·trading·post_close·non_trading_day)/ reference_quote_day(此刻新鲜报价应有的日期)(evidence symbol=MARKET, market=CN) baostock query_trade_dates — ★ 必需(判定报价日期差异是休市 / 盘前还是个股停牌)

Read the full file on GitHub · 93 lines

Files

What ships with it

60 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. 26d ago Changed 2e05341cfd41
  2. 1mo ago First seen · 93 lines · 127 tokens per session scan A dc272d9b7f20

Subscribe to this mod's changes

data-access is a skill published in the GitHub repository spy007111/Vibe-Research (8 stars, last pushed 8d ago), licensed MIT. It adds 127 tokens to every session and 4,481 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to data-access, differing in 0 lines, and is treated as a copy.

Related

data-access compared with skills from other repositories

data-access next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
data-accessspy007111/Vibe-ResearchSkill88d agoMITA127Claude Code, Codex
sector-rotationHKUDS/Vibe-TradingSkill38kyesterdayMITA39Claude Code, Codex
twitter-readerhimself65/finance-skillsSkill3.5k2d agoMITA110Claude Code
strategy-pivot-designertradermonty/claude-trading-skillsSkill3.7k2d agoMITA28Claude Code, Codex
energy-procurementhashgraph-online/awesome-codex-pluginsSkill1.5kyesterdayApache-2.0A93Claude Code, Codex
airdrop-hunting-guidenirholas/three.wsSkill269yesterdayApache-2.0A54Claude Code, Codex
multi-expert-analyzerdigoal/blogSkill8.6k2d agoGPL-2.0A292Codex