engram-artifact-smith

engram-artifact-smith is an agent for Claude Code from nagisanzenin/engram. It costs 45 tokens per session (1,096 once invoked), scanned B, original, MIT.

An agent role for building interactive HTML learning tools called explorables. These tools let learners test an idea through interaction and prediction rather than only reading a page.

In plain words
What is it for?
Use it after defining an Engram concept that needs visual encoding, especially when learners repeatedly misunderstand the concept and need to interact with it.
Why use it?
It provides a contract and setup process for turning difficult concepts into interactive experiences while avoiding attractive but passive explanations.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: reads .claude/ paths; built for openclaw.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the engram plugin — 3 skills, 3 agents, 1 hook shipped together

Good fit Use it after defining an Engram concept that needs visual encoding, especially when learners repeatedly misunderstand the concept and need to interact with it.

Compare 6 agents from other repositories ↓
About the project

Engram is a learning system that uses an AI agent as a tutor, examiner, and spaced-repetition scheduler so people retain what they study. It is for humans who want to learn topics through active recall and evidence of understanding, rather than giving an agent persistent memory. The catalogue contains Engram skills, agents, hooks, and plugins for supported coding-agent platforms.

nagisanzenin/engram · 1,407 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add nagisanzenin/engram
Claude Code
/plugin install engram

Made for: Claude Code.

Or install engram, the plugin that ships this one along with the rest of its 3 skills, 3 agents, 1 hook.

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 engram-artifact-smith

README.md
[![agentmods](https://agentmods.dev/badge/agents/nagisanzenin/engram/engram-artifact-smith/github.svg)](https://agentmods.dev/agents/nagisanzenin/engram/engram-artifact-smith)
Your own site
<a href="https://agentmods.dev/agents/nagisanzenin/engram/engram-artifact-smith"><img src="https://agentmods.dev/badge/agents/nagisanzenin/engram/engram-artifact-smith/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 engram-artifact-smith

Your own site · 80×15
<a href="https://agentmods.dev/agents/nagisanzenin/engram/engram-artifact-smith"><img src="https://agentmods.dev/badge/agents/nagisanzenin/engram/engram-artifact-smith.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,096 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00045 $0.01096
Opus 5 $0.00023 $0.00548
Sonnet 5 $0.00009 $0.00219
Haiku 4.5 $0.00005 $0.00110

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

Security

Grade B, and why

engram-artifact-smith scanned grade B with 1 finding 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 10d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

"$HOME/.gemini/config/plugins/engram" \
agents/engram-artifact-smith.md · 52 lines

How it starts

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

You are Engram's artifact smith. You build explorables — self-contained interactive HTML that lets a learner touch a concept under prediction — in the tradition of Bret Victor, Nicky Case, and Quantum Country, governed by a contract that exists because beautiful passive pages are fluency traps.

Before anything

Resolve the plugin root the SAME way the skills do — run this block verbatim (the single-expression form this file used to carry has no OpenClaw and no dev-clone candidate, so on those the smith could not find the engine at all):

for d in "$ZCODE_PLUGIN_ROOT" "$OPENCODE_PLUGIN_ROOT" "$CLAUDE_PLUGIN_ROOT" "$CODEX_PLUGIN_ROOT" "$ENGRAM_ROOT" \
         "${OPENCLAW_STATE_DIR:-$HOME/.openclaw}/extensions/engram" \
         "$HOME/.gemini/config/plugins/engram" \
         "$HOME/.pi/agent/git/github.com/nagisanzenin/engram" \
         "$PWD" "$(git rev-parse --show-toplevel 2>/dev/null)" \
         "$HOME/.agents/engram"; do
  [ -n "$d" ] && [ -f "$d/scripts/engram.py" ] && ROOT="$d" && break
done
[ -n "$ROOT" ] || { echo "engram: engine not found — set ENGRAM_ROOT" >&2; exit 2; }

Then read $ROOT/skills/_shared/explorable-contract.md (or the engram-shared reference). The seven clauses are binding; the QA checklist at its end must be completed and included in your final report.

Input you receive

The node JSON (claim, probe, rubric, why_chain, edges, and — when the architect declared one — viz with kind and hook), the topic, the learner's interests, scaffold level (novice → the Contract's clause-2 worked drive gates the model before free manipulation; comfortable → open manipulation directly), and open misconceptions touching this node.

Design rules of thumb

  • The manipulable model comes from the claim's causal structure, not from what's easy to animate. Start from viz.hook when present — it names the manipulation chosen to kill the likely wrong prediction — and pick the widget by viz.kind. No viz hint? Ask: what would the learner predict wrongly about this concept? Build the widget that makes that prediction testable. Open misconceptions are your best material — build the contrast that kills them.
  • Prediction gates are commitments, not speed bumps: a typed guess, a slider set, a chosen option — stored and compared on reveal ("you said 40%, it's 93%").
  • Embedded retrievals target the node's own probe + one why_chain link. Phrase the closing instruction exactly: "Tell Engram your two retrieval answers next time you talk — they become part of your schedule."
  • Interests are analogy fuel — a woodworker gets dovetails in the example, not generic widgets — but never let the analogy carry load the real structure must carry (Mayer's coherence: cut anything that doesn't teach).
  • Vanilla HTML/CSS/JS, CSS custom-property tokens for both themes, prefers-reduced-motion respected, keyboard operable, canvas for anything generative. No frameworks, no CDNs, no external anything.

Read the full file on GitHub · 52 lines

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. 10d ago First seen · 52 lines · 45 tokens per session scan B 7668e82e8507

Subscribe to this mod's changes

engram-artifact-smith is an agent published in the GitHub repository nagisanzenin/engram (1,407 stars, last pushed 13d ago), licensed MIT. It adds 45 tokens to every session and 1,096 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

exam-generator

Generates printable exam papers with answer keys in PDF format. Searches for real exam examples online. Triggered by "/generate-exam" command.

hluaguo/learn-faster-kit · 32 tokens

knowledge-extractor

Deep-analysis agent spawned by /crystallize. Reads session logs and lessons.md, clusters patterns with ≥3 occurrences, and writes draft skill files to skills/{domain}/SKILL.md.

avelikiy/great_cto · 42 tokens

experience-extractor

Learning agent for the Self-Evolving Loop. Use when executing /evolving-loop Phase LEARN — after completion-judge decides EVOLVE, when iterations fail with similar issues, before the evolve phase, or on SHIP to record success patterns. Runs evidence-based root-cause analysis, extracts patterns, writes learning.json…

claude-world/director-mode-lite · 127 tokens

edtech-pm-reviewer

PM-side reviewer for edtech initiatives — K-12, higher-ed, corporate L&D, consumer learning, tutoring, micro-credentials. Stress-tests learning outcomes (not just engagement), buyer vs user split, COPPA / FERPA scope, district sales cycle, drop-off cliffs, edu-specific moats. Pairs with engineering's edtech-reviewer.

VandanaAjayDubey111/great-pm · 79 tokens

kth

Cloud-native engineer and educator. Co-author of Kubernetes Up & Running (2017, 2019). Long-time Google Cloud Platform staff developer advocate (2014–2023, retired from full-time work). Best known for the "no-code" demo style that turns abstract distributed-systems concepts into running examples on stage. Authored…

punt-labs/punt-kit · 96 tokens