norvig-patterns

norvig-patterns is a plugin for Claude Code from jimmc414/claude-code-plugin-marketplace. Its manifest loads nothing; the 33 skills it bundles cost 904 tokens per session together, scanned A, original, MIT.

A collection of 54 Python coding patterns based on Peter Norvig’s pytudes, a set of programming exercises and examples.

In plain words
What is it for?
Use it when writing, reviewing, refactoring, or testing Python code.
Why use it?
It gives the coding agent established approaches for common algorithm, data, testing, and code-structure problems.

Plugin for Claude Code

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.

Claude Code
/plugin marketplace add jimmc414/claude-code-plugin-marketplace
agentmods
npx agentmods add plugins/jimmc414/claude-code-plugin-marketplace/norvig-patterns
Clone the repo
git clone --depth 1 https://github.com/jimmc414/claude-code-plugin-marketplace

Made for: Claude Code.

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 norvig-patterns

README.md
[![agentmods](https://agentmods.dev/badge/plugins/jimmc414/claude-code-plugin-marketplace/norvig-patterns.svg)](https://agentmods.dev/plugins/jimmc414/claude-code-plugin-marketplace/norvig-patterns)
Your own site
<a href="https://agentmods.dev/plugins/jimmc414/claude-code-plugin-marketplace/norvig-patterns"><img src="https://agentmods.dev/badge/plugins/jimmc414/claude-code-plugin-marketplace/norvig-patterns.svg" alt="Measured on agentmods" height="20"></a>
Per session not measured What this adds to a session before it is invoked.
When invoked not measured The manifest loads nothing itself; its 33 skills cost 904 tokens a session between them.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Security

Grade A, and why

norvig-patterns 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 3d 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.

plugins/norvig-patterns/.claude-plugin/plugin.json · 24 lines

What it actually says

{
  "name": "norvig-patterns",
  "description": "54 elegant coding patterns derived from Peter Norvig's pytudes. Guides Claude to write cleaner, more Pythonic code using proven patterns for algorithms, data structures, testing, and code structure.",
  "version": "1.0.0",
  "author": {
    "name": "jimmc414",
    "attribution": "Patterns derived from Peter Norvig's pytudes (https://github.com/norvig/pytudes)"
  },
  "license": "MIT",
  "keywords": [
    "python",
    "patterns",
    "algorithms",
    "best-practices",
    "norvig",
    "pytudes",
    "coding-style",
    "clean-code",
    "data-structures",
    "testing",
    "refactoring"
  ]
}
Contents

What it installs

The manifest is a name and a version. 33 skills travel with it, and installing the plugin installs all of them — 904 tokens a session between them. Each is measured on its own page, and each can be installed alone.

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. 3d ago First seen · 24 lines scan A 4bd1d872f483

Subscribe to this mod's changes

norvig-patterns is a plugin published in the GitHub repository jimmc414/claude-code-plugin-marketplace (4 stars, last pushed 4d ago), licensed MIT. Its token cost is not measured: this kind of file is read by the harness, not the model. 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-31.

Related

Other plugins, from other repositories

claude-ops

Claude Code operations toolkit. Twelve skills: audit-skill-visibility (audit whether each installed skill is actually VISIBLE to the model, and diagnose why most of a fleet never gets used — a skill is invisible when its description is dropped by Claude Code's skill-listing context budget, which sheds descriptions…

melodic-software/claude-code-plugins · not measured

claude-config

Nine configuration-health skills (plus setup) for a repo's Claude Code configuration: audit (settings.json / .mcp.json / hooks / plugins / permissions drift), audit-automation-gaps (evidence-gated verdicts on automation gaps), audit-permission-grants (allow-rule / allowed-tools grants for auto-mode durability and…

melodic-software/claude-code-plugins · not measured

adhd

Shape and restructure the assistant's output for a reader with ADHD — action-first, low-friction, and digestible. adhd:shape is a standing session posture: lead with the concrete next action, number multi-step work, restate state across turns, cap and rank lists, give concrete time estimates, make wins visible, and…

melodic-software/claude-code-plugins · not measured

ai-briefing

Build source-backed AI-industry briefings from official vendor publications, configured RSS/Atom feeds, GitHub releases, reputable secondary reporting, and user-supplied URLs. Deduplicate, rank, and present results as markdown or optional HTML/PPTX decks, with repository-owned profile, audience, and brand…

melodic-software/claude-code-plugins · not measured

actionlint

Lint GitHub Actions workflow files on edit via actionlint, surfacing findings as advisory context.

melodic-software/claude-code-plugins · not measured

ai-slop

Detects and removes AI-writing tells (slop) in checked-in markdown prose: em dashes, emoji formatting, AI vocabulary, negative parallelisms, chatbot phrases, filler, stacked hedging, citation artifacts, model-era phrases, and the rest of a catalog distilled from Wikipedia's Signs of AI writing plus a repo-owned…

melodic-software/claude-code-plugins · not measured