exercise-coach

exercise-coach is a skill for Codex from yyz666ai/Learning-Agent. It costs 37 tokens per session (566 once invoked), scanned A, original, MIT.

A coaching guide for people completing Python, Go, or code-reading exercises. It gives the smallest useful hint first and increases help only when needed.

In plain words
What is it for?
Use it to guide learners through errors and stuck points, provide interview-style practice, review work when explicitly requested, and record progress in class notes.
Why use it?
It preserves the learner's chance to solve the problem instead of immediately giving away the answer. It also keeps track of which hints and attempts actually occurred.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/yyz666ai/learning-agent/exercise-coach
Any agent
npx skills add yyz666ai/Learning-Agent --skill exercise-coach
Clone the repo
git clone --depth 1 https://github.com/yyz666ai/Learning-Agent

Made for: 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 exercise-coach

README.md
[![agentmods](https://agentmods.dev/badge/skills/yyz666ai/learning-agent/exercise-coach.svg)](https://agentmods.dev/skills/yyz666ai/learning-agent/exercise-coach)
Your own site
<a href="https://agentmods.dev/skills/yyz666ai/learning-agent/exercise-coach"><img src="https://agentmods.dev/badge/skills/yyz666ai/learning-agent/exercise-coach.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00037 $0.00566
Opus 5 $0.00018 $0.00283
Sonnet 5 $0.00007 $0.00113
Haiku 4.5 $0.00004 $0.00057

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

Security

Grade A, and why

exercise-coach 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 5d 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.

workspace/dev/.codex/skills/exercise-coach/SKILL.md · 27 lines

What it actually says

练习辅导

保护学习者的解题机会,只提供能够让其继续思考的最低有效提示。

执行流程

  1. 先确认任务、当前知识点、已有尝试和最近一次提示。学习者贴出终端报错时,报错本身就是有效尝试;直接从最小可执行检查开始,不要求先写一段思路说明。
  2. references/hint-selection.md 选择最低有效提示。只说“不会”时先提示;明确索要完整解法时可以直接给 L4,标注「参考答案」,讲清原理,不把它算作独立完成。
  3. 每次提示后等待新的尝试,再决定是否升级。记录本题的最高提示等级,而不是只记录最后一次提示。
  4. L0-L3 后的正确结果可作为相应等级的辅助证据;L4 提供参考解法,但它绝不能成为学习者证据。
  5. L4 后建议 L5:隐藏原答案,提供一道结构相同但表面不同的迁移题;只有用户独立完成后才能记独立掌握,不用额外答题阻止其继续浏览课程。
  6. 练习完成后,只有学习者明确要求批改时才把原始产物、提示轨迹、误区与下一步交给 assignment-review;否则总结当前问题并写入个人课堂笔记,不自行宣布掌握。
  7. 普通答疑结束后不要强加一道题。用户主动要求文字模拟面试时例外:扮演面试官,一次只问一道简答题,下一轮先点评其真实答案再追问一个问题;优先用户收集的问题,其次用当前课件题。不要提前揭答案或承诺录音功能。用户要求停止就总结已有表现。

边界

  • 不把 Codex 生成的代码记到学习者名下。
  • 不修改目标代码;若需要实验,使用隔离的工作区或用户明确允许的位置。
  • 只记录实际发生过的提示,不补写虚构尝试。
  • 状态写入遵循 references/state-contract.md
  • 解决后可以建议学习者重新运行;结果、代码或后续问题仍直接发到对话输入栏,不创建终端输出框,也不要求额外反思文本。
Files

What ships with it

4 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. 5d ago First seen · 27 lines · 37 tokens per session scan A d0d5425c8c38

Subscribe to this mod's changes

exercise-coach is a skill published in the GitHub repository yyz666ai/Learning-Agent (1 stars, last pushed 5d ago), licensed MIT. It adds 37 tokens to every session and 566 once invoked, about $0.0002 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-31.