NeuroScript Standard Library Catalog

VerifiedSafe

Catalogs all primitive and composite NeuroScript neurons with signatures, shapes, parameters, and categories. Use it to look up available neurons, check signatures, or decide which neuron to use. Includes a decision tree and references to composite library files.

Sby Skills Guide Bot
Data & AIBeginner
6/2/2026
Claude CodeCursor
#neuroscript#neural-network-primitives#standard-library#machine-learning

Recommended for

Automated summary

Provides a catalog of NeuroScript's standard library primitives and composite neurons, listing signatures, shapes, and categories for quick lookup.

Strengths

  • Comprehensive listing of all available neurons.
  • Includes decision tree for selecting the right neuron.
  • Live commands to fetch current primitives.
  • Organized by category with usage tips.

Limitations

  • Does not include detailed implementation or training code.
  • Live commands depend on compiled binary at ./target/release/neuroscript.
  • Limited to NeuroScript language.
When to use it

Use when you need to quickly find the correct neuron name and signature for a neural network component in NeuroScript.

When not to use it

Do not use for general Python deep learning frameworks like PyTorch, nor for debugging or training procedures.

Security analysis

Safe
Quality score88/100

The skill runs read-only shell commands (grep, sed, neuroscript list) to catalog library contents. No destructive or exfiltrating actions.

No concerns found

How this analysis is made

Examples

Find Linear neuron signature
What is the signature of the Linear neuron in NeuroScript's standard library?
Decide on normalization
I need a normalization layer for a transformer model. Which neuron should I use according to the NeuroScript standard library?
List all primitives
List all available primitive neurons in the NeuroScript standard library.

name: ns-stdlib description: NeuroScript standard library catalog. Lists all primitive and composite neurons with signatures, shapes, parameters, and categories. Use when looking up available neurons, checking signatures, or finding which neuron to use. allowed-tools: Read, Grep, Glob, Bash

NeuroScript Standard Library Catalog

Available Primitives (live)

!grep -A1 'self\.register(' src/stdlib_registry.rs | grep '"' | sed 's/.*"\([^"]*\)".*/\1/' | sort

Composite Library Neurons (live)

!for f in stdlib/FFN.ns stdlib/Residual.ns stdlib/MultiHeadAttention.ns stdlib/TransformerBlock.ns stdlib/TransformerStack.ns stdlib/MetaNeurons.ns; do [ -f "$f" ] && echo "=== $f ===" && ./target/release/neuroscript list "$f" 2>/dev/null; done

Category Index

| Category | Primitives | Use For | |----------|-----------|---------| | Core | Linear, Bias, Scale, MatMul, Einsum | Dense layers, linear transforms | | Activations | GELU, ReLU, Tanh, Sigmoid, SiLU, Softmax, Mish, PReLU, ELU | Non-linearities | | Normalization | LayerNorm, RMSNorm, GroupNorm, BatchNorm, InstanceNorm | Stabilizing training | | Regularization | Dropout, DropPath, DropConnect | Preventing overfitting | | Convolution | Conv1d, Conv2d, Conv3d, DepthwiseConv, SeparableConv, TransposedConv | Spatial feature extraction | | Pooling | MaxPool, AvgPool, AdaptiveAvgPool, GlobalAvgPool, AdaptiveMaxPool, GlobalMaxPool | Spatial reduction | | Embeddings | Embedding, PositionalEncoding, LearnedPositionalEmbedding, RotaryEmbedding | Token/position encoding | | Structural | Identity, Fork, Fork3, ForkN, Add, Multiply, Concat, Reshape, Transpose, Flatten, Split, Slice, Pad | Routing and reshaping (implicit fork preferred for splitting) | | Attention | ScaledDotProductAttention, MultiHeadSelfAttention | Attention mechanisms | | Debug | Log | Debugging tensor flow |

Decision Tree: Which Neuron?

Need to transform features? → Linear(in_dim, out_dim) Need non-linearity? → GELU() (default), ReLU() (legacy), SiLU() (modern) Need normalization? → LayerNorm(dim) (transformer), RMSNorm(dim) (efficient), BatchNorm(dim) (CNN) Need residual connection? → in -> (main, skip) + processing + Add() (implicit fork) Need N-way split? → in -> (a, b, c, ...) (implicit fork — any number of outputs) Need to concatenate? → Concat(dim=-1) — takes 2 inputs via named ports Need attention? → MultiHeadSelfAttention(d_model, heads) (complete) or compose from ScaledDotProductAttention(d_k) Need convolution? → Conv2d(in_ch, out_ch, kernel) (standard), SeparableConv(...) (efficient) Need position info? → PositionalEncoding(seq, dim) (sinusoidal), RotaryEmbedding(dim, seq) (modern)

Standard Library Composites

The stdlib/ directory provides higher-level neurons built from primitives:

  • FFN.ns — Feed-forward networks: FFN(dim, expansion), FFNWithHidden(in, hidden, out)
  • TransformerBlock.ns — SimpleTransformerBlock(dim), TransformerBlock(dim, heads, d_ff)
  • TransformerStack.ns — TransformerStack2(d, heads, d_ff), SequentialTransformer(d, heads, d_ff)
  • MetaNeurons.ns — ParallelFFN(dim) and routing patterns

See references/primitives-by-category.md for full signatures. See references/composite-library.md for stdlib neuron details. See references/impl-format.md for how impl references map to Python.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/neuroscript-standard-library-catalog-mmio70kx/download' --output '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md.part' && mv '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md.part' '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Grep, Glob, Bash

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md' && test -s '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/ns-stdlib' && cp -R '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx' '.claude/skills/ns-stdlib'

Cursor
test -f '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md' && test -s '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/ns-stdlib' && cp -R '.skill-downloads/neuroscript-standard-library-catalog-mmio70kx' '.cursor/skills/ns-stdlib'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/neuroscript-standard-library-catalog-mmio70kx'

openskills read 'neuroscript-standard-library-catalog-mmio70kx'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/neuroscript-standard-library-catalog-mmio70kx/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills