cantera
Skill by K-Dense-AI
Runs Cantera homogeneous reactor simulations to compute ignition delay, with conservation checks and numerical refinement. Built for combustion kinetics users working with closed adiabatic ideal-gas ignition cases.
Install cantera
Built from the published package, never by AI.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/scientific-agent-skills/skills/cantera ~/.claude/skills/canteraRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/scientific-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/scientific-agent-skills/skills/cantera ~/.gemini/antigravity-cli/skills/canteraAntigravity 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
The cantera skill runs closed, adiabatic, homogeneous ideal-gas reactor simulations with the Cantera library, version 3.2.0. It covers constant volume and constant pressure ignition, reports an ignition delay defined as the time of maximum temperature rise rate, and records temperature histories. A bundled helper script runs baseline, finer output, tighter solver, and longer horizon cases, then writes a report, CSV histories, and a mechanism snapshot.
Conservation of mass, elements, and energy or enthalpy is checked, and a result is marked numerically resolved only when refinements agree. The source says it is not a flame solver or a general reactor-network builder. It is aimed at combustion kinetics users who need mechanism-specific ignition delay comparisons, with the stated caveat that a successful run does not establish mechanism validity.
Written from the project's SKILL.md and checked against it.
What it can do
- Constant volume and constant pressure ignitionRuns closed adiabatic ideal-gas homogeneous reactors under either constraint.
- Ignition delayReports delay as the time of the maximum dT/dt, or null when it is unresolved.
- Numerical refinementRepeats runs with finer output, tighter solver tolerances, and a longer horizon.
- Conservation checksChecks mass, elemental mass, and energy or enthalpy drift against set tolerances.
- Mechanism provenanceHashes the configuration and mechanism and saves a Cantera YAML snapshot.
- Output filesWrites report.json, four CSV temperature and species histories, and mechanism.yaml.
- Thermodynamic range checkChecks saved output temperatures against mechanism thermodynamic bounds.
What you need
- Python 3.12 to 3.14
- Cantera 3.2.0
- NumPy
- Network access for installation
Try asking
- Compute the ignition delay for an H2/O2/Ar mixture at 1000 K and 101325 Pa.
- Compare the ignition delay for my custom YAML mechanism at constant pressure.
- Check the conservation and refinement results for my ignition delay run.
Good to know
- A successful run shows numerical execution, not mechanism validity.
- It is not a flame solver or a general reactor-network builder.
- It does not validate shock-tube heat loss, real-gas effects, surfaces, or flow devices.
- Delay is null if the maximum is unresolved or beyond the horizon, with no extrapolation.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cantera/SKILL.md, skills/cantera/scripts/ignition_delay.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
assets/hydrogen-ignition.json416 B -
references/interpretation.md3 KB -
scripts/ignition_delay.py10 KB
Alternatives to cantera
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
cantera: common questions
Does cantera need an API key or credentials to run?
The source says simulations run locally without credentials. Network access is needed for installation.
How is ignition delay defined in this skill?
Delay is the time of the global maximum of the temperature gradient on a uniform output grid. It is reported only if the temperature rise meets the minimum threshold.
Can it model flames or shock tubes?
No. The source says it is not a flame solver and does not validate shock-tube heat loss or flow devices.
How do I install cantera?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cantera free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is cantera safe to use?
It scores 94 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 cantera?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
