layered-first-principles-teaching

layered-first-principles-teaching is a skill for Claude Code, Codex from Dqz00116/skill-lib. It costs 28 tokens per session (809 once invoked), scanned A, original, MIT.

A teaching method for explaining complex ideas from basic principles, adding detail in layers as the reader is ready.

In plain words
What is it for?
Use it to write tutorials, training materials, and technical presentations for people with less background knowledge.
Why use it?
It helps beginners build understanding without being overwhelmed by technical detail or unexplained assumptions.

Skill for Claude CodeCodex

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

Good fit Use it to write tutorials, training materials, and technical presentations for people with less background knowledge.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dqz00116/skill-lib/layered-first-principles-teaching
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 Dqz00116/skill-lib --skill layered-first-principles-teaching
Clone the repo
git clone --depth 1 https://github.com/Dqz00116/skill-lib

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 layered-first-principles-teaching

README.md
[![agentmods](https://agentmods.dev/badge/skills/dqz00116/skill-lib/layered-first-principles-teaching/github.svg)](https://agentmods.dev/skills/dqz00116/skill-lib/layered-first-principles-teaching)
Your own site
<a href="https://agentmods.dev/skills/dqz00116/skill-lib/layered-first-principles-teaching"><img src="https://agentmods.dev/badge/skills/dqz00116/skill-lib/layered-first-principles-teaching/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 layered-first-principles-teaching

Your own site · 80×15
<a href="https://agentmods.dev/skills/dqz00116/skill-lib/layered-first-principles-teaching"><img src="https://agentmods.dev/badge/skills/dqz00116/skill-lib/layered-first-principles-teaching.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 809 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.00028 $0.00809
Opus 5 $0.00014 $0.00404
Sonnet 5 $0.00006 $0.00162
Haiku 4.5 $0.00003 $0.00081

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

Security

Grade A, and why

layered-first-principles-teaching 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 10d 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.

layered-first-principles-teaching/SKILL.md · 101 lines

How it starts

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

Layered First Principles Teaching

Overview

Transform complex concepts into progressive, first-principles explanations that build understanding layer by layer.

When to Use

Use when:

  • You need to explain a complex concept to someone with less domain knowledge
  • You're designing training materials, tutorials, or educational content
  • You're preparing a technical presentation and need progressive disclosure
  • A topic has multiple abstraction layers that require cognitive scaffolding
  • You need to bridge the gap between intuitive understanding and technical depth

Don't use when:

  • The concept is simple and doesn't benefit from layered decomposition
  • You need quick reference documentation or a terse answer
  • The audience already has deep expertise and only needs edge cases or implementation details

Quick Start

# Explain a concept progressively
kimi layered-first-principles-teaching "Explain blockchain"

# Target specific audience
kimi layered-first-principles-teaching "Explain transformers" --audience beginner

# Output to file
kimi layered-first-principles-teaching "Explain consensus algorithms" --output ./tutorial.md

Output Structure

Generated explanations contain 6 standard sections:

Section Content Purpose
Opening One-sentence essence + intuitive analogy Immediate understanding
First Principles Problem essence, why existing solutions fail Foundation building
Progressive Layers 3-4 layers from intuition to technical detail Scaffolding learning
Analogies Cross-domain comparisons Relating to known concepts
Visualizations ASCII diagrams, mental models Spatial understanding
Summary Key takeaways + further reading Retention & next steps

Audience Levels

Level Characteristics Approach
Beginner No prior knowledge Heavy analogies, minimal jargon, focus on "why"
Intermediate Some domain knowledge Balance of intuition and technical detail
Expert Deep domain knowledge Focus on nuances, edge cases, implementation

Read the full file on GitHub · 101 lines

Files

What ships with it

8 files 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. 10d ago First seen · 101 lines · 28 tokens per session scan A 43d9d0c2b4bc

Subscribe to this mod's changes

layered-first-principles-teaching is a skill published in the GitHub repository Dqz00116/skill-lib (22 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 809 once invoked, about $0.0001 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.