docs-creating-by-example-tutorials

docs-creating-by-example-tutorials is a skill for Claude Code, Codex from wahidyankf/ose-public. It costs 84 tokens per session (860 once invoked), scanned A, original, MIT.

A code-first tutorial format that teaches a programming language through many annotated, self-contained examples. The examples explain what the code does while covering a broad range of the language.

In plain words
What is it for?
Use it when creating example-led language tutorials for developers who already know another programming language.
Why use it?
Some experienced developers learn a new language faster from working code than from long explanations. The format provides a structured way to build coverage through examples.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it when creating example-led language tutorials for developers who already know another programming language.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wahidyankf/ose-public/docs-creating-by-example-tutorials
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 wahidyankf/ose-public --skill docs-creating-by-example-tutorials
Clone the repo
git clone --depth 1 https://github.com/wahidyankf/ose-public

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 docs-creating-by-example-tutorials

README.md
[![agentmods](https://agentmods.dev/badge/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials/github.svg)](https://agentmods.dev/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials)
Your own site
<a href="https://agentmods.dev/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials"><img src="https://agentmods.dev/badge/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials/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 docs-creating-by-example-tutorials

Your own site · 80×15
<a href="https://agentmods.dev/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials"><img src="https://agentmods.dev/badge/skills/wahidyankf/ose-public/docs-creating-by-example-tutorials.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 860 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 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.00084 $0.00860
Opus 5.5 $0.00034 $0.00344
Sonnet 5.5 $0.00017 $0.00172
Haiku 4.5 $0.00008 $0.00086

Measured 2d ago against content hash bccbacf9ccd8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

docs-creating-by-example-tutorials 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 2d 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.

.agents/skills/docs-creating-by-example-tutorials/SKILL.md · 94 lines

How it starts

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

By-Example Tutorial Creation Skill

Purpose

This Skill provides comprehensive guidance for creating by-example tutorials - a code-first learning path designed for experienced developers who want rapid language pickup through heavily annotated working code examples.

When to use this Skill: creating by-example tutorials for programming languages, writing heavily annotated code examples, designing code-first learning paths achieving 95% language coverage, or meeting annotation density standards (1.0-2.25 comments per code line).

Core Concepts

What is By-Example?

By-example tutorials are a code-first learning path that achieves 95% language coverage through 75-85 heavily annotated, self-contained code examples.

NOT a replacement for:

  • Beginner tutorials (which provide deep explanations for complete beginners)
  • Quick Start (which is 5-30% coverage touchpoints)
  • Cookbook (which is problem-solving oriented, not learning-oriented)

Target Audience: Experienced developers who already know at least one programming language well, want quick pickup through working code rather than extensive narrative, and need ~90% coverage efficiently.

Five-Part Example Structure

Each example follows a consistent five-part structure:

### Example N: Concept Name

**Brief explanation** (1-3 sentences describing what this example demonstrates)

**Optional diagram** (Mermaid diagram if concept relationships complex)

**Heavily commented code** (self-contained, runnable example with educational annotations)

**Key takeaway** (1-2 sentences summarizing the lesson)

Annotation Density Standards

See Annotation Density Standards for the 1.0-2.25 rule, the density calculation formula, the // => annotation pattern with worked Java/Python examples, and the quality-over-quantity guidance.

Self-Containment Rules and Comparisons

See Self-Containment Rules and Comparisons for what makes an example self-contained, how to achieve it, and the multiple-code-blocks pattern for comparison examples.

Read the full file on GitHub · 94 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. 2d ago First seen · 94 lines · 84 tokens per session scan A bccbacf9ccd8

Subscribe to this mod's changes

docs-creating-by-example-tutorials is a skill published in the GitHub repository wahidyankf/ose-public (12 stars, last pushed today), licensed MIT. It adds 84 tokens to every session and 860 once invoked, about $0.0003 per session on Opus 5.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-10-14.

Related

Other skills, from other repositories

blog-post

Writes and structures long-form blog posts, creates tutorial outlines, and optimizes content for SEO with cover image generation. Use when the user asks to write a blog post, article, how-to guide, tutorial, technical writeup, thought leadership piece, or long-form content.

langchain-ai/deepagents · 58 tokens

self-improve-with-tinyfish

Enables Hermes to create new reusable skills for itself by researching live web sources with TinyFish Search and Fetch, analyzing source coverage, writing SKILL.md files, and installing them into Hermes memory. Use when the user asks Hermes to learn, teach itself, upgrade itself, or save a reusable capability.

tinyfish-io/tinyfish-cookbook · 68 tokens

nx-plugin-for-aws

Scaffold and build cloud-native applications on AWS using @aws/nx-plugin generators. Use when the user wants to create workspaces, generate projects, or scaffold infrastructure with the Nx Plugin for AWS.

awslabs/nx-plugin-for-aws · 46 tokens

frontmcp-guides

Tutorials, end-to-end walkthroughs, and complete reference projects for FrontMCP. Use when you want a getting-started guide, a full worked example, or to learn best practices by following a step-by-step build rather than a single API reference. Includes a beginner weather-API server (tool plus static resource, Zod…

agentfront/frontmcp · 157 tokens

create-skill

Create instruction-only skills that package knowledge and workflow guides for AI clients.

agentfront/frontmcp · 17 tokens

cyrene-exam-paper

A method for creating formal exams from a learning plan, then keeping the questions, answers, grading, and review separate. It maps learned topics to skills and suitable question types.

Playa-0v0/Cyrene-Agent · 64 tokens