Add Uint Support
pytorch/pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.
Create and manipulate domains for PINA physics-driven problems.
$ npx skills add PINA-org/PINA --skill define-domains -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install PINA-org/PINA define-domains --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/define-domains .claude/skills/define-domains && rm -rf skills-srcUse ~/.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/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .claude/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domainsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add PINA-org/PINA --skill define-domains -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install PINA-org/PINA define-domains --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.opencode/skills/define-domains .agents/skills/define-domains && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .agents/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PINA-org/PINA --skill define-domains -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install PINA-org/PINA define-domains --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.opencode/skills/define-domains .cursor/skills/define-domains && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .cursor/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/PINA-org/PINA.git --path .opencode/skills/define-domains--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add PINA-org/PINA --skill define-domains -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install PINA-org/PINA define-domains --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.opencode/skills/define-domains .gemini/skills/define-domains && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .gemini/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install PINA-org/PINA define-domainsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add PINA-org/PINA --skill define-domains -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .github/skills && cp -r skills-src/.opencode/skills/define-domains .github/skills/define-domains && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .github/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add PINA-org/PINA --skill define-domains -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install PINA-org/PINA define-domains --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/PINA-org/PINA.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.opencode/skills/define-domains .opencode/skills/define-domains && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "define-domains" agent skill from https://github.com/PINA-org/PINA/tree/master/.opencode/skills/define-domains into .opencode/skills/define-domains/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "define-domains", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
define-domainsCreate and manipulate domains for PINA physics-driven problems.
Define Domains is an agent skill from PINA-org/PINA. Create and manipulate domains for PINA physics-driven problems. Covers domain types (Cartesian, Ellipsoid, Simplex), set operations, partial/update methods, and domain discretisation.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode, codex, claude
It sits in AI & LLM Engineering, covering Deep learning. The repository describes itself as: Physics-Informed Neural networks for Advanced modeling. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 0cd8afb. It shows what the files ask for, not the result of running them.
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.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
opencode, codex, claude
From compatibility in the SKILL.md frontmatter.
Define Domains loads about 1.1k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 268 words of instructions outside code blocks.
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.
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); files beside SKILL.md are not scanned.
The full file from PINA-org/PINA at commit 0cd8afb, republished under its MIT licence (© PINA-org). 268 words, ~1,072 tokens.
.claude/skills/define-domains/SKILL.md (or your agent's skills folder).[!IMPORTANT] Read RULES.md before using this skill — it applies to all skills. This is a sub-skill of create-problem. Load the entry-point skill first.
Use this skill to create spatial, temporal, and parameter domains, and to discretise them for training.
For each domain type, ask:
What are the variable names and their ranges?
If the user does not specify a domain, ask for:
x)0)1)from pina.domain import CartesianDomain, EllipsoidDomain, SimplexDomain| Domain type | Description | Example |
|---|---|---|
CartesianDomain | Hyperrectangle (most common) | CartesianDomain({"x": [0, 1], "y": [0, 1]}) |
EllipsoidDomain | Hyperellipsoid | EllipsoidDomain({"x": [0, 1], "y": [0, 1]}) |
SimplexDomain | Simplex defined by vertices | SimplexDomain(vertices=[...]) |
CartesianDomain supports sampling modes: random, grid, chebyshev,
latin/lh.
from pina.domain import Union, Intersection, Difference, Exclusion
combined = Union(domain_a, domain_b)
overlap = Intersection(domain_a, domain_b)
subtracted = Difference(domain_a, domain_b)
excluded = Exclusion(domain_a, domain_b)partial() — extract boundaryCreates a sub-domain representing the boundary of the parent domain:
spatial_domain = CartesianDomain({"x": [0, 1], "y": [0, 1]})
boundary = spatial_domain.partial() # boundary of the squareupdate() — combine domains (space + time)Creates the Cartesian product of two domains. Essential for space-time problems:
spatial_domain = CartesianDomain({"x": [-1, 1]})
temporal_domain = CartesianDomain({"t": [0, 1]})
interior = spatial_domain.update(temporal_domain)
# Equivalent to CartesianDomain({"x": [-1, 1], "t": [0, 1]})Common patterns:
domains = {
"D": spatial_domain.update(temporal_domain), # space-time interior
"ic": spatial_domain.update(CartesianDomain({"t": 0})), # initial condition
"boundary": spatial_domain.partial().update(temporal_domain), # moving boundary
}After the problem class is fully defined, sample points from each domain:
problem.discretise_domain(n=5000, mode="random", domains=["D"])
problem.discretise_domain(n=500, mode="random", domains=["boundary"])| Mode | Description |
|---|---|
"random" | Uniform random sampling (default) |
"latin"/"lh" | Latin hypercube sampling |
"grid" | Regular grid points |
"chebyshev" | Chebyshev nodes (good for polynomials) |
After all domains are discretised:
problem.move_discretisation_into_conditions()
assert problem.are_all_domains_discretisedspatial_domain, temporal_domain,
parameter_domain, or unknown_parameter_domain as appropriate)domains dict contains a key for every domain referenced in conditionsspatial_domain.update(temporal_domain) used
to build the interior domainspatial_domain.partial() used correctlyproblem.discretise_domain(n=..., mode=..., domains=...) called for
each physics domainproblem.move_discretisation_into_conditions() called before trainingproblem.are_all_domains_discretised is True after discretisation© PINA-org, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .opencode/skills/define-domains of PINA-org/PINA.
Open the folder on GitHubat commit 0cd8afb
Define Domains 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Define Domains this skillPINA-org/PINA | 798 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Add Uint Supportpytorch/pytorch | 104k | 2 repos | ~2.3k | Automated safety check: Pass | Custom licence | |
| Segment Anything Model GuideOrchestra-Research/AI-Research-SKILLs | 13k | 8 repos | ~3.3k | Automated safety check: Pass | MIT | |
| Add Oponnx/onnx | 22k | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs | 13k | 7 repos | ~1.7k | Automated safety check: Pass | MIT | |
| Add Function Bodyonnx/onnx | 22k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 |
pytorch/pytorch
Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.
Orchestra-Research/AI-Research-SKILLs
Guide to using Meta's Segment Anything Model for zero-shot image segmentation with point, box or mask prompts, or automatic mask generation.
onnx/onnx
Add a new ONNX operator or update an existing operator to a new opset version.
Orchestra-Research/AI-Research-SKILLs
Explains OpenAI's CLIP model for zero-shot image classification, image-text similarity, semantic image search and content moderation, with install steps and code patterns.
onnx/onnx
Add a function body definition to an ONNX operator, defining how it decomposes into simpler ops.
PaddlePaddle/Paddle
A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…
PINA-org/PINA
Create, modify, and improve PINA skills. An agent skill from PINA-org/PINA.
PINA-org/PINA
Orchestrates a complete session from problem definition through trained solver.
PINA-org/PINA
Guides users through selecting, configuring, or creating a PyTorch model for a PINA problem.
PINA-org/PINA
Guides users through selecting the right PINA solver for their problem, or creating a custom solver when no built-in fits.
PINA-org/PINA
Guides users through configuring the PINA Trainer for solver training, including batching strategy, data splitting, and Lightning options.
PINA-org/PINA
Audits SKILL.md files in this repo's skills directory for references to functions, classes, or modules (mentioned by name in prose, e.g.
Categories
Create and manipulate domains for PINA physics-driven problems. Define Domains is an agent skill from PINA-org/PINA. Create and manipulate domains for PINA physics-driven problems.
Define Domains fits situations like: tasks that involve Deep learning.
Run `npx skills add PINA-org/PINA --skill define-domains -a claude-code`. Or copy the skill folder (.opencode/skills/define-domains in PINA-org/PINA) into .claude/skills/define-domains in your project. Claude Code loads it when a task matches its description.
Run `npx skills add PINA-org/PINA --skill define-domains -a codex`. Or copy the skill folder (.opencode/skills/define-domains in PINA-org/PINA) into .agents/skills/define-domains in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PINA-org/PINA --skill define-domains -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/define-domains, .gemini/skills/define-domains, .github/skills/define-domains and .opencode/skills/define-domains in your project.
SKILL.md names no scripts, command-line tools or credentials: Define Domains is instructions for the agent only. Our summary lists: Python 3. Compatibility (from SKILL.md): opencode, codex, claude.
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.
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. Review the folder before installing.
Define Domains is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Define Domains: Add Uint Support (pytorch/pytorch, 104k stars), Segment Anything Model Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars), Add Op (onnx/onnx, 22k stars) and CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
PINA-org (a GitHub organization) maintains it in PINA-org/PINA, which has 798 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 6, 2026.
Source: PINA-org/PINA on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.