gentleman-trainer

gentleman-trainer is a skill for Claude Code, Codex from Gentleman-Programming/Gentleman.Dots. It costs 39 tokens per session (1,631 once invoked), scanned A, original, Apache-2.0.

A set of development patterns for a Vim-training role-playing game, where users learn editor commands through lessons and exercises.

In plain words
What is it for?
Adding Vim lessons, practice tasks, boss fights, unlock systems, and changes to the simulator for Vim commands.
Why use it?
It keeps new training modules, exercises, and progression rules consistent with the existing game structure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is cd installer && go test ./internal/tui/trainer/... # Run all trainer tests.

Good fit Adding Vim lessons, practice tasks, boss fights, unlock systems, and changes to the simulator for Vim commands.

Compare 6 skills from other repositories ↓
About the project

Gentleman.Dots is a personal development-environment configuration for Neovim, shells, terminal multiplexers, terminal emulators, and related command-line tools. Developers use it to install and configure a consistent coding setup, with an AI development layer managed separately through gentle-ai. The catalogue skills and instruction belong to that configured AI workflow.

Gentleman-Programming/Gentleman.Dots · 1,964 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Gentleman-Programming/Gentleman.Dots
agentmods
npx agentmods add skills/gentleman-programming/gentleman.dots/gentleman-trainer

Made for: Claude Code, 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 gentleman-trainer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gentleman-programming/gentleman.dots/gentleman-trainer"><img src="https://agentmods.dev/badge/skills/gentleman-programming/gentleman.dots/gentleman-trainer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,631 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.00039 $0.01631
Opus 5 $0.00019 $0.00816
Sonnet 5 $0.00008 $0.00326
Haiku 4.5 $0.00004 $0.00163

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

Security

Grade A, and why

gentleman-trainer 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 9d 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.

skills/gentleman-trainer/SKILL.md · 258 lines

How it starts

The opening of the file, as written. The whole thing — 258 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When to Use

Use this skill when:

  • Adding new Vim training modules
  • Creating exercises or boss fights
  • Modifying progression/unlock system
  • Working on the Vim command simulator
  • Adding practice mode features

Critical Patterns

Pattern 1: ModuleID Constants

All modules MUST be defined as ModuleID constants in types.go:

type ModuleID string

const (
    ModuleHorizontal   ModuleID = "horizontal"
    ModuleVertical     ModuleID = "vertical"
    ModuleTextObjects  ModuleID = "textobjects"
    ModuleChangeRepeat ModuleID = "cgn"
    ModuleSubstitution ModuleID = "substitution"
    ModuleRegex        ModuleID = "regex"
    ModuleMacros       ModuleID = "macros"
    // Add new modules here
)

Pattern 2: Exercise Structure

Every exercise follows this structure:

type Exercise struct {
    ID           string       // "horizontal_001"
    Module       ModuleID     // Parent module
    Level        int          // 1-10 difficulty
    Type         ExerciseType // lesson, practice, boss
    Code         []string     // Lines of code shown
    CursorPos    Position     // Initial cursor
    CursorTarget *Position    // Target position (movement exercises)
    Mission      string       // What user must do
    Solutions    []string     // ALL valid solutions
    Optimal      string       // Best/shortest solution
    Hint         string       // Help text
    Explanation  string       // Post-answer teaching
    TimeoutSecs  int          // Before showing solution
    Points       int          // Base score
}

Pattern 3: Module Unlock Order

Modules unlock sequentially - user must defeat boss to unlock next:

var moduleUnlockOrder = []ModuleID{
    ModuleHorizontal,   // Always unlocked
    ModuleVertical,     // After horizontal boss
    ModuleTextObjects,  // After vertical boss
    ModuleChangeRepeat, // After textobjects boss
    // ... etc
}

Pattern 4: Progression Flow

Lessons (sequential) → Practice (80% accuracy) → Boss Fight → Next Module

Read the full file on GitHub · 258 lines

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. 9d ago First seen · 258 lines · 39 tokens per session scan A 3e605a992a12

Subscribe to this mod's changes

gentleman-trainer is a skill published in the GitHub repository Gentleman-Programming/Gentleman.Dots (1,964 stars, last pushed 6d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,631 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-30.

Related

Other skills, from other repositories

game-builder

Convert any topic into playable browser games. Types: trivia, matching, word puzzles, adventure games. Uses Phaser.js or Kaboom.js.

OneWave-AI/claude-skills · 31 tokens

teach-me

Teach the user end-to-end browser game development over multiple sessions — design, engine, art, audio, juice, multiplayer, shipping — by building real games together. Use when the user wants to LEARN to make games themselves: 'teach me game development', 'I want to learn to make games', 'teach me Phaser', 'how do…

kyh/vibedgames · 98 tokens

hr-game-development

Help HR and recruiting teams hire and assess game development candidates across engineering, design, and art disciplines. Use when asked to write a game developer job description, create a gameplay engineer interview, assess a game designers portfolio, build a game studio leveling framework, or similar…

tuanductran/hr-skills · 61 tokens

tutorial-workflow

A workflow for designing, reviewing, and testing tutorials and new-player onboarding for a game. It checks whether the tutorial teaches the game’s goals, turns, and cause-and-effect actions rather than merely listing buttons or reading like a rulebook.

zhuanggenhua/BoardGame · 39 tokens

godot-genre-educational

Expert blueprint for educational games including gamification loops (learn/apply/feedback/adapt), progress tracking (student profiles, mastery %), adaptive difficulty (target 70% success rate), spaced repetition, curriculum trees (prerequisite system), and visual feedback (confetti, XP bars). Use for learning apps…

thedivergentai/GD-Agentic-Skills · 105 tokens

teaching-minigames

A teaching tool that turns uploaded materials such as PDFs, images, Word files, or text into small interactive learning games. It creates one formative assessment game for each key point and publishes shareable HTML pages with QR codes.

mathruffian-dot/teaching-exam-skills · 187 tokens