ArrowSpace Skills
Portable skill definitions for working with ArrowSpace — a spectral vector search library that goes beyond cosine similarity by incorporating graph Laplacian eigenstructure.
ArrowSpace adds a spectral dimension to vector similarity, enabling search that considers both semantic content and structural role in the dataset.
Quick Start
pip install arrowspace
Then:
from arrowspace import ArrowSpaceBuilder
import numpy as np
items = np.array([[0.1, 0.2, 0.3], [0.0, 0.5, 0.1], [0.9, 0.1, 0.0]], dtype=np.float64)
graph_params = {"eps": 1.0, "k": 6, "topk": 3, "p": 2.0, "sigma": 1.0}
aspace, gl = ArrowSpaceBuilder().build(graph_params, items)
query = np.array([0.05, 0.2, 0.25], dtype=np.float64)
hits = aspace.search(query, gl, tau=1.0)
print(hits) # [(0, 0.99), (1, 0.76), (2, 0.22)]
Resources
| Resource | Link |
|---|---|
| JOSS paper | doi:10.21105/joss.09002 |
| Rust library | github.com/Mec-iS/arrowspace-rs |
| Python bindings | github.com/tuned-org-uk/pyarrowspace |
| PyPI package | pip install arrowspace |
| crates.io | cargo add arrowspace |
| Presentation 1 | Spectral Indexing overview |
| Presentation 2 | ArrowSpace deep-dive |
| Design article | tuned.org.uk — Part 2: Semantic Basins |
Skills
This repo contains skill definitions that teach AI agents how to use ArrowSpace:
| Skill | File | What it covers |
|---|---|---|
| ArrowSpace Core | skills/arrowspace-core.md |
Builder, configuration, building signal graphs |
| Vector Search | skills/arrowspace-search.md |
Querying, λτ scoring, search parameters |
| Spectral Analysis | skills/arrowspace-spectral.md |
Spectral methods, graph characterisation, diffusion |
Adding to an AI Agent
OpenCode — symlink or copy SKILL.md into .opencode/skills/:
cp SKILL.md .opencode/skills/arrowspace/SKILL.md
Claude Code — reference in CLAUDE.md or add to project instructions.
Copilot / Cursor — include the relevant skills/*.md content in your custom instructions.
Any agent — point it at this repo: "You have access to the ArrowSpace skills at skills/."
Python Package
Install the skill utilities directly:
pip install arrowspace-skills
from arrowspace_skills import suggest_params, build_index, tune_tau, item_lambdas
See arrowspace_skills/ for reusable helper functions.
License
Apache 2.0 — same as arrowspace-rs.
Metadata
Release files for arrowspace-skills 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arrowspace_skills-0.4.0.tar.gz | 22.9 kB | Without provenance | Details for arrowspace_skills-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arrowspace_skills-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for arrowspace_skills-0.4.0-py3-none-any.whl |
Total release size: 42.5 kB
Release files / arrowspace_skills-0.4.0.tar.gz
| Download URL | arrowspace_skills-0.4.0.tar.gz |
|---|---|
| Size | 22.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0db1563d702d293b7660a2723a90f9c8b3ff6ead3dceaa30de67faac5c417843
|
|
BLAKE2b-256 checksum How to use checksums |
6518eb1aefaf092dfff727728a106929359dba6973b9751ac8a4d346ddadc75a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / arrowspace_skills-0.4.0-py3-none-any.whl
| Download URL | arrowspace_skills-0.4.0-py3-none-any.whl |
|---|---|
| Size | 19.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ddd14a1038ecbf743daef94678ee5e9fb5849b406214bd623396e6acfda4d09
|
|
BLAKE2b-256 checksum How to use checksums |
df44fe714b184631e843b08fa7f5625ff2826aee0fb9436a0a4063d625b593e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.24 {"installer":{"name":"uv","version":"0.11.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for arrowspace-skills 0.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.