Fuzzy Tuple Space for Agent Skills — index, search, and predict across skill git repos
Project description
skill-tuple-space
Fuzzy Tuple Space for Agent Skills.
Inspired by David Gelernter's Linda coordination language and JavaSpaces,
skill-tuple-space indexes your agent skill git repos into a local SQLite store
and lets you query them using two complementary mechanisms:
- Fuzzy layer — membership-function scoring on structured metadata
(
skill_class,crud_verb,topic,requires_role). Pure Python, no heavy deps. - Semantic layer (optional) — cosine similarity on SKILL.md descriptions
via
sentence-transformers. Opt in only if you want it.
These are two distinct things: the semantic layer finds what is similar, the fuzzy layer reasons about how well something fits your current taxonomy and context.
Install
Default — fuzzy matching only, lightweight, no PyTorch:
pip install skill-tuple-space
With semantic search — adds sentence-transformers + PyTorch (~200MB CPU / ~3GB CUDA):
pip install "skill-tuple-space[semantic]"
Quickstart
# 1. Copy and edit config
mkdir -p ~/.skill-space
cp config.example.toml ~/.skill-space/config.toml
# 2. Index your repos
skill-space index run
# 3. Semantic + fuzzy search
skill-space search query "create something visual with 3d"
# 4. Linda-style template matching
skill-space search read "skill_class=Process, crud_verb=create, topic=*"
# 5. Learning journal
skill-space learn claim create-openscad-from-construction-image-en
skill-space learn done create-openscad-from-construction-image-en --level 4
skill-space learn next --topic agent-skills
# 6. Space health
skill-space space stats
skill-space space drift
Architecture
src/skill_space/
├── cli.py # typer CLI entry point
├── indexer.py # git clone + SKILL.md parse + embed
├── embedder.py # sentence-transformers (all-MiniLM-L6-v2, 384-dim)
├── store.py # SQLite + sqlite-vec persistence
├── matcher.py # fuzzy membership functions + cosine combiner
├── journal.py # learning events CRUD
├── predictor.py # readiness scoring + next-skill suggestion
└── display.py # rich terminal output
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file skill_tuple_space-0.2.0.tar.gz.
File metadata
- Download URL: skill_tuple_space-0.2.0.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fd4b13a1ad8f131097b1dcd09564f73900dde811862c3416d6d3eda8c72442f
|
|
| MD5 |
e3fb0326697e9be71ebb3f587875cf33
|
|
| BLAKE2b-256 |
66414d717863ef196b9212e7befbe6e22d11209dbc97d112b0b1c00e8c48b2c8
|
Provenance
The following attestation bundles were made for skill_tuple_space-0.2.0.tar.gz:
Publisher:
publish.yml on roebi/skill-space
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skill_tuple_space-0.2.0.tar.gz -
Subject digest:
2fd4b13a1ad8f131097b1dcd09564f73900dde811862c3416d6d3eda8c72442f - Sigstore transparency entry: 1136367928
- Sigstore integration time:
-
Permalink:
roebi/skill-space@6fce80ffe95bdc2b7dd7a1950a1e5f265edd27e3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/roebi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fce80ffe95bdc2b7dd7a1950a1e5f265edd27e3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file skill_tuple_space-0.2.0-py3-none-any.whl.
File metadata
- Download URL: skill_tuple_space-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce551745d4130ff7563c8492dc1a5d5dad84172ee43837e31a66762b4acb97b6
|
|
| MD5 |
20c8ac18afa5e23b97065d05ae8dbe42
|
|
| BLAKE2b-256 |
fc40abdb237e6488126ed16d0fbde3591630e64a37d7403bf471a33f13ee4d75
|
Provenance
The following attestation bundles were made for skill_tuple_space-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on roebi/skill-space
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
skill_tuple_space-0.2.0-py3-none-any.whl -
Subject digest:
ce551745d4130ff7563c8492dc1a5d5dad84172ee43837e31a66762b4acb97b6 - Sigstore transparency entry: 1136367991
- Sigstore integration time:
-
Permalink:
roebi/skill-space@6fce80ffe95bdc2b7dd7a1950a1e5f265edd27e3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/roebi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6fce80ffe95bdc2b7dd7a1950a1e5f265edd27e3 -
Trigger Event:
push
-
Statement type: