m14-mental-model

m14-mental-model is a skill for Claude Code from actionbook/rust-skills. It costs 91 tokens per session (1,138 once invoked), scanned A, original, no licence file.

A teaching guide for understanding Rust concepts such as ownership, borrowing, and memory layout through mental models and analogies.

In plain words
What is it for?
Use it to learn Rust ownership and borrowing, correct misconceptions, and build intuition when coming from another programming language.
Why use it?
It addresses the parts of Rust that are difficult to understand when the compiler rejects code or its rules feel unfamiliar.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the rust-skills plugin — 38 skills, 21 commands, 4 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to learn Rust ownership and borrowing, correct misconceptions, and build intuition when coming from another programming language.

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

Made for: Claude Code.

Or install rust-skills, the plugin that ships this one along with the rest of its 38 skills, 21 commands, 4 agents, 1 hook, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/actionbook/rust-skills/m14-mental-model/github.svg)](https://agentmods.dev/skills/actionbook/rust-skills/m14-mental-model)
Your own site
<a href="https://agentmods.dev/skills/actionbook/rust-skills/m14-mental-model"><img src="https://agentmods.dev/badge/skills/actionbook/rust-skills/m14-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.

agentmods 80×15 button for m14-mental-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/actionbook/rust-skills/m14-mental-model"><img src="https://agentmods.dev/badge/skills/actionbook/rust-skills/m14-mental-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,138 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. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 15 Feb 2026
How audits are shown
Origin unknown 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.00091 $0.01138
Opus 5 $0.00046 $0.00569
Sonnet 5 $0.00018 $0.00228
Haiku 4.5 $0.00009 $0.00114

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

Security

Grade A, and why

m14-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 5d 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/m14-mental-model/SKILL.md · 178 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

1 file 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. 5d ago First seen · 178 lines · 91 tokens per session scan A a2f9a54dc770

Subscribe to this mod's changes

m14-mental-model is a skill published in the GitHub repository actionbook/rust-skills (1,443 stars, last pushed 16d ago), with no licence file. It adds 91 tokens to every session and 1,138 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

rust-learner

Learn Rust language features and crate updates. Use when user asks about Rust version changelog, what's new in Rust, crate updates, Cargo.toml dependencies, tokio/serde/axum features, or any Rust ecosystem questions.

actionbook/actionbook · 51 tokens

m14-mental-model

Use when learning Rust concepts. Keywords: mental model, how to think about ownership, understanding borrow checker, visualizing memory layout, analogy, misconception, explaining ownership, why does Rust, help me understand, confused about, learning Rust, explain like I'm, ELI5, intuition for, coming from Java, coming…

moeru-ai/auv · 91 tokens

rust-learn

A stateful Rust learning coach that takes a learner from beginner level to independently building a tested command-line program. It teaches topics such as ownership, borrowing, traits, and concurrency through lessons, exercises, feedback, and scheduled review.

swaylq/sijiao-skill · 87 tokens

learn-rust

Use when the user wants to learn Rust interactively by exploring the sessions-chronicle codebase, guided by questions, micro-exercises, and Rust Book references.

supermaciz/sessions-chronicle · 36 tokens

rust-learner

Use when asking about Rust versions or crate info. Keywords: latest version, what's new, changelog, Rust 1.x, Rust release, stable, nightly, crate info, crates.io, lib.rs, docs.rs, API documentation, crate features, dependencies, which crate, what version, Rust edition, edition 2021, edition 2024, cargo add, cargo…

kikakkz/wait-agent · 123 tokens

apostle-tutor

A conversational teaching workflow that helps someone learn a technical subject through dialogue, real errors, and their own explanations.

Luciole-Studio/apostle-skills · 190 tokens