Guide for building Graph Neural Networks with PyTorch Geometric (PyG).

Custom licenceAuto-check passedAI & LLM Engineering

Install Torch Geometric

skills CLI
$ npx skills add BioTender-max/awesome-bio-agent-skills --skill torch-geometric -a claude-code

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

GitHub CLI
$ gh skill install BioTender-max/awesome-bio-agent-skills torch-geometric --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/BioTender-max/awesome-bio-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kdense/torch-geometric .claude/skills/torch-geometric && 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
torch-geometric
GitHub stars
199
Token cost
~4.3k tokens
SKILL.md length
1,032 words
Files
7 (incl. references)
Skills in repo
23
Repo updated
First seen
Licence
Custom licence

At a glance

Guide for building Graph Neural Networks with PyTorch Geometric (PyG).

  • Works in 4 steps: propagate() orchestrates the message… → message() defines what info flows along… → aggregate() combines messages at each… → …
  • The user asks about graph neural networks
  • SKILL.md covers Core Concepts, Building GNN Models, Task-Specific Patterns and Scaling to Large Graphs, plus 4 more sections
  • Calls uv

What it does

Torch Geometric is an agent skill from BioTender-max/awesome-bio-agent-skills. Guide for building Graph Neural Networks with PyTorch Geometric (PyG). Use this skill whenever the user asks about graph neural networks, GNNs, node classification, link prediction, graph classification, message passing networks, heterogeneous graphs, neighbor sampling, or any task involving torchgeometric / PyG. Also trigger when you see imports from torchgeometric, or the user mentions graph convolutions (GCN, GAT, GraphSAGE, GIN), graph data structures, or working with relational/network data. Even if the user…

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/custom_datasets.md`, `references/explainability.md` and `references/heterogeneous.md`).

It sits in AI & LLM Engineering, covering Deep learning. It works with PyTorch. The repository describes itself as: A curated collection of AI agent skills for biomedical research, covering genomics, proteomics, single-cell analysis, clinical AI, and protein design.

When your agent uses it

  • The user asks about graph neural networks
  • Node classification
  • Link prediction
  • Graph classification

Example prompts

  • “graph learning”
  • “geometric deep learning”
  • “/torch-geometric”

Requirements

  • Python 3

Workflow steps

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

  1. propagate() orchestrates the message passing
  2. message() defines what info flows along each edge (the phi function)
  3. aggregate() combines messages at each node (sum/mean/max)
  4. update() transforms the aggregated result (the gamma function)

What it can do on your machine

Read from SKILL.md and the folder at commit 8cbdd18. 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

    Shell commands in SKILL.md call:

    • uv

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

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    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

Torch Geometric loads about 4.3k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 152 tokens; SKILL.md has 1,032 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,032 words (~4,258 tokens).

“PyG is the standard library for Graph Neural Networks built on PyTorch. It provides data structures for graphs, 60+ GNN layer implementations, scalable mini-batch training, and support for heterogeneous graphs.”

— opening of SKILL.md by BioTender-max, Custom licence
name
torch-geometric

Read the full SKILL.md on GitHub

Files

SKILL.md and 6 other files (references) in skills/kdense/torch-geometric of BioTender-max/awesome-bio-agent-skills.

  • SKILL.md
  • references/custom_datasets.md
  • references/explainability.md
  • references/heterogeneous.md
  • references/link_prediction.md
  • references/message_passing.md
  • references/scaling.md

Open the folder on GitHubat commit 8cbdd18

Compare with similar skills

Torch Geometric 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.

Torch Geometric compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Torch Geometric this skillBioTender-max/awesome-bio-agent-skills199—~4.3kAutomated safety check: PassCustom licence
Add Uint Supportpytorch/pytorch104k2 repos~2.3kAutomated safety check: PassCustom licence
CLIP Image-Text MatchingOrchestra-Research/AI-Research-SKILLs13k7 repos~1.7kAutomated safety check: PassMIT
Add Torch Shapes Examplefacebook/pyrefly7.1k—~1.3kAutomated safety check: PassMIT
MUSA GPU Training Optimizeropen-infra-skills/infra-skills141—~1.7kAutomated safety check: PassApache-2.0
Ghstack CIpytorch/pytorch104k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Add Uint Support

    pytorch/pytorch

    Add unsigned integer (uint) type support to PyTorch operators by updating ATDISPATCH macros.

    104k GitHub starsUsed in 2 repos~2.3k tokens
    AI & LLM EngineeringAuto-check passed
  • CLIP Image-Text Matching

    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.

    13k GitHub starsUsed in 7 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Add Torch Shapes Example

    facebook/pyrefly

    Official

    A skill your agent uses when adding a new PyTorch model to Pyrefly's shape-tracking example corpus under tensor-shapes/pyrefly-torch-stubs/examples — i.e.

    7.1k GitHub stars~1.3k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • MUSA GPU Training Optimizer

    open-infra-skills/infra-skills

    Profiles, benchmarks and tunes AI training workloads on Moore Threads MUSA GPUs with a measurement-first process that keeps model behavior unchanged.

    141 GitHub stars~1.7k tokensUpdated 3 mo ago
    AI & LLM EngineeringAuto-check passed
  • Ghstack CI

    pytorch/pytorch

    Manage CI for PyTorch ghstack stacks by running CI where its results are useful now and deferring other PRs with [no-ci].

    104k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Depth Estimation

    SharpAI/DeepCamera

    Real-time depth map privacy transforms using Depth Anything v2 (CoreML + PyTorch)

    3.1k GitHub stars~945 tokensUpdated 22 days ago
    AI & LLM EngineeringAuto-check passed

More from BioTender-max/awesome-bio-agent-skills

All 23 skills in this repo
  • AI Scientist Evaluator

    BioTender-max/awesome-bio-agent-skills

    Critically review, score, compare, and rank one or more AI scientist outputs for biology, bioinformatics, computational life science, or adjacent research tasks.

    199 GitHub stars~2.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Exa Search

    BioTender-max/awesome-bio-agent-skills

    Web toolkit powered by Exa, tuned for scientific and technical content.

    199 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check: notes
  • Jgi Lakehouse

    BioTender-max/awesome-bio-agent-skills

    Queries JGI Lakehouse (Dremio) for genomics metadata from GOLD, IMG, Mycocosm, Phytozome.

    199 GitHub stars~3.7k tokensUpdated 3 mo ago
    Auto-check passed
  • Pacsomatic

    BioTender-max/awesome-bio-agent-skills

    Operator toolkit for nf-core/pacsomatic matched tumor-normal workflows from BAM inputs.

    199 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Scientific Impact Assessment

    BioTender-max/awesome-bio-agent-skills

    Assess paper and journal impact using OpenAlex citation counts, optional Altmetric data, and curated journal impact-factor references.

    199 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Arxiv Search

    BioTender-max/awesome-bio-agent-skills

    Search arXiv preprints through the official arXiv API and turn arXiv IDs into local Markdown summaries.

    199 GitHub stars~2.9k tokensUpdated 3 mo ago
    Auto-check passed

Works with

Questions about Torch Geometric

What does Torch Geometric do?

Guide for building Graph Neural Networks with PyTorch Geometric (PyG). Torch Geometric is an agent skill from BioTender-max/awesome-bio-agent-skills. Guide for building Graph Neural Networks with PyTorch Geometric (PyG).

When should I use Torch Geometric?

Torch Geometric fits situations like: the user asks about graph neural networks; Node classification; link prediction; graph classification.

How do I install Torch Geometric in Claude Code?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill torch-geometric -a claude-code`. Or copy the skill folder (skills/kdense/torch-geometric in BioTender-max/awesome-bio-agent-skills) into .claude/skills/torch-geometric in your project. Claude Code loads it when a task matches its description.

How do I install Torch Geometric in Codex?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill torch-geometric -a codex`. Or copy the skill folder (skills/kdense/torch-geometric in BioTender-max/awesome-bio-agent-skills) into .agents/skills/torch-geometric in your project. Codex loads it when a task matches its description.

Can I use Torch Geometric 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 BioTender-max/awesome-bio-agent-skills --skill torch-geometric -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/torch-geometric, .gemini/skills/torch-geometric, .github/skills/torch-geometric and .opencode/skills/torch-geometric in your project.

What does Torch Geometric need to run?

Going by SKILL.md and its folder, Torch Geometric needs the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does Torch Geometric access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Torch Geometric 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. Review the folder before installing.

What licence does Torch Geometric use?

Torch Geometric has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Torch Geometric use?

About 4.3k tokens (SKILL.md is roughly 17k 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 11k tokens, read only when the agent opens those files.

What are the alternatives to Torch Geometric?

Skills that share tags, products or a category with Torch Geometric: Add Uint Support (pytorch/pytorch, 104k stars), CLIP Image-Text Matching (Orchestra-Research/AI-Research-SKILLs, 13k stars), Add Torch Shapes Example (facebook/pyrefly, 7.1k stars) and MUSA GPU Training Optimizer (open-infra-skills/infra-skills, 141 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Torch Geometric?

BioTender-max (a GitHub user) maintains it in BioTender-max/awesome-bio-agent-skills, which has 199 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 1, 2026.

Source: BioTender-max/awesome-bio-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.