claude-skills/engineering/deep-learning-book
Alireza Rezvani ebbf6b0872
Some checks failed
Sync Codex Skills Symlinks / sync (push) Has been cancelled
fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048)
* fix(plugins): bump all plugins to 2.14.1 and gate unbumped changes

Claude Code caches plugins by version. 70 of 104 plugins changed between
v2.12.0 and v2.14.0 without a bump, so claude plugin update reported
"already at the latest version" and existing installs never received the
v2.13/v2.14 fixes. Every plugin moves to 2.14.1 so stale caches refresh once.

check_plugin_versions.py (G11, blocking in ci-quality-gate) fails when a
plugin's payload, including symlinked vendor files, changes without a higher
version, and when marketplace.json and plugin.json disagree.
bump_plugin_versions.py sets both together.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(codex): stop installing all skills by default

With the full library (~380 skills) Codex drops every skill description from
its prompt budget, so it cannot pick skills. codex-install.sh now asks for
--category (comma-separated), --skill or an explicit --all, lists categories
when run without arguments, and warns when more than ~100 skills are
installed. The Windows installer and install docs follow.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(gemini): link whole skill folders and drop duplicate mirror entries

Each .gemini/skills entry held only a SKILL.md symlink, so the relative
scripts/ and references/ a skill points to were missing. Entries are now
directory symlinks (Gemini CLI 0.65 discovers them). Dual-published copies
with identical SKILL.md are listed once, commands and agents that share a
skill's name are skipped, fixtures under assets/ and vendor/ re-exports are
excluded, discovery is sorted so reruns are stable, and stale generated
entries are pruned. gemini skills list: 20 conflicts -> 1 (handoff, fixed
next). GEMINI.md documents folder trust and fixes a dead example path.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(handoff): rename the productivity skill to session-handoff

engineering/handoff and productivity/handoff both shipped a skill named
handoff. Claude Code namespaces them, but Codex, Gemini CLI, Vibe and Hermes
key skills by name and silently kept one. The productivity skill is now
session-handoff (handoff-productivity:session-handoff); its folder, plugin
manifest, hook script paths, command paths, mirrors, harness manifest and
docs page follow. /cs-handoff, /cs-handoff-setup and ~/.config/handoff are
unchanged; the plugin README carries a migration note.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(convert): include plugins whose SKILL.md is at the plugin root

convert.sh searched at -mindepth 4, which skipped boost-asio-pro, deepread,
hivemind, loop-library, minimalist, strict-api and swedish-mentor for every
converted tool (opencode, Cursor, Windsurf, Kilo, Augment, Aider,
Antigravity). It now searches from depth 2 and skips assets/ fixtures.
opencode conversion: 375 -> 382 skills.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(codex): keep skill-tester's sample fixture from loading as a skill

Codex scans installed skill folders recursively and picked up
skill-tester/assets/sample-skill/SKILL.md as 'sample-text-processor'.
The installer renames SKILL.md files under assets/ in the installed copy.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(plugins): address scripts via ${CLAUDE_PLUGIN_ROOT} in commands and agents

343 script invocations in 90 command/agent files across 36 plugins used
repo-relative or ../ paths. Plugin commands and agents run from the user's
project, so those paths only resolved inside a clone of this repo; in the
v2.14.0 evals the agent fell back to find / to locate scripts. Every one now
uses ${CLAUDE_PLUGIN_ROOT}/. Two cross-plugin calls (write-a-skill ->
karpathy-coder, c-level-agents cpo -> product-manager-toolkit) go through
vendor/ symlinks, per the repo's install-cache lesson.

check_paths.py (G1) now fails a plugin command or agent that invokes a
script without ${CLAUDE_PLUGIN_ROOT}; on the v2.14.0 tree it reports 279.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(month-end-close): treat opening-balance rows as balances and pair transpositions

On a bank and GL export that each begin with an 'Opening balance' row, the
matcher returned RECONCILED_WITH_ITEMS and told the user to book a 25,000.00
journal entry for the opening balance, and it reported a 7,980/7,890
transposition as two unrelated items. Opening rows are now balances: a
difference between them is reported as carried in from the prior period
(R5, blocks sign-off, never booked). Same-date digit transpositions pair into
one correcting entry. The GL file's 'memo' column is read as description.
The v2.14.0 eval fixture now proves 1,405.00 = 150 opening + 90
transposition + 1,200 outstanding check - 35 bank fee. Bundled copy synced.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* fix(coding-agent-rollout): flag connection-URL passwords and production MCP servers

On a committed .claude/settings.json holding
env.DATABASE_URL=postgresql://admin:<password>@prod-db... and
enabledMcpjsonServers: ["postgres-prod"], the linter flagged neither: the
env check only matched token formats and KEY/TOKEN/SECRET names. S11 now
catches a password embedded in any connection URL (BLOCKER in shared files),
and new S13 warns when a shared file pre-approves an MCP server whose name
marks it as production. Bundled copy synced; --sample output unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

* docs: changelog and lessons for the v2.14.0 audit fixes

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016uNBQ6tRS5P1dRsgNfK4Wh

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-22 09:50:05 +02:00
..
.claude-plugin fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048) 2026-10-22 09:50:05 +02:00
agents
commands fix: v2.14.0 audit P0/P1 fixes (plugin updates, Codex, mirrors, script paths, two script bugs) (#1048) 2026-10-22 09:50:05 +02:00
skills/deep-learning-book
README.md

deep-learning-book — study companion for Deep Learning (Goodfellow, Bengio & Courville)

A navigable, executable, date-stamped companion to the 2016 MIT Press textbook that is free to read at deeplearningbook.org.

Twenty chapter files, a glossary, a patterns file, a cheatsheet, four references and four deterministic tools — plus the thing a static compilation cannot give you: a 2016 → 2026 delta layer that says, per chapter, what still holds, what was superseded, and what is now purely historical.

Why this is a companion and not a compiled skill

This repository ships engineering/book-to-skill, which compiles a document on disk into a knowledge-base skill. It was deliberately not used here, for three reasons its own rights gate makes binding:

  1. The book is copyrighted (MIT Press, 2016). Free to read ≠ free to redistribute.
  2. deeplearningbook.org states that its HTML-only presentation is a deliberate friction against copying, required by the authors' contract, and that PDF distribution is not permitted.
  3. This repository is public, and book-to-skill's rights gate refuses a shareable package without public-domain, open-license, internal-docs or author-permission. None applies. (Its hard rule 1 also forbids scraping a book from the web, so the pipeline could not have run against a URL in any case.)

So this skill contains no passages, paragraphs, figures, or per-paragraph paraphrase. Every chapter file is original synthesis — what the chapter establishes, how to use it, where it has aged — with a link to the official free chapter. The organizing structure is the book's published table of contents, which is factual metadata. Full reasoning in references/rights_and_use.md.

The rule this sets for the repository: when a user asks to convert a copyrighted work into a shareable skill, build a companion that indexes and updates the source, not a compilation that reproduces it. Compile only when the rights gate clears, and keep the output local when it does not.

What is in it

skills/deep-learning-book/
├── SKILL.md              core frameworks + chapter index + topic index (~1.9k tokens, resident)
├── chapters/ch01..ch20   one file per chapter, each with "What changed after 2016"
├── glossary.md           every key term → its chapter
├── patterns.md           techniques as instruments, with trade-offs
├── cheatsheet.md         decision tables: loss choice, fit verdict, optimizer defaults
├── references/           delta layer · prerequisite map · study method · rights
├── scripts/              4 stdlib tools
└── assets/               layer spec · chapter worksheet · study log

The tools

Tool Does Refuses
reading_path_planner.py Goal + background + hours → prerequisite-closed, ordered path with an hour budget A goal outside the book (exit 3, names what covers it); an unroutable goal (exit 4, prints the questions)
training_diagnostics.py Measurements → ranked cause + next action + chapter, rules in priority order Diagnosing with no instruments (exit 4). Never reports a NaN as overfitting
capacity_planner.py Gap + params-per-example → ordered regularization ladder A validation error materially below training error (exit 4 — leaky split)
model_arithmetic.py Layer stack → parameters, FLOPs, activation memory per example A stack whose shapes do not connect (exit 5); an unknown layer type (exit 4)

All four are standard-library only, support --help / --sample / --output json, make no network calls, and load no frameworks.

The delta layer

The book was published in 2016; Attention Is All You Need appeared in 2017. Five corrections carry most of the weight, each cited and confidence-rated in references/book_to_2026_delta.md:

  1. Double descent qualifies Chapter 5's U-shaped capacity curve — "shrink the model when it overfits" is no longer the only correct move, and capacity_planner.py encodes the correction.
  2. AdamW: weight decay and L2 are not equivalent under an adaptive optimizer; Chapter 7 treats them as interchangeable.
  3. Transformers displaced Chapter 10's recurrence — keep its gradient-flow analysis, drop its architecture recommendation. (State-space models made that analysis live again.)
  4. Diffusion grew directly out of Chapter 14's denoising autoencoders and Chapter 18's score matching, and displaced Chapter 20's model list.
  5. Self-supervised learning vindicated Chapter 15's bet while replacing every method it names; unsupervised disentanglement was proven impossible without inductive bias.

The general rule the file states: the conflict is almost always in the recommendation, not the analysis. Keep the diagnosis, replace the prescription.

Use it

S=engineering/deep-learning-book/skills/deep-learning-book/scripts

python3 $S/reading_path_planner.py --goal "train and debug convnets" --background applied --hours-per-week 5
python3 $S/training_diagnostics.py --train-loss 0.02 --val-loss 1.9 --tiny-subset-fits yes
python3 $S/capacity_planner.py --params 12000000 --train-examples 50000 --train-error 0.01 --val-error 0.22
python3 $S/model_arithmetic.py --spec skills/deep-learning-book/assets/example_layer_spec.json

Slash commands: /cs-deep-learning (navigate and date the answer), /cs-dl-reading-path, /cs-dl-diagnose. Agent: cs-deep-learning-tutor.

Distinct from

  • engineering/book-to-skill — the converter. This is what you build when its rights gate says no.
  • engineering-team/senior-ml-engineer — production MLOps, deployment, serving. This is the theory underneath.
  • engineering/llm-cost-optimizer — LLM economics, which the book predates entirely.
  • teach / learn skills — general study workflows. This is one specific text, with its dependency graph and its expiry dates.

Scope

The twenty chapters and the delta between them and 2026 practice. Not covered, because the book does not cover them: reinforcement learning beyond passing mention, LLM training infrastructure, RLHF/DPO, agentic systems, MLOps tooling, fairness and safety evaluation. The skill is built to say so rather than improvise.

Attribution

Deep Learning, Ian Goodfellow, Yoshua Bengio and Aaron Courville, MIT Press, 2016 — https://www.deeplearningbook.org/. All rights in the book remain with its authors and publisher. This companion is an independent work: no text, figures, or exercises from the book are reproduced here, and it is not endorsed by or affiliated with the authors or MIT Press. The companion's own content is MIT-licensed as part of this repository.