Reading Measurements 标志

Reading Measurements

社区
okgrit
reading-measurements

读懂数字,不被数字误导:退出代码、显示通过的结果文件、测试数量、列表长度、对照运行结果,以及红色或绿色状态。报告任何数字、将测试运行结果作为结论、根据“有 N 个项目损坏”采取行动之前,以及两个输出或同一事物的两种计数不一致时,都应使用。

概览

发布者okgrit
代码仓库done-is-a-claim
技能名称reading-measurements
星标数
33
复刻数
4
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 okgrit 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Reading Measurements AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/okgrit/done-is-a-claim/tree/main/skills/reading-measurements
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/okgrit/done-is-a-claim.git /tmp/done-is-a-claim
mkdir -p .claude/skills
cp -r /tmp/done-is-a-claim/skills/reading-measurements .claude/skills/reading-measurements
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Reading Measurements,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Reading Measurements。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Reading Measurements 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Reading measurements

Wrong reports rarely lack a measurement. They read a real number as answering a question it never asked. Before you report, decide or spend anything on a figure, ask:

What would this same number look like if my claim were false?

If the answer is "exactly the same", the number alone does not distinguish the claim from its alternative. Seek a discriminating observation or control.

Reading any figure

Use the relevant checks below to decide what the figure supports. A limitation may invalidate an interpretation without invalidating the observation itself.

  1. An exit code is not a verdict. pytest exit 4 indicates a usage error, such as a missing path; exit 5 indicates nothing was collected. Read the collection and result summaries. no tests ran does not establish a pass; investigate selection, setup and the change before assigning cause.
  2. Capture the command's own exit code. In cmd | tail; echo $? the status is tail's in ordinary shell pipeline behavior. Capture the tested command's status before reading a saved log, or use the shell's pipeline status facility. set -o pipefail detects a failing pipeline in shells that support it; its status is not necessarily the tested command's code.
  3. Read the relevant artefacts. A result file, a CI summary, a log and a progress counter are separate claims about one run. When they disagree, the disagreement is the finding.
  4. A green names its tree. Quote the branch and commit with each code-run figure and say whether the working tree was dirty. A run on main measured main, not your change.
  5. Match the scope of a comparison: paths, flags, environment and relevant machine conditions, with clean trees and quoted commits. Rerun a narrowed command on both trees before comparing; use the full suite if order or shared state matters. Record unavoidable differences as limits. Matching test names alone does not establish the same failure or exclude extra reds.
  6. A result belongs to the revision measured. It remains historical evidence when main moves, but a claim about current main needs a fresh run.
  7. An all-positive detector needs investigation. The inputs may all be affected, or the detector may be wrong. Check a known-good case and inspect its classification before trusting the inferred failure rate.
  8. A count travels with its filter. Print the query, and every exclusion, with the total, including the unit counted: definitions, collected test cases and executed cases are different quantities. Investigate differences in filters, revisions, inputs and method before attributing a discrepancy.
  9. A returned value needs interpretation. An HTTP 4xx, an empty response, a constant column or a 0-byte file may be valid for one question and useless for another. Check contents and status; record size and modification time when emptiness or freshness matters to the claim.
  10. Capture the whole output to a file and read its tail from the file; a live | tail may omit the cause and hide progress.
  11. Agreement needs independence. Two numbers copied from one source agree with themselves.
  12. A timeout is an observation, not a cause. Record the deadline and last progress. Isolate tests under a wall-clock limit when useful, but preserve the original suite run: isolation can hide order or shared-state failures.
  13. A quiet log is not a stall. A pipe ending in | tail prints nothing until the run exits. Check process state and progress before calling it stuck; CPU time alone does not distinguish useful work, waiting or a loop.

Acting on a count

A list size measures the selected set, not necessarily the broken population. Before acting on "N items are broken":

  1. Which filter produced this number? Quote it with the figure.
  2. Is it one kind of thing? Group the members by what they are about.
  3. Does one class dominate? Classify failures by cause and count each class. A large class is a lead for a shared mechanism, not proof that one fix covers every member.
  4. Would this detector ever say no? Run it on a case known to be clean.

A self-selected sample does not predict the rate of the whole list, and a larger denominator does not repair it; draw the sample differently.

A reportable figure

For a code-run figure, record its command, branch and commit, whether the tree was dirty, relevant summary and log path. Include scope and filters for counts, both runs for a comparison, and any limits or untested scope. Other figures need their source, date and method. If evidence is unavailable, omit the factual claim or explicitly attribute a report; do not present it as your measurement.

常见问题

Reading Measurements AI 技能有什么作用?

读懂数字,不被数字误导:退出代码、显示通过的结果文件、测试数量、列表长度、对照运行结果,以及红色或绿色状态。报告任何数字、将测试运行结果作为结论、根据“有 N 个项目损坏”采取行动之前,以及两个输出或同一事物的两种计数不一致时,都应使用。

为什么在 TypingMind 中使用 Reading Measurements?

因为您只需安装一次,就能搭配任何模型使用。Reading Measurements 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Reading Measurements?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/okgrit/done-is-a-claim/tree/main/skills/reading-measurements。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Reading Measurements?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Reading Measurements 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Reading Measurements 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Reading Measurements AI 技能免费吗?

是的。okgrit 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇