Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问clear审计通过

equivariant-architecture-designer等变架构设计师

Agent Skill

equivariant-architecture-designer 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,077

周安装

44

GitHub Stars

85

下载量

348
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:equivariant-architecture-designer(等变架构设计师)
来源仓库:https://github.com/lyndonkl/claude
仓库路径:skills/equivariant-architecture-designer
安装命令:
npx skills add https://github.com/lyndonkl/claude --skill equivariant-architecture-designer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/lyndonkl/claude --skill equivariant-architecture-designer

简介

equivariant-architecture-designer 用于等变神经网络架构设计与实现指导。

  • 适合处理群论约束下的模型结构设计、拓扑选择与库适配等工程问题。
  • 提供分步清单跟踪设计进度,涵盖规范审查、组件选型到规格文档生成全流程。
  • 通过命令行交互引导用户完成从需求分析到技术实现的完整流程。
  • 需确保输入中包含明确的群类型、数据域与所需变换性质等关键参数。

SKILL.md

Equivariant Architecture Designer

Workflow

Copy this checklist and track your progress:

Architecture Design Progress:
- [ ] Step 1: Review group specification and requirements
- [ ] Step 2: Select architecture family
- [ ] Step 3: Choose specific layers and components
- [ ] Step 4: Design network topology
- [ ] Step 5: Select implementation library
- [ ] Step 6: Create architecture specification

Step 1: Review group specification and requirements

Gather the validated group specification. Confirm: which group(s) are involved, whether invariance or equivariance is needed, the data domain (images, point clouds, graphs, etc.), task type (classification, regression, generation), and any computational constraints. If group isn't specified, work with user to identify it first.

Step 2: Select architecture family

Match the symmetry group to an architecture family using Architecture Selection Guide. Key families: G-CNNs for discrete groups on grids, Steerable CNNs for continuous 2D groups, e3nn/NequIP for E(3) on point data, GNNs for permutation on graphs, DeepSets for permutation on sets. Consider trade-offs between expressiveness and efficiency.

Step 3: Choose specific layers and components

Select layer types based on Layer Patterns. For each layer decide: convolution type (regular, group, steerable), nonlinearity (must preserve equivariance - use gated, norm-based, or tensor product), normalization (batch norm breaks equivariance - use layer norm or equivariant batch norm), pooling (for invariant outputs: use invariant pooling; for equivariant: preserve structure). For detailed design methodology, see Methodology Details.

Step 4: Design network topology

Design the overall network structure: encoder architecture (how features are extracted), feature representations at each stage (irreps for Lie groups), pooling/aggregation strategy, output head matching task requirements. Use Topology Patterns for common designs. Balance depth vs. width for your group size.

Step 5: Select implementation library

Choose library based on Library Reference. Match to your group, framework preference (PyTorch/JAX), and performance needs. Popular choices: e3nn (E(3)/O(3), PyTorch), escnn (discrete groups, PyTorch), pytorch_geometric (permutation, PyTorch). Ensure library supports your specific group.

Step 6: Create architecture specification

Document the design using Output Template. Include: layer-by-layer specification, representation types, library dependencies, expected parameter count, and pseudo-code or actual code skeleton. This specification guides implementation and subsequent equivariance verification. For ready-to-use implementation templates, see Code Templates. Quality criteria for this output are defined in Quality Rubric.

Architecture Selection Guide

By Symmetry Group

GroupDomainRecommended ArchitectureLibrary
Cₙ, Dₙ2D ImagesG-CNN, Group Equivariant CNNescnn, e2cnn
SO(2), O(2)2D ImagesSteerable CNN, Harmonic Networksescnn
SO(3)SphericalSpherical CNNe3nn, s2cnn
SE(3), E(3)Point cloudsEquivariant GNN, Tensor Field Networkse3nn, NequIP
SₙSetsDeepSetspytorch, jax
SₙGraphsMessage Passing GNNpytorch_geometric
E(3) × SₙMoleculesE(3) Equivariant GNNe3nn, SchNet

By Task Type

TaskOutput TypeKey Consideration
ClassificationInvariant scalarUse invariant pooling
Regression (scalar)Invariant scalarSame as classification
SegmentationEquivariant per-pointPreserve equivariance to output
Force predictionEquivariant vectorOutput as l=1 irrep
Pose estimationEquivariant transformOutput rotation + translation
GenerationEquivariant structureEquivariant decoder

Layer Patterns

Equivariant Convolution Patterns

Standard G-Convolution:

(f ⋆ ψ)(g) = ∫_G f(h) ψ(g⁻¹h) dh
  • Input: Feature map on group G
  • Kernel: Function on G
  • Output: Feature map on G

Steerable Convolution:

  • Uses steerable kernels that transform predictably
  • Parameterized by irreducible representations
  • More efficient for continuous groups

e3nn Tensor Product Layer:

# Combine features with different angular momenta
tp = o3.FullyConnectedTensorProduct(
    irreps_in1, irreps_in2, irreps_out
)
output = tp(input1, input2)

Equivariant Nonlinearities

Problem: Standard nonlinearities (ReLU, etc.) break equivariance.

Solutions:

TypeHow It WorksWhen to Use
Norm-basedApply nonlinearity to
GatedUse invariant to gate equivariantGeneral purpose
Tensor productNonlinearity via Clebsch-Gordane3nn, high-quality
Invariant featuresOnly apply to l=0 componentsSimple, fast

Equivariant Normalization

Batch Norm: Breaks equivariance (different stats per orientation) Solutions:

  • Layer Norm (normalize per sample)
  • Equivariant Batch Norm (normalize per irrep channel)
  • Instance Norm (often OK)

Pooling for Invariance

To get invariant output from equivariant features:

MethodFormulaWhen to Use
Mean poolingmean over groupContinuous groups
Sum poolingsum over elementsSets, graphs
Max poolingmax
Attention poolingweighted sumWhen importance varies

Topology Patterns

Encoder-Decoder (Segmentation, Generation)

Input → [Equiv. Encoder] → Latent (equiv.) → [Equiv. Decoder] → Output
  • Encoder: Progressive feature extraction
  • Latent: Equivariant representation
  • Decoder: Reconstruct with symmetry

Encoder-Pooling (Classification)

Input → [Equiv. Encoder] → Features (equiv.) → [Invariant Pool] → [MLP] → Class
  • Pool at the end to get invariant features
  • Final MLP operates on invariant representation

Message Passing (Graphs/Point Clouds)

Nodes → [MP Layer 1] → [MP Layer 2] → ... → [Aggregation] → Output
  • Each layer: aggregate neighbors, update node
  • Aggregation: sum/mean for invariance, per-node for equivariance

Library Reference

e3nn (PyTorch)

Groups: E(3), O(3), SO(3) Strengths: Full irrep support, tensor products, spherical harmonics Use for: Molecular modeling, 3D point clouds, physics

from e3nn import o3
irreps = o3.Irreps("2x0e + 2x1o + 1x2e")  # 2 scalars, 2 vectors, 1 tensor

escnn (PyTorch)

Groups: Discrete groups (Cₙ, Dₙ), continuous 2D (SO(2), O(2)) Strengths: Image processing, well-documented Use for: 2D images with rotation/reflection symmetry

from escnn import gspaces, nn
gspace = gspaces.rot2dOnR2(N=4)  # C4 rotation group

pytorch_geometric (PyTorch)

Groups: Permutation (Sₙ) Strengths: Graphs, batching, many GNN layers Use for: Graph classification/regression, node prediction

from torch_geometric.nn import GCNConv, global_mean_pool

Other Libraries

LibraryGroupsFrameworkNotes
NequIPE(3)PyTorchMolecular dynamics
MACEE(3)PyTorchMolecular potentials
jraphSₙJAXGraph networks
geomstatsLie groupsNumPy/PyTorchManifold learning

Output Template

ARCHITECTURE SPECIFICATION
==========================

Target Symmetry: [Group name and notation]
Symmetry Type: [Invariant/Equivariant]
Task: [Classification/Regression/etc.]
Domain: [Images/Point clouds/Graphs/etc.]

Architecture Family: [e.g., E(3) Equivariant GNN]
Library: [e.g., e3nn]

Layer Specification:
1. Input Layer
   - Input type: [e.g., 3D coordinates + features]
   - Representation: [e.g., positions (l=1) + scalars (l=0)]

2. [Layer Name]
   - Type: [Convolution/Tensor Product/Message Passing]
   - Input irreps: [specification]
   - Output irreps: [specification]
   - Nonlinearity: [Gated/Norm/None]

3. [Continue for each layer...]

N. Output Layer
   - Aggregation: [Mean/Sum/Attention]
   - Output: [Invariant scalar / Equivariant vector / etc.]

Estimated Parameters: [count]
Key Dependencies: [library versions]

Code Skeleton:
[Provide implementation outline or pseudo-code]

NEXT STEPS:
- Implement the architecture using the specified library
- Verify equivariance through numerical testing after implementation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

27.04%
按下载量换算94

Gemini CLI

22.68%
按下载量换算79

Antigravity

16.77%
按下载量换算58

windsurf

14.82%
按下载量换算52

OpenCode

8.63%
按下载量换算30

github-copilot

3.36%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills