lesson-close

lesson-close is a skill for Claude Code from TserenTserenov/FMT-exocortex-template. It costs 129 tokens per session (1,711 once invoked), scanned A, original, MIT.

A workflow for finishing the day's lesson file, recording its status and duration, then saving it to the personal-guide GitHub repository.

In plain words
What is it for?
Use it when a lesson or work session is finished. It finalizes the note, commits and pushes it to GitHub, and triggers the service that updates the user's central record.
Why use it?
It turns an unfinished lesson note into a completed record and sends the result through the connected update process.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it when a lesson or work session is finished. It finalizes the note, commits and pushes it to GitHub, and triggers the service that updates the user's central record.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tserentserenov/fmt-exocortex-template/lesson-close
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.

Any agent
npx skills add TserenTserenov/FMT-exocortex-template --skill lesson-close
Clone the repo
git clone --depth 1 https://github.com/TserenTserenov/FMT-exocortex-template

Made for: Claude Code.

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 lesson-close

README.md
[![agentmods](https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/lesson-close/github.svg)](https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/lesson-close)
Your own site
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/lesson-close"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/lesson-close/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 lesson-close

Your own site · 80×15
<a href="https://agentmods.dev/skills/tserentserenov/fmt-exocortex-template/lesson-close"><img src="https://agentmods.dev/badge/skills/tserentserenov/fmt-exocortex-template/lesson-close.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,711 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.00129 $0.01711
Opus 5 $0.00064 $0.00856
Sonnet 5 $0.00026 $0.00342
Haiku 4.5 $0.00013 $0.00171

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

Security

Grade A, and why

lesson-close 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.

.claude/skills/lesson-close/SKILL.md · 105 lines

How it starts

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

/lesson-close — закрыть занятие и замкнуть контур доставки

Алгоритм, не диалог. Шаги 1-5 последовательно. Без вопросов.

When to use

Закрыть текущее занятие. Финализирует lesson/YYYY-MM-DD.md (frontmatter status, метаданные времени, длительность), делает commit + push в репо DS-personal-guide. Триггерит замкнутый контур доставки — после push → GitHub webhook → bot oauth_server.py:/webhook/github/workbook → sync_one_user_to_dt → ЦД обновляется в Neon. Используй когда пилот говорит «закрываем», «всё», «закончили», «закрой урок» — или после явного завершения задания в текущем lesson-файле.

Контракт скилла

  • Вход: существующий lesson/YYYY-MM-DD.md в репо DS-personal-guide со статусом status: in_progress. Активный git remote с правом push.
  • Выход: lesson-файл с финализированным frontmatter (status: done|partial|skipped, finished_at, duration_min) + git commit + git push. На сервере: webhook triggered → sync_one_user_to_dt(user_id) → Neon digital_twins.data['2_collected'] обновлён + событие в public.domain_event.
  • Время: ≤2 мин (быстрая финализация занятия).
  • Не делает: не оценивает качество ответа (Оценщик R12 — отдельно, асинхронно); не генерирует assignment на завтра (Портной, ночной рендер).

Algorithm

Шаг 1. Вызов через Маршрутизатор

bash "$IWE_SCRIPTS/route-task.sh" --skill lesson-close --args "<YYYY-MM-DD> [--no-push]"

Скрипт lesson-close.sh выполняет:

  1. Находит lesson/YYYY-MM-DD.md
  2. Обновляет frontmatter (status: done, finished_at, duration_min)
  3. git add, git commit, git push

Если --no-push передан — push пропускается.

Если push fails — скрипт сообщает ошибку; контур замкнётся при ручном git push.

Шаг 2. Сообщить пилоту о замыкании контура

После успешного выполнения:

✅ Урок закрыт.
Статус: <status>
Длительность: <duration_min> мин
Коммит: <short_sha>

Контур замкнут:
  lesson/<date>.md → git push → GitHub webhook → Activity Hub → Neon (ЦД)
  Завтрашний assignment Портной отрендерит на свежих данных.

Read the full file on GitHub · 105 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. 5d ago Changed · +1 lines 350dbc63ad76
  2. 10d ago First seen · 104 lines · 129 tokens per session scan A cf87b710578b

Subscribe to this mod's changes

lesson-close is a skill published in the GitHub repository TserenTserenov/FMT-exocortex-template (50 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 1,711 once invoked, about $0.0006 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

branch-and-worktree-workflow

Isolates feature work in its own branch or worktree and integrates it cleanly when done. Use this when starting work that should not disturb the current workspace, when several efforts must proceed in parallel on one repository, or when implementation is finished and the change needs merging, rebasing, or splitting…

cbrock84/headcount · 70 tokens

github-operations

GitHub CLI operations for issues, PRs, milestones, and Projects v2. Covers gh commands, REST API patterns, and automation scripts. Use when managing GitHub issues, PRs, milestones, or Projects with gh.

yonatangross/orchestkit · 50 tokens

git-commit-helper

Generate conventional commit messages automatically. Use when user runs git commit, stages changes, or asks for commit message help. Analyzes git diff to create clear, descriptive conventional commit messages. Triggers on git commit, staged changes, commit message requests.

alirezarezvani/claude-code-tresor · 55 tokens

secrets-scan

Pre-commit secrets detection with pattern-based scanning for API keys, tokens, passwords, private keys, and connection strings. Self-contained — no external tools required.

backspace-shmackspace/claude-devkit · 37 tokens

merge-worktree

A Korean-language workflow for squash-merging a Git worktree branch into a target branch and creating a conventional commit message. A worktree is a separate working directory connected to the same Git repository; squash-merge combines its changes into one commit.

tellang/triflux · 66 tokens

openclaw-github-repo-commander

7-stage super workflow for GitHub repo audit, cleanup, PR review, and competitor analysis.

tmolavi/mcp-agent-skills-hub · 29 tokens