Neqsim literature search

From equinor/neqsim · View interactive version

Neqsim literature search is an AI agent skill from the GitHub repository equinor/neqsim. Literature and web research workflow for NeqSim tasks. USE WHEN: a task needs papers, standards, textbook or benchmark data, or background from the open web, stored and summarized so it is reusable. Saves papers to references/literature/ and web extracts to references/web/, writes literature_finding

How to use this skill

Skill file

Literature & Web Search for Engineering Tasks

Find, store, and summarize related papers and web information for a NeqSim task

so the research is auditable, reusable, and distributable with the task

folder. This skill defines the workflow and storage convention; it pairs with

enterprise-stid-document-retrieval (enterprise skill; internal/vendor corpora), neqsim-technical-document-reading

(fact extraction), neqsim-pdf-ocr (scanned PDFs), and neqsim-standards-lookup

(which standards to pull). It is the open-literature/web counterpart to the

internal-document retrieval flow, and shares the same references/ collection

layout so everything lands in one distributable folder.

When to Use

independent benchmark dataset (NIST, textbook worked examples, published lab

data, standards).

background, operator/vendor public material, regulatory text) informs scope.

Storage Convention (distributable, per-source)

All research is stored inside the task folder under

step1_scope_and_research/references/, filed by source so the collection can be

handed to others:

references/
├── SOURCES.md               # human-readable summary (auto-generated)
├── collection_manifest.json # machine-readable record (auto-generated)
├── literature_findings.md   # structured claims + citations from this search
├── literature/              # papers, standards, textbook PDFs
│   ├── Smith2019_CO2_dense_phase.pdf
│   └── NORSOK_M-001_2017.pdf
└── web/                     # saved web pages / article extracts
    ├── nist_webbook_CO2_density.md
    └── wikipedia_Joule-Thomson.md

retrieval date, and the relevant text/tables) — NOT a raw HTML dump. Name

files by source + topic (e.g. nist_webbook_CO2_density.md).

Workflow

  1. Frame the questions. From the task scope, write 3–8 specific research

questions (e.g. "What is the measured CO2 density at 100 bar, 40 °C?",

"Which standard governs dense-phase CO2 pipeline material selection?").

Record them at the top of literature_findings.md.

  1. Local library first (before any web search). The user may have a

configured document root holding full standards, company technical

requirements, and vendor datasheets. Searching it is faster and more

authoritative than the open web, and it is free:

```bash

neqsim --show-document-root # may be unset - then there is no library

neqsim documents "NORSOK" # recursive, case-insensitive

```

The same listing is in references/document_root_index.md inside the task

folder, so a subagent without CLI access can still see what is available.

Copy anything used into references/literature/ (open sources) or

references/manual/ (company documents). File names are indicative only —

open a likely candidate before ruling the library out.

  1. Standards next. Use neqsim-standards-lookup to identify applicable

standards before chasing papers — they often answer the question directly.

Save standard PDFs (when obtainable) to literature/.

  1. Internal corpus (if configured). If a retrieval backend is available,

pull internal/vendor docs via the enterprise skill enterprise-stid-document-retrieval into their own source

subfolders (stid/, vendor/, manual/).

  1. Web search. Use the fetch_webpage tool to retrieve and read candidate

pages (query = a research question). Prefer authoritative sources (NIST,

standards bodies, peer-reviewed / DOI, textbook publishers, reputable

engineering references). For each useful page, save a Markdown extract to

references/web/ with this header, then the relevant excerpt/tables:

```markdown

# <Page title>

<the relevant text / table / data — quoted, with the location noted>

```

Do not invent URLs or fabricate content. If a page is paywalled and only

the abstract is available, save the abstract and say so.

  1. Papers. Retrieve open-access PDFs (arXiv / DOI / publisher) into

references/literature/. For paywalled papers, save the abstract + citation

as a .md stub in literature/ and record the access gap. If a configured

paper-search backend exists, use it; otherwise list candidates and ask the

user to confirm downloads.

  1. Extract information. For each stored PDF, extract the specific facts that

answer a research question via neqsim-technical-document-reading (OCR first

via neqsim-pdf-ocr for scans). For figures/curves/tables, convert PDF pages

with devtools/pdf_to_figures.py and read them with view_image; save

extracted PNGs to the task figures/ folder.

  1. Write literature_findings.md. One entry per useful source with:

citation, source path (relative), a two-sentence contribution summary, the

specific claim/data it supports (with page/section/table pointer), and a

relevance score. Group by research question so each question shows its

supporting evidence. Triage: keep the strongest ≤ 10; note pruned candidates

with the reason, so the choice is auditable.

  1. (Re)build the distributable summary. Run the generator so the papers and

web extracts are organized and indexed:

```bash

uv run --project devtools --locked devtools/generate_sources_md.py <task_dir> --organize

```

It files loose files into literature/ / web/ and rebuilds

references/SOURCES.md + references/collection_manifest.json.

  1. Feed the task. Copy the strongest entries into results.json

references[], and use the extracted data (not raw prose) as benchmark /

basis inputs for the NeqSim study. Append the `## Literature & Reference

Documents section to notes.md`.

`literature_findings.md` skeleton

# Literature & Web Findings — <task title>

Search date: YYYY-MM-DD

## Research questions
1. <question>
2. <question>

## Findings

### Q1 — <question>
- **Smith (2019)**, `literature/Smith2019_CO2_dense_phase.pdf` — measured CO2
  density 628 kg/m3 at 100 bar / 40 °C (Table 3, p. 5). Relevance: high.
  Use as benchmark for the SRK density validation.
- **NIST WebBook**, `web/nist_webbook_CO2_density.md` — reference EOS density
  627.9 kg/m3 at the same state. Relevance: high.

### Q2 — <question>
- **NORSOK M-001 (2017)**, `literature/NORSOK_M-001_2017.pdf` §6.3 — material
  selection for CO2 wet service. Relevance: medium.

## Pruned candidates (with reason)
- <title> — superseded by Smith (2019); older correlation.

Operating Principles

  1. Store inside the task folder, filed by source (literature/, web/).
  2. Cite, don't paraphrase — every finding points to a page/section/table or

a URL so it can be verified.

  1. No invented URLs or data. Record access gaps (paywall, not found)

honestly.

  1. Triage by relevance — prune to the strongest sources; keep the reasoning.
  2. Prefer authoritative sources (standards, NIST, DOI, textbooks) for any

number used as a benchmark or design basis.

  1. Keep it distributable — always regenerate SOURCES.md after a search so

the whole task folder can be shared and the collected material reused.

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.