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.
npx skills add jerseycheese/agent-skills --skill drupal-mental-modelgit clone --depth 1 https://github.com/jerseycheese/agent-skillsWrote 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.
[](https://agentmods.dev/skills/jerseycheese/agent-skills/drupal-mental-model)<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/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.
<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="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00074 | $0.00321 |
| Opus 5.5 | $0.00030 | $0.00128 |
| Sonnet 5.5 | $0.00015 | $0.00064 |
| Haiku 4.5 | $0.00007 | $0.00032 |
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 1mo 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.
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
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.
- 1mo ago Changed · +4 lines · +3 tokens per session 8cc995a477a4
- 3mo ago First seen · 26 lines · 71 tokens per session scan A d1f43f391777
drupal-mental-model is a skill published in the GitHub repository jerseycheese/agent-skills (4 stars, last pushed 4d ago), licensed MIT. It adds 74 tokens to every session and 321 once invoked, about $0.0003 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-31.
drupal-mental-model compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drupal-mental-modeljerseycheese/agent-skills | Skill | 4 | 4d ago | MIT | A | 74 | Claude Code |
| omh-codebase-umlrlaope/oh-my-hermes | Skill | 6.4k | yesterday | MIT | A | 20 | Claude Code |
| startAlpacaLabsLLC/skills-for-architects | Skill | 454 | 10d ago | MIT | A | 71 | Claude Code |
| Teach From Sourcesjuspay/xyne-spaces | Skill | 837 | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| learning-assistantcafe3310/public-agent-skills | Skill | 262 | 20d ago | Apache-2.0 | A | 26 | Claude Code, Codex |
| case-interview-practicetravisjneuman/.claude | Skill | 116 | yesterday | MIT | A | 39 | Claude Code |
| project-learnercafe3310/public-agent-skills | Skill | 262 | 20d ago | Apache-2.0 | A | 46 | Claude Code, Codex |