drupal-mental-model

drupal-mental-model is a skill for Claude Code from jerseycheese/agent-skills. It costs 71 tokens per session (311 once invoked), scanned A, original, MIT.

A teaching aid for explaining programming ideas through concepts familiar to experienced Drupal developers. It uses Drupal's architecture as the comparison point.

In plain words
What is it for?
Use it during code reviews, debugging explanations, architecture discussions, implementation work, and inline code comments when the audience knows Drupal.
Why use it?
It helps Drupal developers understand unfamiliar frameworks and programming patterns without starting from an entirely new mental model.

Skill for Claude Code

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

Part of the workflow-skills plugin — 31 skills shipped together

Good fit Use it during code reviews, debugging explanations, architecture discussions, implementation work, and inline code comments when the audience knows Drupal.

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

Made for: Claude Code.

Or install workflow-skills, the plugin that ships this one along with the rest of its 31 skills.

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 drupal-mental-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerseycheese/agent-skills/drupal-mental-model.svg)](https://agentmods.dev/skills/jerseycheese/agent-skills/drupal-mental-model)
Your own site
<a href="https://agentmods.dev/skills/jerseycheese/agent-skills/drupal-mental-model"><img src="https://agentmods.dev/badge/skills/jerseycheese/agent-skills/drupal-mental-model.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 311 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.00071 $0.00311
Opus 5 $0.00036 $0.00156
Sonnet 5 $0.00014 $0.00062
Haiku 4.5 $0.00007 $0.00031

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

Security

Grade A, and why

drupal-mental-model 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 7d 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/drupal-mental-model/SKILL.md · 26 lines

What it actually says

Drupal Mental Model

Jack is a long-time Drupal developer and themer. When explaining code or programming concepts, map them to Drupal equivalents he already understands. Use Drupal's architecture as the baseline mental model.

Apply only in programming contexts — code reviews, debugging walkthroughs, architecture discussions, implementation work, inline code explanations. Do not use Drupal comparisons for non-programming topics.

Concept mappings

  • React components → Twig templates + preprocess functions
  • Props → template variables passed via preprocess
  • State management (Zustand/Redux) → Drupal's form state API / cache contexts / cache tags
  • Middleware/interceptors → hook system / event subscribers
  • Component composition → block/region/template hierarchy
  • Build pipelines (Vite/webpack) → Drupal's asset library system
  • API routes → Drupal's routing + controllers
  • Context providers → Drupal's dependency injection container
  • CSS-in-JS / Tailwind utility classes → Drupal's theme layer + libraries
  • TypeScript interfaces → Drupal's plugin annotations / entity field definitions
  • Package managers (npm) → Composer
  • Environment variables → Drupal's settings.php / config system
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. 7d ago First seen · 26 lines · 71 tokens per session scan A d1f43f391777

Subscribe to this mod's changes

drupal-mental-model is a skill published in the GitHub repository jerseycheese/agent-skills (1 stars, last pushed 6d ago), licensed MIT. It adds 71 tokens to every session and 311 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

pneuma-bansho

A board-based way to explain ideas through written Markdown, a simple text-formatting language, with the writing appearing progressively like a live lecture.

pandazki/pneuma-skills · 0 tokens

教程类H5-小红书小工具

A method for building offline, single-page course experiences for Xiaohongshu’s Mini Tools, which are interactive pages published inside the platform. It combines written lessons, generated illustrations, and JavaScript page switching in a constrained container.

huangrichao2020/pretty-skills · 110 tokens

sansheng-distill

A book and text summarizer that creates one self-contained HTML page with five sections: an overview, chapter notes, the book’s central idea, an action checklist, and questions for judging its reliability. The page includes an embedded Mermaid mind map and works offline without a web server.

huangrichao2020/pretty-skills · 108 tokens

explain

Use when user invokes /explain with a file path, directory path, function/class name, or natural language concept. Also triggers on "explain this", "how does X work", "walk me through". Produces a structured, layered explanation of what the code does, how it connects, and where to start if you need to change it. Do…

harnessprotocol/harness-kit · 95 tokens

a-unslop-code

Finds what makes source code read as AI-written and points you at the parts that actually ship bugs. Sorts every tell into three buckets and fixes them in that order: bugs (swallowed errors, a made-up API, a left-in "rest of the code" stub), substance (tutorial-shaped boilerplate, over-engineering, code that ignores…

imisic/claude-marketplace · 187 tokens

manim-video

Build reusable Manim explainers for technical concepts, graphs, system diagrams, and product walkthroughs, then hand off to the wider ECC video stack if needed. Use when the user wants a clean animated explainer rather than a generic talking-head script.

Jamkris/everything-gemini-code · 54 tokens