Loading...
Loading...
Derive which installed skills are actually a skill's peers, then tune EVoC live in a browser companion without rebuilding the embeddings. Use before benchmarking a skill flow, so the comparison set is read off the corpus rather than assumed, and to see which skills have no peer at all.
npx skill4agent add yoshi-ortiz/cyber-skills build-context-token-vectorstools/token_bench.pypython3 -m venv /tmp/vectors
/tmp/vectors/bin/pip install evoc model2vec matplotlib
/tmp/vectors/bin/python check/build-context-token-vectors/scripts/vectors.py --serve--serve--port8932--out <file>matplotlibevocevoc.label_propagationimport evoc--root~/.agents/skills--modelminishlab/potion-base-8M-kEVoC defaults| Flag | Turns |
|---|---|
| How many points make a cluster. Lower splits, higher merges. |
| The kNN graph's width. Lower sees local structure, higher sees global. |
| The density estimate. |
| How readily a point is called noise. |
| The node embedding, and where layers separate. |
EVoC defaults 8 clusters, 49 noise
--base-min-cluster-size 3 --n-neighbors 10 9 clusters, 53 noise
--noise-level 0.2 7 clusters, 39 noisefirstbuildlandcheckkitfixc4| Output | Means |
|---|---|
| Cosine similarity | How close two skills' doctrine sits. Roughly: above 0.80 a real peer, 0.65 to 0.80 a loose one, below 0.65 no peer at all. |
| A cluster tag | The skill was placed, and the other members of that cluster are its neighbourhood. |
| It was placed nowhere. |
| The scatter plot | Two principal components, for orientation only. Clustering ran in full dimensionality, so two points that look adjacent may not be. The neighbour table carries the real numbers. |
noiseSKILL.mdrandom_stateSEED--out--flowtoken_bench.pyfirst/aesthetic/scripts/tools/