embedding-pipeline
Build production embedding pipelines for semantic search, RAG, and recommendation systems.
Skill by UltronCore
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ultroncore-embedding-pipeline
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, ml
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/embedding-pipeline
What's inside
- Skill name
embedding-pipeline- Description
- Build production embedding pipelines for semantic search, RAG, and recommendation systems. Covers text chunking strategies, batch embedding with OpenAI/Anthropic/HuggingFace, vector storage, embedding updates, and monitoring embedding quality.
- License
- MIT
- Instructions
- 530 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 530 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Embedding Pipeline
## Overview
An embedding pipeline converts text into dense vector representations that capture semantic meaning, enabling similarity search, RAG (Retrieval-Augmented Generation), recommendation systems, and clustering. This skill covers the full pipeline: text preprocessing and chunking, batched embedding generation with multiple providers, vector database storage, incremental updates for new content, and monitoring for embedding drift and quality degradation.
## When to Use
- Building a RAG system that needs to retrieve relevant context for LLM prompts
- Implementing semantic search over a document corpus (not just keyword matching)
- Recommendation systems based on content similarity
- Deduplication of large document sets using embedding similarity
- Clustering and categorizing unstructured text at scale
## Step-by-Step Workflow
### 1. Text Chunking — Critical Foundation
```python
from typing import List, Iterator
import re
def chunk_by_tokens(text: str, max_tokens: int = 512, overlap: int = 50) -> List[str]:
"""
Sliding window chunking with token overlap.
Overlap preserves context across chunk boundaries.
Rough estimate: 1 token ≈ 4 chars for English.
"""
words = text.split()
chunk_size_words = max_tokens # 1 token ≈ 1 word (rough)
overlap_words = overlap
chunks = []
start = 0
while start < len(words):
end = min(start + chunk_size_words, len(words))
chunk = " ".join(words[start:end])
chunks.append(chunk)
start += chunk_size_words - overlap_words
return chunks
def chunk_by_sentences(text: str, max_chars: int = 2000, overlap_sentences: int = 2) -> List[str]:
"""
Sentence-aware chunking — never splits mid-sentence.
Better for documents where sentence boundaries matter.
"""
# Split on sentence boundaries
sentences = re.split(r'(?<=[.!?])\s+', text.strip())
chunks = []
current_chunk = []
current_length = 0
for sentence in sentences:
if current_length + len(sentence) > max_chars and current_chunk:
chunks.append(" ".join(current_chunk))
# Overlap: keep last N sentences for context
current_chunk = current_chunk[-overlap_sentences:]
current_length = sum(len(s) for s in current_chunk)
current_chunk.append(sentence)
current_length += len(sentence)
if current_chunk:
chunks.append(" ".join(current_chunk))
return chunks
def chunk_markdown(text: str, max_chars: int = 2000) -> List[dict]:
"""
Structure-aware chunking for markdown documents.
Respects heading hierarchy for better retrieval context.
"""
chunks = []
current_section = {"heading": "", "content": [], "level": 0}
for line in text.split("\n"):
heading_match = re.match(r"^(#{1,6})\s+(.+)", line)
if heading_match:
# Save current section before starting new one
if current_section["content"]:
content = "\n".join(current_section["content"])
if content.strip():
chunks.append({
"heading": current_section["heading"],
"content": content,
"full_text": f"{current_section['heading']}\n{content}",
})
level = len(heading_match.group(1))
heading_text = heading_match.group(2)
current_section = {"heading": f"{'#' * level} {heading_text}", "content": [], "level": level}
else:
current_section["content"].append(line)
# Don't forget the last section
if current_section["content"]:
content = "\n".join(current_section["content"])
if content.strip():
chunks.append({
"heading": current_section["heading"],
"content": content,
"full_text": f"{current_section['heading']}\n{content}",
})
return chunks
```
### 2. Batch Embedding Generation
```python
import asyncio
import time
from typing import List, Optional
import numpy as np
from openai import AsyncOpenAI
client = AsyncOpenAI()From UltronCore/claude-skill-vault, MIT.
More from UltronCore/claude-skill-vault
- 0.494score
ai-agent-memory
UltronCore
Design and implement memory systems for AI agents — short-term working context, episodic memory in vector stores, entity extraction into knowledge graphs…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
ai-cost-optimizer
UltronCore
LLM cost reduction: prompt caching, model routing, token optimization, and batching.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
claude-tool-use
UltronCore
Advanced Claude tool/function calling patterns: tool definitions, parallel tool use, tool result chaining, and agentic loops.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
embeddings-expert
UltronCore
Text embeddings for semantic search, clustering, RAG retrieval, and similarity.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
haystack
UltronCore
Production-ready LLM pipeline framework with component-based architecture for RAG and QA
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
guidance
UltronCore
Microsoft's structured generation library for constrained LLM outputs using Handlebars-style templates
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
autogen
UltronCore
Microsoft's multi-agent conversation framework for building collaborative AI workflows
SkillCFreshness: C★ 1Claude Code +9 - 0.485score
diffusion-models
UltronCore
Build and deploy diffusion model pipelines for image generation, inpainting, and fine-tuning using Hugging Face Diffusers.
SkillCFreshness: C★ 1Claude Code +9 - 0.484score
computer-vision
UltronCore
Computer vision tasks: image classification, object detection, OCR, and manga/comic image processing.
SkillCFreshness: C★ 1Claude Code +9 - 0.483score
skill-name
UltronCore
One-line description of what this skill does and when to use it.
SkillCFreshness: C★ 1Claude Code +9 - 0.264score
ab-testing-statistics-ai-ml-stub
UltronCore
No description from the publisher yet.
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 24, 2026 (5 months ago)
- Last release
- May 24, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/UltronCore/claude-skill-vault
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from UltronCore
- 0.494score
ai-agent-memory
UltronCore
Design and implement memory systems for AI agents — short-term working context, episodic memory in vector stores, entity extraction into knowledge graphs…
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
ai-cost-optimizer
UltronCore
LLM cost reduction: prompt caching, model routing, token optimization, and batching.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
claude-tool-use
UltronCore
Advanced Claude tool/function calling patterns: tool definitions, parallel tool use, tool result chaining, and agentic loops.
SkillCFreshness: C★ 1Claude Code +9 - 0.493score
embeddings-expert
UltronCore
Text embeddings for semantic search, clustering, RAG retrieval, and similarity.
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
guidance
UltronCore
Microsoft's structured generation library for constrained LLM outputs using Handlebars-style templates
SkillCFreshness: C★ 1Claude Code +9 - 0.491score
haystack
UltronCore
Production-ready LLM pipeline framework with component-based architecture for RAG and QA
SkillCFreshness: C★ 1Claude Code +9
Cite this page
embedding-pipeline skill. Agent Mart. https://agentmart.dev/skills/ultroncore-embedding-pipeline (last updated 2026-10-24)