scaffold-exercises

scaffold-exercises is a skill for Claude Code, Codex from tt-a1i/matt-skills-with-to-goal. It costs 45 tokens per session (949 once invoked), scanned A, a copy of scaffold-exercises, MIT.

A scaffold for adding course exercises with standard folders for student problems, reference solutions, or explanatory material. It also defines the file and naming rules these exercises must follow.

In plain words
What is it for?
Use it to create numbered exercise sections, add problem or solution stubs, and prepare readme files that pass the project's linting checks.
Why use it?
It removes the need to remember the expected directory layout and basic checks when starting a new exercise or course section.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the matt-skills-with-to-goal plugin — 40 skills shipped together

Good fit Use it to create numbered exercise sections, add problem or solution stubs, and prepare readme files that pass the project's linting checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises
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 tt-a1i/matt-skills-with-to-goal --skill scaffold-exercises
Clone the repo
git clone --depth 1 https://github.com/tt-a1i/matt-skills-with-to-goal

Made for: Claude Code, Codex.

Or install matt-skills-with-to-goal, the plugin that ships this one along with the rest of its 40 skills.

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 scaffold-exercises

README.md
[![agentmods](https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises/github.svg)](https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises)
Your own site
<a href="https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises"><img src="https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises/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 scaffold-exercises

Your own site · 80×15
<a href="https://agentmods.dev/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises"><img src="https://agentmods.dev/badge/skills/tt-a1i/matt-skills-with-to-goal/scaffold-exercises.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 949 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.
Origin 100% copy Near-identical to another mod 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.00045 $0.00949
Opus 5 $0.00023 $0.00475
Sonnet 5 $0.00009 $0.00190
Haiku 4.5 $0.00005 $0.00095

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

Security

Grade A, and why

scaffold-exercises 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 12d 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.

Origin

This is a copy

100% identical to scaffold-exercises — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/misc/scaffold-exercises/SKILL.md · 107 lines

How it starts

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

Scaffold Exercises

Create exercise directory structures that pass pnpm ai-hero-cli internal lint, then commit with git commit.

Directory naming

  • Sections: XX-section-name/ inside exercises/ (e.g., 01-retrieval-skill-building)
  • Exercises: XX.YY-exercise-name/ inside a section (e.g., 01.03-retrieval-with-bm25)
  • Section number = XX, exercise number = XX.YY
  • Names are dash-case (lowercase, hyphens)

Exercise variants

Each exercise needs at least one of these subfolders:

  • problem/ - student workspace with TODOs
  • solution/ - reference implementation
  • explainer/ - conceptual material, no TODOs

When stubbing, default to explainer/ unless the plan specifies otherwise.

Required files

Each subfolder (problem/, solution/, explainer/) needs a readme.md that:

  • Is not empty (must have real content, even a single title line works)
  • Has no broken links

When stubbing, create a minimal readme with a title and a description:

# Exercise Title

Description here

If the subfolder has code, it also needs a main.ts (>1 line). But for stubs, a readme-only exercise is fine.

Workflow

  1. Parse the plan - extract section names, exercise names, and variant types
  2. Create directories - mkdir -p for each path
  3. Create stub readmes - one readme.md per variant folder with a title
  4. Run lint - pnpm ai-hero-cli internal lint to validate
  5. Fix any errors - iterate until lint passes

Lint rules summary

The linter (pnpm ai-hero-cli internal lint) checks:

  • Each exercise has subfolders (problem/, solution/, explainer/)
  • At least one of problem/, explainer/, or explainer.1/ exists
  • readme.md exists and is non-empty in the primary subfolder
  • No .gitkeep files
  • No speaker-notes.md files
  • No broken links in readmes
  • No pnpm run exercise commands in readmes
  • main.ts required per subfolder unless it's readme-only

Moving/renaming exercises

When renumbering or moving exercises:

Read the full file on GitHub · 107 lines

Files

What ships with it

1 file 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. 12d ago First seen · 107 lines · 45 tokens per session scan A 75f5c9d77160

Subscribe to this mod's changes

scaffold-exercises is a skill published in the GitHub repository tt-a1i/matt-skills-with-to-goal (160 stars, last pushed 15d ago), licensed MIT. It adds 45 tokens to every session and 949 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to scaffold-exercises, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

learn

Close a Hardproof run during LEARN by capturing safe provenance-linked lessons or recording an explicit reason to skip them.

asimons81/hardproof · 25 tokens

hps-bauhaus

A visual-design fundamentals course for new brand designers — grid, type, color, and the exercises that build the eye. Built as a decision-grade professional training deck for junior designers, new hires.

nexu-io/open-design · 45 tokens

html-ppt-zhangzara-daisy-days

A customer-success workshop onboarding users to a project-management app — the first-value path and the habits that retain. Built as a decision-grade professional training deck for new customers, CS team.

nexu-io/open-design · 49 tokens

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

memstack-marketing-webinar-script

Use this skill when the user says 'webinar script', 'webinar', 'live presentation', 'teach-to-sell', or needs a timestamped presentation script with slide notes, presenter cues, and replay email sequence. Do NOT use for launch plans or static sales page copy.

cwinvestments/memstack · 65 tokens

literature-review

Systematic literature review workflow: scope, search (arXiv, Semantic Scholar, Google Scholar), screen, extract, synthesize, and identify gaps. Triggers on: "literature review", "survey the literature", "related work", "systematic review", "synthesize the research", "find papers about", "research gap analysis".

Mathews-Tom/armory · 74 tokens