worked-example-factory

worked-example-factory is an agent for Claude Code from equinor/neqsim. It costs 36 tokens per session (301 once invoked), scanned A, original, Apache-2.0.

An agent that turns verified equations, notebook outputs, benchmark results, and case studies into teachable worked examples. Each example includes inputs, assumptions, calculation steps, checks, interpretation, and common mistakes.

In plain words
What is it for?
Use it to create worked-example blocks, exercise variations, solution notes, and links to learning objectives or computational evidence.
Why use it?
It gives readers a reproducible path from the given information to the result. It also keeps assumptions visible and avoids inventing numerical outcomes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to create worked-example blocks, exercise variations, solution notes, and links to learning objectives or computational evidence.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/equinor/neqsim/worked_example_factory.paperlab
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.

Clone the repo
git clone --depth 1 https://github.com/equinor/neqsim

Made for: Claude Code.

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 worked-example-factory

README.md
[![agentmods](https://agentmods.dev/badge/agents/equinor/neqsim/worked_example_factory.paperlab.svg)](https://agentmods.dev/agents/equinor/neqsim/worked_example_factory.paperlab)
Your own site
<a href="https://agentmods.dev/agents/equinor/neqsim/worked_example_factory.paperlab"><img src="https://agentmods.dev/badge/agents/equinor/neqsim/worked_example_factory.paperlab.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 301 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.00036 $0.00301
Opus 5 $0.00018 $0.00151
Sonnet 5 $0.00007 $0.00060
Haiku 4.5 $0.00004 $0.00030

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

Security

Grade A, and why

worked-example-factory 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 4d 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.

neqsim-paperlab/agents/worked_example_factory.paperlab.md · 51 lines

What it actually says

Worked Example Factory Agent

You turn validated computations into teachable worked examples.

Loaded Skills

  • paperlab_worked_example_generation
  • neqsim_in_writing
  • paperlab_learning_objective_matrix

Required Context

Read these files when present:

  • chapter chapter.md
  • notebooks and generated results
  • nomenclature.yaml
  • learning objectives and exercises

Workflow

  1. Identify quantitative claims, equations, or notebook outputs that can become examples.
  2. Write givens, assumptions, solution path, calculation steps, units, sanity checks, interpretation, and common mistakes.
  3. Link the example to a notebook, test, or benchmark result.
  4. Add follow-up exercises that vary one or two inputs and ask for interpretation.
  5. Ensure the example supports a named learning objective.

Output

  • worked-example markdown blocks
  • worked_example_manifest.json
  • exercise variants and solution notes when requested

Guardrails

  • Do not invent numeric results; trace them to executable code or cited data.
  • Use SI units as the primary unit system.
  • Keep assumptions visible next to the calculation.
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. 4d ago First seen · 51 lines · 36 tokens per session scan A 9864f15860fc

Subscribe to this mod's changes

worked-example-factory is an agent published in the GitHub repository equinor/neqsim (150 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 301 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-09-03.

Related

Other agents, from other repositories

domain-reviewer

Substantive domain review for lecture slides. Template agent — customize the 5 review lenses for your field. Checks derivation correctness, assumption sufficiency, citation fidelity, code-theory alignment, and logical consistency. Use after content is drafted or before teaching.

pedrohcgs/claude-code-my-workflow · 56 tokens

grok-math-director

Stage 4 of the Grok chain. Must use codeinterpreter to solve homework and physics numbers, check units, and verify LaTeX. websearch only for cited constants.

HarleyCoops/Math-To-Manim · 44 tokens

acoustics-physicist

Reasons from impedance Z=p/u, Helmholtz number kL regime, and the sonar equation SL-TL-NL+DI+PG through impedance tubes (ISO 10534), anechoic and reverberation rooms, laser vibrometry, and k-Wave/COMSOL simulation while treating edge diffraction inflating absorption above one, near-field versus far-field confusion…

K-Dense-AI/scientific-agents · 104 tokens

aeronautical-engineer

Reasons from airfoil polars, drag buckets, and static margin through AVL/DATCOM stability derivatives, wind-tunnel blockage and wall corrections, FAR 25 §25.101–25.207 compliance matrices, and AC 25-7 flight-test evidence—not generic aerospace or pure CFD aerodynamics.

K-Dense-AI/scientific-agents · 68 tokens

agroecologist

Reasons from socio-ecological farm systems, functional diversity, soil-biology-mediated fertility, and yield-service trade-offs through mother-baby and mixed-model trials, N/P/C mass balances, PLFA/amplicon and pollinator surveys, and NDVI/FRAGSTATS landscape analysis, while treating edge-effect and plot-size…

K-Dense-AI/scientific-agents · 98 tokens

domain-reviewer

Substantive domain review for lecture slides. Template agent — customize the 5 review lenses for your field. Checks derivation correctness, assumption sufficiency, citation fidelity, code-theory alignment, and logical consistency. Use after content is drafted or before teaching.

brycewang-stanford/Auto-Empirical-Research-Skills · 56 tokens