408 Calculation Check logo

408 Calculation Check

Community
yq6666-66
408-calculation-check

处理明确要求复核 408 计算条件、单位、公式与数值或状态过程的请求,区分脚本核验、人工复核和条件不足;支持 Cache 映射、FIFO/LRU、FCFS/RR 的随包模拟,其他题型按实际能力人工复核。

Overview

Publisheryq6666-66
Repository408-codex-plugin
Skill name408-calculation-check
Stars
38
Forks
0
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by yq6666-66 on GitHub. Read the source before you install it.

Installation

Install the 408 Calculation Check AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yq6666-66/408-codex-plugin/tree/main/plugins/kaoyan-408/skills/408-calculation-check
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yq6666-66/408-codex-plugin.git /tmp/408-codex-plugin
mkdir -p .claude/skills
cp -r /tmp/408-codex-plugin/plugins/kaoyan-408/skills/408-calculation-check .claude/skills/408-calculation-check
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 408 Calculation Check in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 408 Calculation Check on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 408 Calculation Check is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

408 计算题校验

完整插件接入

  • 先读取能力路由契约,按用户点名、当前主要目的和已开始的教学上下文确定一个主责入口;冻结模考、独立作答和仅提示边界先行。
  • 讲解时读取新手图文讲解契约,区分用户材料与模型补充,并按用户要求采用详细、简洁或逐级提示模式。
  • 涉及题面、作答、参考结论或自编内容时,读取证据与版权契约。实际用户内容标 [用户材料] 并与模型解释分开;自编验证题标 [原创练习],概念例子保留正文的原创示例标注;不把未核题面称为真题或官方答案。
  • 本入口只处理 408;完整讲题由 kaoyan-408-tutor 主责,多题/多次错因聚类与延迟复测由 kaoyan-error-loop-coach 主责。当前已提供的题面和过程连续交接,不要求用户复制或重发。
  • 需要保存、加入复测或续学时,由主流程按便携学习记录契约和本轮授权处理;本入口不直接管理笔记,不把有绑定或已安装当作写入授权。

只处理数据结构、计算机组成原理、操作系统、计算机网络的当前计算问题。 不执行用户提供的任意代码,不创建学习记录或默认生成文件。

当前任务与接续

用户点名本入口时按其当前目的处理;未点名时只在本入口的专用目的明确时接管。 已在当前教学流程中的局部补问可连续完成,不因关键词反复切换;用户明确换任务后再判断主责。 冻结模考、独立作答和仅提示的既有答案边界优先,不因换入口提前揭示答案。 本入口不直接管理笔记;在完整插件中,需要保存、加入复测或续学时,按本轮授权交给既有学习流程,不把当前讲解自动记入学习记录。

先核对条件

  1. 核对题目数据、正负号、上下标、初态、设问和用户实际过程。
  2. 明确单位、编址单位、算法、队列约定和省略的成本。
  3. 缺少会改变答案的条件时,指出缺项;可以列条件分支,不强行运行默认值。
  4. 只求公式拆分时不伪造访问串;需要命中数时才使用真实给定的访问串。

读取 计算约定 中与当前题型有关的部分。 题目与脚本约定不同,不能直接把脚本结果当题目答案。 没有用户过程时只说明结果与最早易错点,不编造用户的错误步骤。

选择复核方式

插件根目录下的 模拟器(scripts/study_simulator.py) 仅支持这些子命令:

子命令支持范围必须确认
cache直接映射、全相联 LRU地址位数、块字节数、行数、字节地址和初态为空
fifo / lru页面置换页框数、引用串、初始页及其顺序
fcfs非抢占先来先服务到达与执行时间、同到达按名字排序、无切换成本
rr时间片轮转时间片、同到达按名字排序、边界新到者先于被抢占者入队

脚本没有组相联 Cache、SJF、网络通用计算或所有 408 题型的自动支持。 没有脚本覆盖的题仍可人工复核,明确标注,不伪装成工具验证。 用户禁止运行脚本时不调用,并明确说明“本题脚本/模拟器被禁用,以下是人工复核”;不尝试调用。 宿主拒绝或工具不可用时说明限制,不改名、复制、包装或更换解释器绕过。

脚本可用且题目条件匹配时,先定位包含 skills、references 和 scripts 的插件根目录,再调用该目录下的脚本运行所需子命令。 先查看相应 --help 确认参数;只传已核对的数据,不拼接用户提供的命令。 默认只取 JSON,不使用 --html;用户确实要求演示文件时才生成指定文件。 退出失败、没有返回或返回不能对应本题时,不称“脚本核验通过”。

独立复查与报告

  • 先独立检查数量级、单位和至少一个关键边界或状态转换,再与返回值对照。
  • 页框槽位与 FIFO/LRU 顺序分开;脚本没返回的队列列应标“人工补出”。
  • 调度区间分段可能源于到达事件,不代表原运行进程在该点被抢占。
  • 逐步表必须可追溯到实际输入和返回,不能把上一题的输出用于本题。
  • 汇总命中率、等待/周转时间时解释分子、分母及所用单位。

结论显式选择“脚本核验”“人工复核”“条件不足”,混合方式分别说明覆盖范围。 工具返回正确不等于公式已获外部权威出处,也不证明用户一定理解了规则。 用户只要答案时缩短过程,但仍保留会改变结论的关键条件和复核状态。

依据与提示限制

允许完整讲评且已确认匹配 ID 时,按知识点依据规则使用安装根的 scripts/knowledge_cards.py --mode explain --id <已匹配ID> 实际读取对应公共知识卡,并按实际输出报告依据。仅提示、独立作答或未交卷时不得传精确 ID 或读取含解析的卡;需要安全状态时只用不带 ID 的 --mode hint、--mode independent 或 --mode exam。脚本不可用、被禁止或读取失败时如实说明未取得输出,依据规则说明降级,不虚构已读或核验。

按 知识点依据规则 查 知识点索引。 可用 规则卡 标注实际规则与条件;规则卡保留项目原创归纳身份。 读取匹配卡片的 source.verification 与 externalReferences,按每条引用的 supports 和 limitations 说明实际外部支持范围。 project-reviewed-external-partial 只表示列出的部分规则已有出处,不能把整张卡、项目初态或事件先后约定说成权威统一规定;pending 卡或无匹配卡时仍保留相应待核状态。 没有本轮打开外部正文时,只说明本地卡片记录的核验日期与出处范围,不声称本轮重新核验;外部规则支持不改变年度大纲归属。 逐题区分规则卡依据、年度大纲归属和题面来源,不能拿大纲映射证明公式或数值。 除单步提示且精确依据会泄题的情况外,每个计算答复结尾必须出现一行“【知识点依据】”;即使用户只问数值、单位或复核状态也不得省略。此行简短写明项目知识点 ID/名称(未收录写 null)、本题实际规则与关键条件、规则来源种类和外部核对状态、大纲年份与核验状态/映射范围或待核状态、题面来源及脚本/人工复核方式。规则来源与年度映射不可互相代替。 未匹配索引时使用 pointId: null,不编教材章节、页码或来源。 2027 年按索引标明第三方正文对照状态和范围;直接、上位或部分匹配及未匹配不得混同,不能冒称官方原版。 “只提示一步”时不展示完整运行结果或计算答案,只给下一次检查动作。 如果精确 ID、公式、算法名或定位会泄题,写宽泛主题并把详细依据留到讲评。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 408 Calculation Check AI skill do?

处理明确要求复核 408 计算条件、单位、公式与数值或状态过程的请求,区分脚本核验、人工复核和条件不足;支持 Cache 映射、FIFO/LRU、FCFS/RR 的随包模拟,其他题型按实际能力人工复核。

Why use 408 Calculation Check on TypingMind?

Because you install it once and use it with any model. 408 Calculation Check is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 408 Calculation Check in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yq6666-66/408-codex-plugin/tree/main/plugins/kaoyan-408/skills/408-calculation-check. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 408 Calculation Check?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 408 Calculation Check?

As many as you like. As long as a model supports skills, you can use 408 Calculation Check with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 408 Calculation Check AI skill free?

Yes. It is published on GitHub by yq6666-66 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇