gnn-lsp-server SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

gnn-lsp-server from activeinferenceinstitute/generalized_notation_notation is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add activeinferenceinstitute/generalized_notation_notation/gnn-lsp-server@git:20260921.0332b6b

Pins git:20260921.0332b6b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
activeinferenceinstitute/generalized_notation_notation
Path
src/gnn/lsp/SKILL.md
Versions recorded
3
Latest version
git:20260921.0332b6b, committed Sep 21, 2026
First version recorded
Sep 6, 2026
Size
1,356 bytes
Repository stars
33
License
a license file GitHub does not identify

GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating LSP support for GNN files.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Core Skill: `lsp_server`

**Function**: Language Server Protocol implementation providing real-time GNN file diagnostics and hover information for LSP-compatible editors.

## Example Flow

```bash
# Start the GNN Language Server via CLI
gnn lsp

# Or directly via Python (equivalent to `gnn lsp`)
python -c "from gnn.lsp import start_server; start_server()"
```

## Programmatic Usage

```python
from gnn.lsp import create_server, start_server

# Create and configure the LSP server
server = create_server()

# Start on stdio (standard usage for editor integration)
start_server()
```

## Features

- **Diagnostic Publishing**: Validates GNN sections, state-space variables, and connections on file open and save
- **Hover Information**: Displays variable name, dimensions, type, and default values at cursor position
- **Error Extraction**: Maps parse errors to line numbers for inline display in editors
- **Graceful Fallback**: Works without `pygls` by providing a clear installation message
- **VS Code Integration**: Compatible with any LSP client via stdio transport

## MCP Tools

This module registers tools with the GNN MCP server (see `mcp.py`):

- None

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add activeinferenceinstitute/generalized_notation_notation/gnn-lsp-server@sha256:081eaef115e43243

The line at the top of this page pins the label git:20260921.0332b6b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_b44q7wbqdjnlb3ii.svg)](https://markdownregistry.com/a/art_b44q7wbqdjnlb3ii)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 6, 2026 and Sep 21, 2026, about one every 8 days.

versioncommittedcommitsizeaudit
git:20260921.0332b6b latest2026-09-21 0332b6b 1,356 BA view · diff
git:20260907.18119302026-09-07 1811930 1,294 BA view · diff
git:20260906.e62b9e92026-09-06 e62b9e9 1,294 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1356 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

activeinferenceinstitute/generalized_notation_notation · 33 stars · license a license file GitHub does not identify · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_b44q7wbqdjnlb3ii
GET https://markdownregistry.com/api/v1/resolve?ref=activeinferenceinstitute/generalized_notation_notation/gnn-lsp-server
GET https://markdownregistry.com/api/v1/blob/081eaef115e432437c0147bec98f961523e5f29e57f467fbbdc10b9369257dbd

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from activeinferenceinstitute/generalized_notation_notation

AGENTS.md@.agent_rules AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .agent_rules/AGENTS.md
git:20261008.aa1f6bc · audit A · 33 stars
AGENTS.md@.benchmarks AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .benchmarks/AGENTS.md
git:20260415.181acef · audit A · 33 stars
AGENTS.md@.github AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .github/AGENTS.md
git:20260903.12a565b · audit A · 33 stars
AGENTS.md@.github/workflows AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · .github/workflows/AGENTS.md
git:20261017.9c8c25f · audit A · 33 stars
AGENTS.md AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · AGENTS.md
git:20261016.4bae4a7 · audit A · 33 stars
CLAUDE.md CLAUDE.md file
activeinferenceinstitute/generalized_notation_notation · CLAUDE.md
git:20260922.59f99ec · audit A · 33 stars
gnn-pipeline SKILL.md skill
activeinferenceinstitute/generalized_notation_notation · SKILL.md · Generalized Notation Notation (GNN) processing pipeline for Active Inference generative models. Use when working with…
git:20260922.84d602e · audit A · 33 stars
AGENTS.md@docs AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/AGENTS.md
git:20260907.ae194c2 · audit A · 33 stars
AGENTS.md@docs/active_inference AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/active_inference/AGENTS.md
git:20260917.482a267 · audit A · 33 stars
AGENTS.md@docs/activeinference_jl AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/activeinference_jl/AGENTS.md
git:20260917.482a267 · audit A · 33 stars
AGENTS.md@docs/activeinference_jl/actinf_jl_src AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/activeinference_jl/actinf_jl_src/AGENTS.md
git:20260906.82c8031 · audit A · 33 stars
AGENTS.md@docs/advanced_visualization AGENTS.md file
activeinferenceinstitute/generalized_notation_notation · docs/advanced_visualization/AGENTS.md
git:20260907.ae194c2 · audit A · 33 stars

Every file in activeinferenceinstitute/generalized_notation_notation

Other files named gnn-lsp-server

gnn-lsp-server SKILL.md skill
activeinferenceinstitute/generalizednotationnotation · src/gnn/lsp/SKILL.md · GNN Language Server Protocol integration. Use when starting editor diagnostics, checking hover behavior, or validating…
git:20260921.0332b6b · audit A · 33 stars

Browse by kind, by grade A, or by owner.