learn-rust

learn-rust is a skill for Claude Code, Codex from supermaciz/sessions-chronicle. It costs 36 tokens per session (1,402 once invoked), scanned A, original, MIT.

An interactive way to learn Rust, a programming language, by exploring the sessions-chronicle codebase and connecting its code to beginner learning resources.

In plain words
What is it for?
Use it for one-question-at-a-time guidance, small Rust exercises, references to The Rust Book or Rust by Example, and checks with cargo check or cargo test.
Why use it?
It replaces abstract lessons with explanations tied to real files, modules, and symbols in a working project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions OpenCode.

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.

agentmods
npx agentmods add skills/supermaciz/sessions-chronicle/learn-rust
Any agent
npx skills add supermaciz/sessions-chronicle --skill learn-rust
Clone the repo
git clone --depth 1 https://github.com/supermaciz/sessions-chronicle

Made for: Claude Code, Codex.

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 learn-rust

README.md
[![agentmods](https://agentmods.dev/badge/skills/supermaciz/sessions-chronicle/learn-rust.svg)](https://agentmods.dev/skills/supermaciz/sessions-chronicle/learn-rust)
Your own site
<a href="https://agentmods.dev/skills/supermaciz/sessions-chronicle/learn-rust"><img src="https://agentmods.dev/badge/skills/supermaciz/sessions-chronicle/learn-rust.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00036 $0.01402
Opus 5 $0.00018 $0.00701
Sonnet 5 $0.00007 $0.00280
Haiku 4.5 $0.00004 $0.00140

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

Security

Grade A, and why

learn-rust 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 6d 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/learn-rust/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Learn Rust interactively from the sessions-chronicle codebase

Goal

Help the user learn Rust by navigating the real sessions-chronicle codebase, mapping concrete code to:

  • The Rust Book
  • Rust by Example

This skill is interactive first:

  • ask one focused question at a time,
  • anchor every explanation in a real file/module/symbol,
  • give one small exercise,
  • verify with cargo check or cargo test,
  • keep momentum.

Repo Context

Target repository: supermaciz/sessions-chronicle

Current product scope includes:

  • browsing/searching AI assistant sessions,
  • SQLite full-text search,
  • transcript/detail reading,
  • markdown rendering,
  • inline tool-call inspection,
  • subagent inspection/linkage,
  • pinned sessions,
  • token usage display,
  • indexing health diagnostics,
  • terminal resume,
  • analytics views.

Project Map

Use this map as the default mental model:

  • src/main.rs
    • binary entrypoint
  • src/lib.rs
    • crate wiring
  • src/app/
    • top-level app flow and composition
    • handlers/ splits update logic by feature area
  • src/ui/
    • Relm4 widgets and screens
    • tool_renderers/ and modals/ contain focused UI submodules
  • src/database/
    • schema, indexing, search, persistence
  • src/parsers/
    • assistant-specific transcript/session parsing
    • OpenCode has JSON and SQLite backends under src/parsers/opencode/
  • src/models/
    • domain types
  • src/utils/
    • helpers and integration utilities
  • src/session_sources.rs
    • local session source discovery and overrides
  • src/project_resolver.rs
    • project mapping/detection
  • src/indexing_worker.rs
    • indexing pipeline/background work
  • src/analytics_worker.rs
    • analytics data preparation

Test Map

Prefer test-driven learning through these real integration areas:

  • tests/load_session.rs
  • tests/search_sessions.rs
  • tests/opencode_search.rs
  • tests/claude_subagent_linkage.rs
  • tests/codex_subagent_event_coverage.rs
  • tests/codex_subagent_linkage.rs
  • tests/pinned_sessions.rs
  • tests/project_detection.rs
  • tests/project_sidebar_filtering.rs
  • tests/message_preview.rs
  • tests/reasoning_attachments.rs
  • tests/transcript_items_model.rs
  • tests/analytics_integration.rs
  • tests/analytics_queries.rs
  • tests/cli_print_db_path.rs
  • tests/i18n_potfiles.rs

Read the full file on GitHub · 212 lines

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. 6d ago First seen · 212 lines · 36 tokens per session scan A dfa259269820

Subscribe to this mod's changes

learn-rust is a skill published in the GitHub repository supermaciz/sessions-chronicle (5 stars, last pushed 4d ago), licensed MIT. It adds 36 tokens to every session and 1,402 once invoked, about $0.0002 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

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

add-crate

Add a new member crate to a Cargo workspace in this repo using the y5-template binary. Use whenever the user asks to add/create/scaffold a new crate, module, or workspace member (e.g. "add a crate under compositor.window", "scaffold action.foo"). Handles the chain-prefix naming convention and non-interactive…

y5-snowies/nourish · 74 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

neo-rust

Use this skill when writing, refactoring, debugging, or auditing Rust code. Trigger for .rs files, Cargo projects, ownership/borrowing/lifetime issues, Result/Option error handling, unnecessary clone/performance work, unsafe code review, or modern Rust architecture.

Benknightdark/neo-skills · 58 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…

actionbook/rust-skills · 123 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…

actionbook/rust-skills · 91 tokens