sparq-org/sparq · skills/structural-similarity/SKILL.md

structural-similarity skillA

structural-similarity is agent-read markdown (skill) from sparq-org/sparq: Training-free structural entity similarity over a sparq RDF graph with the opt-in sparq-sim crate: build an entity's (direction, predicate, neighbor) signature straight from the store's permutation indexes, score weighted Jaccard, Dice, or overlap similarity between two entities, and retrieve the top-k most-similar entities (most_similar) via index-driven candidate generation — no embeddings, no model, no training, correct under incremental updates. Use when adding co-citation / shared-context s.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add sparq-org/sparq/structural-similarity@v0.1.0
Exact content
mdr add sparq-org/sparq/structural-similarity@sha256:2f1f0a70b5793d5d

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v0.1.0 latest2026-09-03 1a63aa7 13,369 BA view · diff
v0.1.02026-07-25 9267288 13,365 BA view · diff
v0.1.02026-07-18 a840d6c 12,112 BA view · diff
v0.1.02026-07-16 760f3dc 10,809 BA view · diff
v0.1.02026-07-12 3dddbcb 9,803 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, 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 (13369 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

sparq-org/sparq · 10 stars · license MIT · pushed 2026-09-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ex7ltghtnnha3jej
GET https://markdownregistry.com/api/v1/resolve?ref=sparq-org/sparq/structural-similarity
GET https://markdownregistry.com/api/v1/blob/2f1f0a70b5793d5d9735119dc59ff738fd2b3cf107cbcc7466c5e09df7b9b3f6