Agent skill

Cylinder O Grid

by Cai-aa in Cai-aa/CAE-Agent-Hub

Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models.

MITAuto-check passed

Install Cylinder O Grid

skills CLI
$ npx skills add Cai-aa/CAE-Agent-Hub --skill cylinder-o-grid -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Cai-aa/CAE-Agent-Hub cylinder-o-grid --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Cai-aa/CAE-Agent-Hub.git skills-src && mkdir -p .claude/skills && cp -r skills-src/Skill/General/cylinder-o-grid .claude/skills/cylinder-o-grid && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cylinder-o-grid
GitHub stars
1k
Token cost
~1.6k tokens
SKILL.md length
709 words
Files
10 (incl. scripts, references, assets)
Skills in repo
57
Repo updated
First seen
Licence
MIT

At a glance

Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models.

  • Works in 8 steps: Inspect the current model and preserve a… → Produce an O-grid plan and preview with… → Select the applicable software route and… → …
  • Software-independent O-grid planning
  • SKILL.md covers Establish the task, Enforce the topology, Route to the target software and Execute the workflow, plus 2 more sections
  • Runs Python scripts from its folder; calls python

What it does

Cylinder O Grid is an agent skill from Cai-aa/CAE-Agent-Hub. Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models. Use for software-independent O-grid planning or implementation in a selected preprocessor, including requests mentioning 钱币原理、圆柱网格、中心正方形、顶点切到圆周、结构化六面体网格, mapped square-to-circle partitions, or HEX8 meshes. Includes a generic planner and an Abaqus/CAE execution adapter; do not claim automated support in another CAE application without a matching adapter or proved live native-tool path.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files, including scripts, reference files and assets (for example `agents/openai.yaml`, `references/abaqus.md` and `references/quality-gates.md`).

The licence is MIT.

When your agent uses it

  • Software-independent O-grid planning
  • Implementation in a selected preprocessor
  • Including requests mentioning 钱币原理、圆柱网格、中心正方形、顶点切到圆周、结构化六面体网格
  • Mapped square-to-circle partitions

Example prompts

  • “/cylinder-o-grid”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the current model and preserve a checkpoint before mutation.
  2. Produce an O-grid plan and preview with scripts/plan_ogrid.py.
  3. Select the applicable software route and confirm that its required operations are available.
  4. Partition the cross-section into five logical blocks and propagate them continuously through the cylinder length.
  5. Apply mapped quadrilateral controls on the cross-section and structured or swept hexahedral controls through the axis.
  6. Seed by topological role, not by fragile edge indices.
  7. Generate the mesh and run every gate in references/quality-gates.md, plus target-specific diagnostics.
  8. Save the native model, preview, mesh statistics, quality results, warnings, and any solver audit together.

What it can do on your machine

Read from SKILL.md and the folder at commit 194ef49. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cylinder O Grid loads about 1.6k tokens when it runs, and up to ~3.4k if it reads all its reference files. Until then it costs about 129 tokens; SKILL.md has 709 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~129
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Cai-aa/CAE-Agent-Hub at commit 194ef49, republished under its MIT licence (© Cai-aa). 709 words, ~1,566 tokens.

Download SKILL.mdSave it as .claude/skills/cylinder-o-grid/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
name
cylinder-o-grid
description
Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models. Use for software-independent O-grid planning or implementation in a selected preprocessor, including requests mentioning 钱币原理、圆柱网格、中心正方形、顶点切到圆周、结构化六面体网格, mapped square-to-circle partitions, or HEX8 meshes. Includes a generic planner and an Abaqus/CAE execution adapter; do not claim automated support in another CAE application without a matching adapter or proved live native-tool path.

Cylinder O-Grid

Create a reviewable coin-style O-grid and accept it only after topology, mesh, and analysis checks pass in the selected CAE workflow.

Establish the task

Collect or infer only low-risk inputs:

  • Identify the target preprocessor, solver, analysis type, and whether the task is plan-only or a live implementation.
  • Distinguish a new cylinder from an existing production part.
  • Record radius R, length L, cylinder axis, units, and any interfaces or local refinement zones.
  • Record the requested brick family and the exact solver-specific formulation when known.
  • Record either target element size or counts for one square side/90-degree arc, radial layers, and axial layers.
  • Ask before changing geometry, deleting an existing mesh, replacing a model, or relaxing a quality gate.

If live access to the target CAE application is unavailable, generate a plan and preview, label them as unexecuted in that application, and do not claim that the mesh was created or validated there.

Enforce the topology

Use a circular cross-section with one centered, axis-aligned square. Connect each square vertex to the circle along the same 45-degree radial direction. Preserve these invariants:

  • Keep 0 < a < R/sqrt(2), where a is the square half-width.
  • Create five sweepable cross-section regions: one center block and four outer sectors.
  • Use the same count n_side on every square side and corresponding 90-degree outer arc.
  • Use the same n_radial on all four vertex-to-circle connector edges.
  • Use the same n_axial on all edges parallel to the cylinder axis.
  • Keep partitions continuous through the full cylinder length and share nodes at every internal boundary.
  • Reject free tetrahedral fallback unless the user explicitly changes the objective.

Read references/topology.md before selecting the square size or element counts.

Route to the target software

  • For every target, first produce and review the software-independent plan with scripts/plan_ogrid.py.
  • For Abaqus/CAE, read references/abaqus.md. Use scripts/abaqus_build_ogrid.py only for a clean, straight cylinder aligned with global Z; adapt the workflow for existing or differently oriented parts.
  • For another CAE preprocessor, translate the five logical blocks, edge roles, mapped quadrilateral controls, axial sweep, and quality gates into its native operations. Use only available registered tools or documented native APIs. No non-Abaqus automated builder is bundled, so deliver plan-only evidence if live construction and readback cannot be proved.

Do not infer solver element codes from the generic HEX8 label. Report both the generic brick family and the exact target formulation actually assigned.

Show full SKILL.md (319 more words)Show less

Execute the workflow

  1. Inspect the current model and preserve a checkpoint before mutation.
  2. Produce an O-grid plan and preview with scripts/plan_ogrid.py.
  3. Select the applicable software route and confirm that its required operations are available.
  4. Partition the cross-section into five logical blocks and propagate them continuously through the cylinder length.
  5. Apply mapped quadrilateral controls on the cross-section and structured or swept hexahedral controls through the axis.
  6. Seed by topological role, not by fragile edge indices.
  7. Generate the mesh and run every gate in references/quality-gates.md, plus target-specific diagnostics.
  8. Save the native model, preview, mesh statistics, quality results, warnings, and any solver audit together.

For live automation, prove the real application session with harmless inspection calls before mutation, save a checkpoint, and preserve raw tool output. A bridge response, generated file, or process return code alone is not mesh-quality or solver-validity evidence.

Use the bundled scripts

Create the software-independent plan:

powershell
python scripts/plan_ogrid.py --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24 --output-dir ogrid-plan

Dry-run the Abaqus adapter without importing Abaqus modules:

powershell
python scripts/abaqus_build_ogrid.py --dry-run --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24

Run the adapter inside Abaqus/CAE after reviewing the plan:

powershell
abaqus cae noGUI=scripts/abaqus_build_ogrid.py -- --radius 10 --length 30 --square-ratio 0.40 --circumferential 48 --radial 6 --axial 24 --cae-out cylinder_ogrid.cae

Treat the Abaqus builder as a starting point for a clean cylinder. Do not run it against a production model without adapting names, orientation, interfaces, and save path.

Report acceptance evidence

Return:

  • Target application, solver, and execution mode: generic plan, live native workflow, or bundled adapter.
  • Geometry parameters and a/R.
  • n_side, total circumferential count, n_radial, and n_axial.
  • Expected and actual node/element counts.
  • Generic brick family, exact assigned formulation, and verified HEX percentage.
  • Mesh-control technique and axial layering direction.
  • Failed mesh diagnostics, worst aspect-ratio result, negative/zero-volume count, and unmeshed regions.
  • A cross-section image with element edges and an axial/swept view.
  • Any unverified item, unavailable target-specific check, or relaxed threshold.

Never state “high quality” without attached measurements and a visual check of the four square-corner transition zones.

Use assets/coin-ogrid-topology.svg as the software-independent topology reference. Use assets/abaqus-live-smoke.png only as an Abaqus appearance example. Never infer quality metrics from images alone.

© Cai-aa, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (scripts, references, assets) in Skill/General/cylinder-o-grid of Cai-aa/CAE-Agent-Hub.

  • SKILL.md
  • agents/openai.yaml
  • assets/abaqus-live-smoke.png
  • assets/coin-ogrid-topology.png
  • assets/coin-ogrid-topology.svg
  • references/abaqus.md
  • references/quality-gates.md
  • references/topology.md
  • scripts/abaqus_build_ogrid.py
  • scripts/plan_ogrid.py

Open the folder on GitHubat commit 194ef49

Compare with similar skills

Cylinder O Grid next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cylinder O Grid compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cylinder O Grid this skillCai-aa/CAE-Agent-Hub1k—~1.6kAutomated safety check: PassMIT
Agent Adaptive Coordinatorruvnet/ruflo74k2 repos~4kAutomated safety check: PassMIT
CSS Gridthedaviddias/Front-End-Checklist74k—~493Automated safety check: PassMIT
Video Template Frame Swiss Gridnexu-io/open-design100k—~310Automated safety check: PassApache-2.0
Composing Grid CanvasesPostHog/posthog40k—~2.1kAutomated safety check: PassCustom licence
Create Agent Adapterpaperclipai/paperclip100k—~8kAutomated safety check: PassMIT

Similar skills

  • Agent skill for adaptive-coordinator - invoke with $agent-adaptive-coordinator

    74k GitHub starsUsed in 2 repos~4k tokens
    Data & AnalyticsAuto-check passed
  • CSS Grid

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing stylesheets, component styles, and responsive behavior related to Use CSS Grid for two-dimensional layouts.

    74k GitHub stars~493 tokensUpdated 4 days ago
    Frontend & DesignAuto-check passed
  • Use this plugin when the user wants a "Swiss Grid" HyperFrames motion video — Structured grid layout

    100k GitHub stars~310 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Official

    Compose PostHog grid canvases — widget grids (including the user's home canvas) built from reusable component canvases.

    40k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Create Agent Adapter

    paperclipai/paperclip

    Create or modify Paperclip agent adapters across server, UI, and CLI surfaces.

    100k GitHub stars~8k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Audit Adaptivity

    ben-manes/caffeine

    Audit the adaptive window hill-climber and region-resize logic for implementation defects (not algorithm quality)

    18k GitHub stars~3.2k tokensUpdated today
    Auto-check passed

More from Cai-aa/CAE-Agent-Hub

All 57 skills in this repo
  • Ansys Structural Workbench

    Cai-aa/CAE-Agent-Hub

    Operate or inspect live ANSYS Workbench Mechanical structural simulations through the configured MCP, including model setup, materials, connections, loads, mesh, solve, convergence, validation, and…

    1k GitHub stars~2.2k tokensUpdated 10 days ago
    Auto-check passed
  • Comsol Motor Nvh Evidence

    Cai-aa/CAE-Agent-Hub

    Evidence-first COMSOL Java API and batch workflow for permanent-magnet motor NVH.

    1k GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed
  • Aedt Evidence Electromagnetics

    Cai-aa/CAE-Agent-Hub

    Evidence-first Ansys Electronics Desktop and PyAEDT automation for Maxwell, HFSS, Q3D, Icepak, and related electromagnetic workflows.

    1k GitHub stars~591 tokensUpdated 10 days ago
    Auto-check passed
  • Evidence-first Ansys Mechanical structural automation through Workbench RunWB2 journals, Mechanical Scripting/ACT ExtAPI, or PyMechanical gRPC.

    1k GitHub stars~554 tokensUpdated 10 days ago
    Auto-check passed
  • Run Fluent Autoclave

    Cai-aa/CAE-Agent-Hub

    Run, diagnose, reproduce, and validate ANSYS Fluent CFD simulations of forced-convection autoclaves using Fluent MCP or PyFluent.

    1k GitHub stars~984 tokensUpdated 10 days ago
    Auto-check passed
  • Abaqus Load

    Cai-aa/CAE-Agent-Hub

    Apply forces and pressures to structures. An agent skill from Cai-aa/CAE-Agent-Hub.

    1k GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check passed

Questions about Cylinder O Grid

What does Cylinder O Grid do?

Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models. Cylinder O Grid is an agent skill from Cai-aa/CAE-Agent-Hub. Plan, create, adapt, and quality-audit coin-style five-block O-grid hexahedral meshes for cylindrical CAE models.

When should I use Cylinder O Grid?

Cylinder O Grid fits situations like: software-independent O-grid planning; implementation in a selected preprocessor; including requests mentioning 钱币原理、圆柱网格、中心正方形、顶点切到圆周、结构化六面体网格; mapped square-to-circle partitions.

How do I install Cylinder O Grid in Claude Code?

Run `npx skills add Cai-aa/CAE-Agent-Hub --skill cylinder-o-grid -a claude-code`. Or copy the skill folder (Skill/General/cylinder-o-grid in Cai-aa/CAE-Agent-Hub) into .claude/skills/cylinder-o-grid in your project. Claude Code loads it when a task matches its description.

How do I install Cylinder O Grid in Codex?

Run `npx skills add Cai-aa/CAE-Agent-Hub --skill cylinder-o-grid -a codex`. Or copy the skill folder (Skill/General/cylinder-o-grid in Cai-aa/CAE-Agent-Hub) into .agents/skills/cylinder-o-grid in your project. Codex loads it when a task matches its description.

Can I use Cylinder O Grid in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Cai-aa/CAE-Agent-Hub --skill cylinder-o-grid -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cylinder-o-grid, .gemini/skills/cylinder-o-grid, .github/skills/cylinder-o-grid and .opencode/skills/cylinder-o-grid in your project.

What does Cylinder O Grid need to run?

Going by SKILL.md and its folder, Cylinder O Grid needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Cylinder O Grid access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cylinder O Grid safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cylinder O Grid use?

Cylinder O Grid is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cylinder O Grid use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Cylinder O Grid?

Skills that share tags, products or a category with Cylinder O Grid: Agent Adaptive Coordinator (ruvnet/ruflo, 74k stars), CSS Grid (thedaviddias/Front-End-Checklist, 74k stars), Video Template Frame Swiss Grid (nexu-io/open-design, 100k stars) and Composing Grid Canvases (PostHog/posthog, 40k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cylinder O Grid?

Cai-aa (a GitHub user) maintains it in Cai-aa/CAE-Agent-Hub, which has 1,015 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on September 30, 2026.

Source: Cai-aa/CAE-Agent-Hub on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.