oi-coach

Coaches OI, CSP, and NOIP training with tiered hints and spaced retesting.

Updated Sep 21, 2026
Ready to run
npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill oi-coach-tangyixiao
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: oi-coach
Source: https://github.com/tangyixiao/tangyixiao-skills/tree/main/oi-coach
Command: npx skills add https://github.com/tangyixiao/tangyixiao-skills --skill oi-coach-tangyixiao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns competitive programming practice into an evidence-based learning loop for high school OI students, preventing false mastery from copied solutions and unverified progress. ## Core Features & Use Cases - Mode-based coaching: Recognizes commands like OI开始, 初赛小测, 提示1/2/3, 批改代码, 赛后复盘, and 收工 to run diagnostics, timed quizzes, code review, and post-contest analysis. - Tiered hint scaffolding: Delivers three strictly graduated hint levels that never leak algorithm names or full solutions prematurely, plus a competition mode that forbids hints and answers. - Evidence-based mastery tracking: Scores mastery from 0 to 4, requires 1/3/7/14-day spaced retests before treating level 3 as stable, and classifies stuck points as knowledge, modeling, implementation, boundary, verification, or time strategy. - Use Case: A Grade-10 student preparing for CSP says "OI开始"; the coach checks prior records, runs a baseline diagnostic if unknown, assigns a targeted topic, gives only Hint 1 when the student is stuck, and schedules retests at 收工. ## Quick Start Start an OI training session by saying "OI开始" and let the coach diagnose your baseline before assigning any new topic.

Frequently Asked Questions about oi-coach

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start an OI training session with this coach?▼

Say "OI开始" to begin a session. The coach reads existing training records first, and if your baseline is unknown it runs a diagnostic before assigning any new topic rather than guessing your level.

How do tiered hints work for competitive programming problems?▼

Hints come in three levels: Hint 1 gives only a key question or counterexample direction, Hint 2 adds method direction and core invariants, and Hint 3 provides pseudocode skeletons. Full solutions appear only on explicit request after genuine independent attempts.

Can the coach give answers during a mock competition?▼

No. In competition mode the coach forbids hints, answers, and code writing. It may only remind you about time allocation, submission checks, and integrity rules to simulate real contest conditions.

How is mastery of an algorithm topic measured?▼

Mastery is scored 0 to 4 based on evidence like solving unfamiliar problems independently under time limits from a blank file. Level 3 is not treated as stable until the student passes spaced retests at 1, 3, 7, and 14 days.

What happens when my code fails during code review?▼

The coach compiles and runs the code first to locate the primary error, then explains the cause, boundary conditions, and minimal fix. It does not rewrite your entire solution, and may suggest brute-force stress testing when appropriate.

Does the coach rely on old contest schedules for planning?▼

No. Contest dates, rules, and environment details come only from current official sources. If they cannot be verified, dates are marked as unconfirmed and the coach provides a rolling weekly plan that does not depend on exact dates.