Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

input_file_skill

Skill by NVIDIA

input_file_skill parses, modifies, and patches reservoir simulator input files in the .DATA format. It is for engineers and agents working on simulation test scenarios and configurations.

  • Score 86
  • 4.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install input_file_skill

Built from the published package, never by AI.

git clone --depth 1 https://github.com/NVIDIA/GenerativeAIExamples /tmp/GenerativeAIExamples && mkdir -p ~/.claude/skills && cp -r /tmp/GenerativeAIExamples/industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill ~/.claude/skills/input-file-skill

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install input_file_skill in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

input_file_skill is an agent skill for reservoir simulator input files. It gives an assistant tools to parse a .DATA file and list the sections it contains, to modify the file from natural language instructions, and to patch one keyword block without rewriting the rest of the file. The reference format is .DATA. The skill notes that other simulators use different extensions, such as .afi or .DAT.

The tools are built as LangChain tools with Pydantic input schemas. Shared utilities handle parsing and keyword finding, and natural language modifications use ChatOpenAI. When a target keyword is set, only that keyword block is edited and the rest of the file is copied unchanged. The skill is intended for people working on reservoir simulation input files, testing scenarios, or validating simulation configurations.

Written from the project's SKILL.md and checked against it.

What it can do

  • parse_simulation_input_fileParses a .DATA input file and returns the sections it contains.
  • modify_simulation_input_fileModifies an input file from natural language, optionally limited to one keyword block.
  • patch_simulation_input_keywordReplaces a specific item or whole block of one keyword without changing other parts.

What you need

  • Python environment
  • langchain, pydantic, and langchain-nvidia-ai-endpoints packages
  • Simulator tools

Try asking

  • Parse the sections of SPE1CASE1.DATA and list them.
  • Increase the water injection rate for well I1 in WCONINJE to 55.
  • Patch WELLDIMS item 1 to 10 in SPE1CASE1.DATA and save as a new file.

Good to know

  • The reference format is .DATA; other simulator formats are not covered by this implementation.
  • Modifications without an output path overwrite the original file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/SKILL.md, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/__init__.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/scripts/__init__.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/scripts/modify_tool.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/scripts/parse_tool.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/scripts/patch_tool.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/test.py, industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill/utils.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • __init__.py2 KB
  • assets/README.md291 B
  • references/EXAMPLES.md2 KB
  • references/OPM_MANUAL.md1 KB
Show all 12 files
  • references/TOOL_DECISION_TREE.md1 KB
  • scripts/__init__.py1 KB
  • scripts/modify_tool.py10 KB
  • scripts/parse_tool.py2 KB
  • scripts/patch_tool.py5 KB
  • test.py8 KB
  • utils.py6 KB

Alternatives to input_file_skill

All alternatives →

Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database

input_file_skill: common questions

Which simulator input format does input_file_skill support?

The source says this implementation supports the reference .DATA format. Other simulators use different extensions, such as .afi or .DAT.

Can it change only one keyword block in a simulator file?

Yes. The modify tool accepts a target keyword, and the patch tool replaces a single keyword block while other parts of the file stay unchanged.

Does the patch tool change the original file?

No. The patch tool writes to the output path you give, and the original file is unchanged.

How do I install input_file_skill?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is input_file_skill free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is input_file_skill safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to input_file_skill?

Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.

input_file_skill Install

Add to stack

Loading.