โ ๏ธ Disclaimer. This repo grows on the fly out of my own thoughts and needs around AI assistance in computational research. It is a working draft, in need of human revision and selective improvement. Helpers and testers welcome!
๐ค Computational Research
A Wolfram-centric Codex and ChatGPT plugin for AI-assisted computational research. Original: Pavel Hajekโs Computational Research plugin.
- โ๏ธ Autosetup installs the MCP servers and tools, and checks the environment.
- ๐ Autoorganization sorts a project into folders and keeps it tidy.
- ๐ Autoknowledge grows and maintains a wiki of what the project knows.
- ๐ Autoresources gathers resources and keeps track of how to recover them.
- ๐บ Converts Wolfram notebooks to and from Markdown.
- ๐ Writes expository notebooks, and mathematics papers as notebooks.
- ๐ฆ Turns code into a documented paclet and publishes it.
- ๐ Supports human-owned papers and paclet designs, with concise research companions and edits on request.
- ๐ Formalizes proofs in Lean.
- ๐งฎ Paper verification builds code and tests beside a mathematics paper and checks it statement by statement.
- ๐ Keeps a scientific journal of what was learned, if you want one.
- ๐งฌ Records the prompt behind everything it generates, if you want that.
- ๐๏ธ Autolab manages a backlog of work and works through it while you are away.
- ๐ค Shows you every deliverable, and revises it from the notes you write into it, keeping every version and remembering your corrections.
- ๐งญ Gives a guided tour of the project.
๐ Workflows
1. Organization of materials and resources
Organize your folder into a structure maintained by the LLM, or scaffold a new project from a research question.
Project/
Code/ code items
<PacletName>/ optional paclet folder
Research/ research items
Wiki/ knowledge base maintained by the LLM
Work/ backlog managed by the LLM
Resources/ downloaded material
The project is version-controlled with Git.
Resources are downloaded and stored locally, with recovery instructions committed to Git instead of the downloaded files.
Within each folder, Artifacts/ holds notes and notebooks on individual topics, while Archive/ holds superseded material.
Documents intended as outputs are developed iteratively in the folder itself, as described below.
2. Assisted writing of output documents
The author develops the main document directly, in numbered iterations such as document1.tex, document2.tex, and so on.
For each iteration, the LLM maintains a matching notes file, such as document1_notes.tex, following the documentโs structure while exploring related questions and proposing additions.
The author decides what to incorporate and when to begin the next iteration. The LLM edits the main document only on explicit request.
See the document ownership rules.
3. Assisted paclet development
Paclet development follows the same workflow, with a design notebook as the main document.
For a paclet named Infrageometry, keep Infrageometry1.nb and Infrageometry1_notes.nb in the repository root beside the paclet folder.
The author develops the design in the notebook; the LLM proposes additions in the notes and implements the accepted design.
See the paclet design rules.
4. Backlog management and execution
Define and refine work items, have agents execute them in parallel in separate worktrees, and review the results. Work items follow the Kanban lifecycle Backlog โ Ready โ Active โ UnderReview โ Done, with each stage represented by a folder. The plugin can deploy a web control board for managing the backlog.
See the work-item format and execution details.
๐ฅ Installation
This package uses the OpenAI plugin format and includes a repository marketplace. Add it as a source:
codex plugin marketplace add p135246/CodexPluginComputationalResearch
Then open the Plugins Directory in the ChatGPT desktop app, select Pavel Hajek โ Research, install Computational Research, and test in a new chat. Availability of local marketplaces varies by surface. This repository is not a submission to the public OpenAI Plugins Directory.
For local development, clone this repository and add its absolute directory with codex plugin marketplace add /absolute/path/to/CodexPluginComputationalResearch.
Invoke skills by name ($project-create, $document-propose) or describe the task.
Wolfram work requires an existing Wolfram Engine/Mathematica and a connected Wolfram AgentTools MCP server.
Connect it through the host's MCP settings using the official server's instructions for that host; this package does not configure or launch another kernel.
Lean and arXiv integrations are optional and discovered when needed.
Run $project-check-env to check capabilities and license headroom.
Local scaffolding, builds, the board and CLI workers require filesystem and shell access.
A web-only ChatGPT session needs those capabilities supplied by its environment.
The board is a standalone local snapshot with a pending-change export; changes are reviewed and reconciled before applying to project files.
Autolab uses native subagents when available, and the scheduled workflow uses bounded codex exec sessions.
See runtime guidance for host differences and verification limits.
๐งฉ Functionality
โ๏ธ Autosetup
| Skill / command | Purpose |
|---|---|
| project-check-env | Check tools, kernel access and license capacity |
| โ | Automatic setup: planned, no skill yet |
๐ Autoorganization
| Skill / command | Purpose |
|---|---|
| project-create | Set up a research, mathematics or paclet project |
| project-load | Summarize the project and next steps |
| project-clean | Move superseded material into Archive/ |
๐ Autoknowledge
| Skill / command | Purpose |
|---|---|
| wiki-init | Start the wiki |
| wiki-update | Record new findings |
| wiki-check | Find gaps, stale entries and broken links |
๐ Autoresources
| Skill / command | Purpose |
|---|---|
| wiki-add-resource | Save and summarize a source |
| wiki-search-wolfram | Search Wolfram documentation, repositories and Community |
| wiki-search-math | Search MathWorld, nLab, OEIS, DLMF and Wikipedia |
| paper-cite | Make BibTeX from an arXiv ID or DOI |
๐บ Notebook and Markdown conversion
| Skill / command | Purpose |
|---|---|
| notebook-create | Convert between Wolfram notebooks and Markdown |
๐ Expository notebooks and mathematics papers
| Skill / command | Purpose |
|---|---|
| notebook-create | Create or edit an expository Wolfram notebook |
| paper-create-notebook | Write a requested mathematics paper as a notebook |
| paper-create-note | Turn a conversation into a mathematical note |
๐ฆ Paclet development and publishing
| Skill / command | Purpose |
|---|---|
| paclet-build | Build and install locally |
| paclet-docs | Write function reference pages |
| paclet-publish | Publish the paclet and documentation when requested |
๐ Human-owned papers and paclet designs
| Skill / command | Purpose |
|---|---|
| paper-create | Set up a LaTeX or Typst paper and its notes |
| document-setup | Identify the current document and notes; create a missing pair when requested |
| document-propose | Investigate a question and put proposed additions in the notes |
| document-compare | Compare the document with proposals, proofs or code |
๐ Proof formalization in Lean
| Skill / command | Purpose |
|---|---|
| paper-lean | Formalize proofs with Lean and Mathlib |
๐งฎ Paper verification
| Skill / command | Purpose |
|---|---|
| โ | Planned; no skill yet |
๐ Scientific journal
| Skill / command | Purpose |
|---|---|
| paper-journal | Keep an optional cited scientific journal |
๐งฌ Prompt provenance
| Skill / command | Purpose |
|---|---|
| project-provenance | Optionally record prompts behind generated work; retain revision history |
๐๏ธ Autolab
| Skill / command | Purpose |
|---|---|
| backlog-add | Record a work item |
| backlog-refine | Refine its plan and tasks with you |
| backlog-info | Review the backlog with you |
| backlog-board | Show an editable web board |
| backlog-run | Run one task, then stop |
| backlog-autolab | Execute Ready tasks with background workers |
| backlog-run-scheduled | Run unattended for scheduled jobs |
| backlog-review | Check results against your acceptance criteria |
๐ค Document review and revision
| Skill / command | Purpose |
|---|---|
| document-revise | Revise a generated document from your comments and edits |
๐งญ Guided project tours
| Skill / command | Purpose |
|---|---|
| project-tour | Give a guided project walkthrough |