wolfram-notebooks

Reads, writes, and converts Wolfram notebooks between .nb and markdown formats.

82|19|Updated Mar 21, 2025
One-click install
npx skills add https://github.com/WolframResearch/AgentTools --skill wolfram-notebooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wolfram-notebooks
Source: https://github.com/WolframResearch/AgentTools/tree/main/AgentSkills/Skills/wolfram-notebooks
Command: npx skills add https://github.com/WolframResearch/AgentTools --skill wolfram-notebooks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Reads and writes Wolfram notebook (.nb) files, including conversion between markdown and notebook format.

Core Features & Use Cases

  • ReadNotebook reads the contents of a Wolfram notebook (.nb) as markdown text.
  • WriteNotebook converts Markdown text into a Wolfram notebook and saves it to a .nb file.
  • Conversion enables bidirectional markdown/notebook conversion to support documentation and reproducible analysis.
  • MCP integration when a Wolfram MCP server is available, you can leverage bundled tools for richer notebook workflows.

Quick Start

Use the bundled ReadNotebook to read a notebook into Markdown or WriteNotebook to create a notebook from Markdown.

Frequently Asked Questions about wolfram-notebooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Wolfram notebook to markdown?

Convert a Wolfram notebook to markdown by using the ReadNotebook operation to read .nb files and extract their contents as markdown text. This supports documentation and reproducible research workflows.

Can I generate a .nb file from markdown text?

Yes, you can generate a .nb file from markdown text using the WriteNotebook operation, which converts markdown into a Wolfram notebook and saves it to a .nb file for automation and documentation purposes.

Do I need a Wolfram MCP server to read and write notebooks?

You do not need a Wolfram MCP server to read and write notebooks, but wolframscript must be on PATH. An available MCP server provides optional bundled tools for richer notebook integration and workflows.

What is bidirectional markdown and notebook conversion used for?

Bidirectional markdown and notebook conversion supports documentation, reproducible research, and automation workflows where Wolfram notebook content must be inspected, transformed, or generated across formats.

Does this approach work for automating reproducible research workflows?

Yes, this approach works for automating reproducible research workflows by reading, writing, and converting Wolfram notebooks between .nb and markdown formats to inspect, transform, or generate content programmatically.