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.
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-skillRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NVIDIA/GenerativeAIExamples /tmp/GenerativeAIExamples && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/GenerativeAIExamples/industries/energy/simulation-workflow-agent/sim_agent/src/simulator_agent/skills/input_file_skill ~/.gemini/antigravity-cli/skills/input-file-skillAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
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.
