text-similarity

text-similarity is a skill for Claude Code from javded-itres/Holix. It costs 30 tokens per session (222 once invoked), scanned A, original, MIT.

A helper that compares texts already provided in the conversation using cosine similarity, a numerical measure of how closely their meanings or patterns align. It can compare two texts or produce a similarity matrix for several texts.

In plain words
What is it for?
It helps compare passages, find which candidate is closest to another text, and inspect similarity among a small group of texts.
Why use it?
It helps identify near-duplicates or the closest match without searching documents, memory, or external sources.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit It helps compare passages, find which candidate is closest to another text, and inspect similarity among a small group of texts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/javded-itres/holix/text-similarity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add javded-itres/Holix --skill text-similarity
Clone the repo
git clone --depth 1 https://github.com/javded-itres/Holix

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for text-similarity

README.md
[![agentmods](https://agentmods.dev/badge/skills/javded-itres/holix/text-similarity/github.svg)](https://agentmods.dev/skills/javded-itres/holix/text-similarity)
Your own site
<a href="https://agentmods.dev/skills/javded-itres/holix/text-similarity"><img src="https://agentmods.dev/badge/skills/javded-itres/holix/text-similarity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for text-similarity

Your own site · 80×15
<a href="https://agentmods.dev/skills/javded-itres/holix/text-similarity"><img src="https://agentmods.dev/badge/skills/javded-itres/holix/text-similarity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 222 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.00222
Opus 5.5 $0.00012 $0.00089
Sonnet 5.5 $0.00006 $0.00044
Haiku 4.5 $0.00003 $0.00022

Measured 10d ago against content hash 2f7549c5b44b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

text-similarity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core/skills/bundled/text-similarity/SKILL.md · 28 lines

What it actually says

When to use

Call text_similarity to compare strings that are already in the conversation: a near-duplicate, or which of a few passages is closest to another.

Pass the texts in the language they are written in. Do not translate them first.

This does not search profile memory, documents, or skills, and it does not pick a label. For a closed set of answers use systemone_decide when that tool is on.

Call

  • Two texts: text_a and text_b. Read cosine (1 is the same direction, 0 is unrelated).
  • Up to eight texts: texts. Read the cosine matrix.

If the tool returns Embeddings error, say so. Do not invent a score.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 28 lines · 30 tokens per session scan A 2f7549c5b44b

Subscribe to this mod's changes

text-similarity is a skill published in the GitHub repository javded-itres/Holix (17 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 222 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-07.

Related

Other skills, from other repositories

rag-local-lancedb

Build, query, and manage local vector embeddings and semantic search pipelines using LanceDB and HuggingFace/SentenceTransformers embeddings without cloud dependencies.

pedroiff0/awesome-skills · 35 tokens

clawrouter

Hosted-gateway LLM router — save 87% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 88 models from OpenAI, Anthropic, Google, DeepSeek, xAI, NVIDIA, and more. 7 free models included. Also exposes realtime market data (global…

BlockRunAI/ClawRouter-Hermes · 170 tokens

optimizing-attention-flash

Optimizes transformer attention with Flash Attention for 2-4x speedup and 10-20x memory reduction. Use when training/running transformers with long sequences (>512 tokens), encountering GPU memory issues with attention, or need faster inference. Supports PyTorch native SDPA, flash-attn library, H100 FP8, and sliding…

cyborg-garden/hermes-agent-mt · 78 tokens

chroma

Open-source embedding database for AI applications. Store embeddings and metadata, perform vector and full-text search, filter by metadata. Simple 4-function API. Scales from notebooks to production clusters. Use for semantic search, RAG applications, or document retrieval. Best for local development and open-source…

cyborg-garden/hermes-agent-mt · 63 tokens

peft-fine-tuning

Parameter-efficient fine-tuning for LLMs using LoRA, QLoRA, and 25+ methods. Use when fine-tuning large models (7B-70B) with limited GPU memory, when you need to train <1% of parameters with minimal accuracy loss, or for multi-adapter serving. HuggingFace's official library integrated with transformers ecosystem.

cyborg-garden/hermes-agent-mt · 82 tokens

pinecone

Managed vector database for production AI applications. Fully managed, auto-scaling, with hybrid search (dense + sparse), metadata filtering, and namespaces. Low latency (<100ms p95). Use for production RAG, recommendation systems, or semantic search at scale. Best for serverless, managed infrastructure.

cyborg-garden/hermes-agent-mt · 63 tokens