quant-buddy-view

quant-buddy-view is a skill for Claude Code, Codex from pseudo-longinus/quant-buddy-skills. It costs 492 tokens per session (18,725 once invoked), scanned A, original, MIT.

A workflow for publishing verified quantitative data and formulas as public, shareable web dashboards that fetch current data. Quantitative data means numerical information used for analysis, such as market measures.

In plain words
What is it for?
Creating, updating, publishing, checking, and reusing Quant Buddy dashboards or templates, including interpreting an existing dashboard and handling its runtime data.
Why use it?
It turns validated analysis into a reusable public page instead of leaving the results in a one-time query or backtest.

Skill for Claude CodeCodex

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/static_page.py interpret '{"url":"用户提供的页面 URL"}'.

Good fit Creating, updating, publishing, checking, and reusing Quant Buddy dashboards or templates, including interpreting an existing dashboard and handling its runtime data.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pseudo-longinus/quant-buddy-skills
agentmods
npx agentmods add skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view

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 quant-buddy-view

README.md
[![agentmods](https://agentmods.dev/badge/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view/github.svg)](https://agentmods.dev/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view)
Your own site
<a href="https://agentmods.dev/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view"><img src="https://agentmods.dev/badge/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view/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 quant-buddy-view

Your own site · 80×15
<a href="https://agentmods.dev/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view"><img src="https://agentmods.dev/badge/skills/pseudo-longinus/quant-buddy-skills/quant-buddy-view.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 492 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 18,725 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 warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 227
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 229
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 231
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00492 $0.18725
Opus 5 $0.00246 $0.09362
Sonnet 5 $0.00098 $0.03745
Haiku 4.5 $0.00049 $0.01872

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

Security

Grade A, and why

quant-buddy-view 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 2d ago.

The scan reads SKILL.md. This mod also ships 30 executable files (assets/data-kernel.js, assets/qr-mini.js, assets/share-shell/poster.js, …), 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/quant-buddy-view/SKILL.md · 384 lines

How it starts

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

quant-buddy-view · 量化看板发布

把「已验证的量化数据与公式」沉淀成一个公开可分享、实时取数的网页看板/落地页。本技能不做一次性行情查询或回测探索;默认执行路线是:

feishu-group 渠道:打包渠道为 feishu-group 时,direct/fork/unmatched/update 等所有分支禁止发送非终态链接;终态 contract 统一把 pages.quantbuddy.cn/pages/<owner>/<page_id>.html 转成 www.quantbuddy.cn/playground/<owner>/<page_id>,内部发布与验收仍使用原始托管 URL。

最高优先级:既有活页解读。 用户给出 pages.quantbuddy.cn/pages/... 的 QuantBuddy 活页 URL,且意图是“解读 / 分析当前活页 / 看这页数据”时,先且只运行:

python scripts/static_page.py interpret '{"url":"用户提供的页面 URL"}'

这是只读数据路径,不要运行 trace_context.pytemplatestemplatedirect_delivernew_page、fork、download、浏览器或 HTML 搜索,也不要创建、更新、发布页面。它调用 getPageDetail?need_data=true;服务端使用页面绑定的公式包和 Data Grant 取最新数据,并附加 interpretation_bundle,不返回 signature。直接按用户的自定义要求解读详情与 interpretation_bundle.runtime_data。未指定格式时,依次输出一句话结论、关键指标及变化、风险/异常、3 个继续追问方向。详见 workflows/interpret-existing-page.md

interpretation_bundle.runtime_data.grants[].data.mode="csv",先返回的 csv_fields[].csv_url 是短期下载链接而非可直接计算的数据。必须紧接着运行一次 python scripts/static_page.py interpret_csv '{}':它只下载该次 interpret 已返回的 CSV、保留链接并补出 results[].fields[].series,然后再计算和解读;禁止重跑 interpret、另查数据接口或把 CSV 链接给用户。

  1. 除上述既有活页解读分支外,在任何后端请求前运行 scripts/trace_context.py begin,保存唯一 task_id 并在后续命令中复用。这步本身就是后端写入调用,必须和后续命令带同一个身份(QBV_API_KEY 环境变量或参数里的 api_key),不带会被记成 skill 默认账号。
  2. 若用户只是要简单分析一只 A 股并返回页面,且没有定制栏目/版式、额外指标/公式/图表、对比或多标的要求,直接运行一次 scripts/static_page.py new_asset_page。成功结果包含完整数据草稿 agent_reply_markdown_draft;当前 Agent只需依据用户原问题和草稿前五章数据补写综合观察,不再查 templates,也不另跑 QBS 验证或注册 Grant。
  3. 除上述快速场景外,运行一次 scripts/static_page.py templates,查询统一 public 命中池(服务端一次返回官方精选+社区)。
  4. direct 只有在范式、范围和全部请求维度三轴均有证据时成立;direct_deliver 必须提交 dimension_check。缺维度改走 fork + same_paradigm_augment_dimension
  5. fork/unmatched 调用 new_page 时由 Agent 根据 items_summary 显式传 routing_decision;fork 还必须声明 borrow_mode=inherit|inherit_augment|compose。fork 一旦判定只能继承、增强继承或 Compose,禁止改判 unmatched。
  6. new_asset_page 成功后,按 agent_summary_request 用当前 Agent补写草稿中的唯一 summary_marker,保持其余内容不变并立即发送;direct、fork/unmatched 仍按 agent_reply_contract 和回复模板生成证据绑定草稿,再运行返回的 reply_validation_command,只有 valid=true 才最终回复。

多轮追问:首次用户消息运行 scripts/trace_context.py begin;同一 task_id 的每条后续用户消息先运行 scripts/trace_context.py beginTurn。正常 Agent 必须同时传本轮可选 agent_intent:简洁展开上下文指代并写清对象、动作、约束和期望页面/产物,推荐 20~160 字;不得复制用户原话、输出内部推理或提前编造结论。老调用方可省略并按 null 继续。一轮内所有 QBV/QBS 工具共享同一 turn_id。Turn 是审计旁路:服务端记录失败会返回 tracking_recorded:false,但不得阻断建页、更新、取数或发布;业务上下文继续切换到真实 user_query / agent_intent,attempted turn_id 不保存、不传播,后续按无 Turn 模式继续。更新既有活页必须继续复用原 page_id 与公开 URL。

QBS 并行 Handoff:收到 qbs_qbv_handoff_v1 时运行 scripts/trace_context.py beginHandoff(兼容 begin-handoff),传入 Handoff object 或绝对 handoff_file。必须原样复用其中真实 task_id + turn_id + source_skill_id,不得再次 begin/beginTurn、不得在 QBV 重做 QBS 路由分类。create/existing_page 之后仍进入本 Skill 完整 SOP,由 QBV 判断 direct/fork/unmatched、查询 ownership 并执行本人原位更新或他人复制;高风险持久状态未确认时 beginHandoff 必须拒绝。

Read the full file on GitHub · 384 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. 2d ago Changed · +25 lines 3e96690ce65b
  2. 3d ago Changed c0ae8dde04d8
  3. 5d ago Changed · +15 lines 9fa091cad67f
  4. 9d ago First seen · 344 lines · 492 tokens per session scan A a32a481ea63b

Subscribe to this mod's changes

quant-buddy-view is a skill published in the GitHub repository pseudo-longinus/quant-buddy-skills (111 stars, last pushed 2d ago), licensed MIT. It adds 492 tokens to every session and 18,725 once invoked, about $0.0025 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

stock-trading-analyst

Use when the user needs an A-share stock watchlist, short-term theme rotation review, or trading-plan risk audit based on user-provided market data. Produces evidence-based sector analysis, signal confidence, risk warnings, and a non-advisory action checklist for retail investors, research assistants, and trading…

AndrewNgGirl/SkillLens · 70 tokens

alpha-evaluate

A multi-step workflow for testing an investment factor, meaning a measurable stock signal, against market data. It examines predictive relationship, grouped returns, risk-adjusted results, consistency, and robustness.

VernonOY/alpha-skills · 74 tokens

alpha-backtest

A strategy backtesting workflow that tests factor-based stock portfolios on historical data. Backtesting means simulating how a strategy would have performed in the past.

VernonOY/alpha-skills · 56 tokens

alpha-mine

An automated process for proposing and testing stock-market formulas, called factors, that combine price or trading data with mathematical operations. It screens the candidates using measures such as IC, which compares a factor with later returns.

VernonOY/alpha-skills · 73 tokens

alpha-autopilot

An automated research loop for investment factors, which are measurable signals used to select or compare stocks. It finds candidates, tests them, records successful ones, monitors active factors, and retires those that weaken.

VernonOY/alpha-skills · 85 tokens

alpha-signal

A daily trading-signal generator that reads active investment factors, scores current market data, and produces a target portfolio. Factors are measurable rules used to rank investments.

VernonOY/alpha-skills · 70 tokens