tutorial

tutorial is a skill for Claude Code from aayushostwal/nexus. It costs 53 tokens per session (1,365 once invoked), scanned A, original, MIT.

A skill for creating runnable Jupyter Notebook tutorials and AI-engineering walkthroughs. Jupyter Notebooks combine explanatory text with code cells that readers can run.

In plain words
What is it for?
Use it to produce a shareable .ipynb notebook, a Makefile, reproducible Python setup instructions, validated environment variables, and copy-ready examples.
Why use it?
It sets a repeatable structure for tutorials, including setup, pinned dependencies, configuration checks, and documented failure cases.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nexus plugin — 11 skills, 2 commands, 14 agents shipped together

Good fit Use it to produce a shareable .ipynb notebook, a Makefile, reproducible Python setup instructions, validated environment variables, and copy-ready examples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aayushostwal/nexus/tutorial
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 aayushostwal/nexus --skill tutorial
Clone the repo
git clone --depth 1 https://github.com/aayushostwal/nexus

Made for: Claude Code.

Or install nexus, the plugin that ships this one along with the rest of its 11 skills, 2 commands, 14 agents.

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 tutorial

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aayushostwal/nexus/tutorial"><img src="https://agentmods.dev/badge/skills/aayushostwal/nexus/tutorial.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 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.00053 $0.01365
Opus 5.5 $0.00021 $0.00546
Sonnet 5.5 $0.00011 $0.00273
Haiku 4.5 $0.00005 $0.00136

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

Security

Grade A, and why

tutorial 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 19d 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/tutorial/SKILL.md · 131 lines

How it starts

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

Tutorial Generation Protocol

Produce complete, executable Jupyter Notebooks that work on the first run.


Compatibility

  • Language: Python 3.10+
  • Output: .ipynb file + Makefile
  • Style: PEP 8, GitHub-renderable Markdown, clean saved outputs

Workflow

Step 1 — Reproducibility Block

Begin every notebook with:

  1. Shell commands cell: python -m venv .venv && source .venv/bin/activate
  2. pip install cell with all required libraries (pin versions: langchain==0.2.0)
  3. Kernel check instructions as a Markdown cell
  4. Makefile with make jupyter target and Python version pin (e.g. .python-version file)

Step 2 — Production-Ready Configuration

  1. Create a Pydantic BaseSettings class to validate all environment variables on startup
  2. Load secrets with python-dotenv; raise an explicit ValueError with a helpful message if a key is missing
  3. Document every production failure mode: missing keys, rate limits, model errors, network timeouts

Step 3 — Structural Outline

Create Markdown cells with headers H1–H3:

  • H1 — Title: What the tutorial builds in one sentence
  • H2 — Objective: One paragraph "what you will build and why"
  • H2 — Prerequisites: List exact API keys, GPU requirements, or account setup steps
  • H2 — Architecture Diagram: Mermaid diagram showing end-to-end system flow

Step 4 — Code Implementation

Rules for every code cell:

  • Self-contained or explicitly references previously defined variables
  • Python type hints on all function signatures
  • Comments explain why — not what (bad: # create list, good: # dedup before sending to avoid API double-charge)
  • One concept per cell; max ~30 lines per cell — split into functions if longer
  • Never hardcode credentials; always use settings.api_key from the Pydantic config

Step 5 — Explanatory Narrative

Between every pair of code cells, add a Markdown cell that:

  1. States the "why" behind the implementation choice (e.g., "We use a ReAct loop here because it lets the agent decide when to call tools vs. answer directly")
  2. Describes the expected output when the cell runs
  3. Lists one or two common errors with their fixes (e.g., "RateLimitError → add time.sleep(1) between calls")

Read the full file on GitHub · 131 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. 19d ago Changed · -1 lines · -11 tokens per session 97a1550b3efd
  2. 1mo ago First seen · 132 lines · 64 tokens per session scan A 1bc56890c63d

Subscribe to this mod's changes

tutorial is a skill published in the GitHub repository aayushostwal/nexus (19 stars, last pushed 10d ago), licensed MIT. It adds 53 tokens to every session and 1,365 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

get-more-from-ai

Level up how you actually use AI — from basic one-shot questions to the techniques that get dramatically better results — matched to what you already do. Use when asked how do I get better at using AI, how do power users use AI, I feel like I'm using AI at 10%, or teach me to use AI better. Produces an honest read of…

mohitagw15856/pm-claude-skills · 140 tokens

prompt-engineering-interviewer

A Senior AI Engineer interviewer that simulates a technical interview focused on prompt engineering and LLM architecture at scale. Use this agent when you want to practice prompt pipeline design, RAG architecture, evaluation frameworks, token optimization, and edge case handling. This evaluates engineering rigor and…

PrepLabsAI/InterviewMentor · 70 tokens

hr-prompt-engineering

Help HR professionals, recruiters, and people teams write better AI prompts to get higher-quality, more accurate, and more useful outputs from AI tools across HR workflows. Use when asked to write better AI prompts, improve my prompt for HR tasks, learn prompt engineering for HR, get better ChatGPT outputs, design…

tuanductran/hr-skills · 83 tokens

openai-docs

Use when the user asks how to build with OpenAI products or APIs and needs up-to-date official documentation with citations, help choosing the latest model for a use case, or model upgrade and prompt-upgrade guidance; prioritize OpenAI docs MCP tools, use bundled references only as helper context, and restrict any…

Haohao-end/openagent · 74 tokens

transformer-architecture-guide

Guide to Transformer architectures for NLP and computer vision.

wentorai/research-plugins · 15 tokens

02-ai-ml-learning

A progressive AI literacy tutor that meets learners at their current level and advances them through three layers of competency: AI User (prompt engineering and output evaluation), AI-Enhanced Worker (integrating AI tools into real workflows for coding, writing, and research), and AI Builder (understanding the ML…

gabrielmoreira/agent-skills-mirror · 0 tokens