KLineChartQuant: Skill for OpenCode

.opencode/skills/codereview/SKILL.md

codereview is a skill for OpenCode from 363045841/KLineChartQuant. It costs 29 tokens per session (420 once invoked), scanned A, original, Apache-2.0.

A code-review guide focused on recurring design problems in software projects, such as duplicated state, unclear layer responsibilities, and inconsistent data models.

In plain words
What is it for?
Use it to review state ownership, boundaries between layers, model definitions, renamed APIs, package exports, tests, and related documentation, with findings tied to file locations.
Why use it?
It helps reviewers find bugs and maintenance risks that may not appear in a basic style review, including changes that were not updated across tests, exports, or documentation.

Skill for OpenCode

Written for OpenCode: installed under .opencode/.

This is 363045841/KLineChartQuant's own configuration. It tells OpenCode how to work on KLineChartQuant 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 KLineChartQuant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 363045841/KLineChartQuant. 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/363045841/KLineChartQuant/main/.opencode/skills/codereview/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/363045841/KLineChartQuant

Made for: OpenCode.

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 codereview

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/363045841/klinechartquant/codereview"><img src="https://agentmods.dev/badge/skills/363045841/klinechartquant/codereview.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 420 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.00029 $0.00420
Opus 5.5 $0.00012 $0.00168
Sonnet 5.5 $0.00006 $0.00084
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade A, and why

codereview 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 2mo ago.

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.

.opencode/skills/codereview/SKILL.md · 47 lines

What it actually says

Code Review Principles

在进行代码和架构 Review 时,重点检查以下四类问题:

1. 状态一致性

检查同一业务状态是否被拆成多个字段、缓存或存储位置维护。

  • 优先确认是否存在单一事实来源。
  • 派生值应通过 computed 或统一投影获得。
  • 关注手动同步、影子缓存和异步覆盖造成的不一致。

2. 边界职责

检查各层是否职责重叠。

  • 避免多个层重复保存同一状态。
  • 避免无实际价值的转发方法和包装层。
  • 公共 API 不应暴露未完成或仅属于内部实现的抽象。

3. 模型契约

检查协议模型、领域模型和 UI 模型是否有清晰且唯一的权威定义。

  • 避免重复定义结构相同的类型。
  • 若协议模型就是前端标准模型,直接复用领域类型。
  • 若两者确实不同,必须明确字段转换、校验和默认值规则。

4. 变更传播

检查重命名、状态重构和公共 API 变化是否同步传播到代码、测试、文档和导出入口。

  • 搜索旧名称和残留引用。
  • 确认测试代码也经过 TypeScript 检查,避免只通过运行时转译。
  • 检查包级导出、README、设计文档和框架绑定是否同步。

Review Output

优先报告可复现的问题和高风险坏味道,并提供文件与行号。 每个 finding 说明:问题是什么、为什么有风险、建议如何收敛。 如果没有发现问题,说明已检查的边界和剩余测试风险。

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. 2mo ago First seen · 47 lines · 29 tokens per session scan A ef708eec5bfe

Subscribe to this mod's changes

codereview is a skill published in the GitHub repository 363045841/KLineChartQuant (37 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 420 once invoked, about $0.0001 per session on Opus 5.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

cuml-machine-learning

Use for GPU-accelerated machine learning on tabular data using NVIDIA cuML. Triggers when tasks involve classification, regression, clustering, dimensionality reduction, or model training on datasets.

langchain-ai/deepagents · 43 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

ax-ai

This skill helps an LLM generate correct AI provider setup and configuration code using @ax-llm/ax. Use when the user asks about ai(), providers, models, routing, adaptive balancing, presets, embeddings, batch audio with ai.transcribe() or ai.speak(), extended thinking, context caching, or mentions…

ax-llm/ax · 105 tokens

ax-cpp-gen

Use when writing C++ code with axllm for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.

ax-llm/ax · 48 tokens

ax-java-gen

Use when writing Java code with dev.axllm:ax for AxGen programs, forward calls, indexed multi-sampling, result pickers, streaming, tools, assertions, traces, usage, and output parsing.

ax-llm/ax · 49 tokens

ax-agent-rlm

This skill helps an LLM generate correct AxAgent RLM/runtime code using @ax-llm/ax. Use when the user asks about RLM code execution, AxJSRuntime, contextFields, contextPolicy, liveRuntimeState, promptLevel, stage prompt controls, executorModelPolicy, maxRuntimeChars, agent.test(...), llmQuery(...), recursionOptions…

ax-llm/ax · 88 tokens