nlp-pipeline-designer

nlp-pipeline-designer is a skill for Claude Code, Codex from khalilbenaz/claude-skills-collection. It costs 133 tokens per session (2,525 once invoked), scanned A, original, MIT.

A practical guide to building natural-language processing pipelines, which are programs that analyse and transform human language.

In plain words
What is it for?
Use it to plan text preprocessing and implement tokenisation, embeddings, named-entity recognition, sentiment analysis, classification, and summarisation.
Why use it?
It helps you choose methods and models for tasks such as finding names, classifying text, detecting sentiment, answering questions, and summarising documents.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan text preprocessing and implement tokenisation, embeddings, named-entity recognition, sentiment analysis, classification, and summarisation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer
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 khalilbenaz/claude-skills-collection --skill nlp-pipeline-designer
Clone the repo
git clone --depth 1 https://github.com/khalilbenaz/claude-skills-collection

Made for: Claude Code, Codex.

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 nlp-pipeline-designer

README.md
[![agentmods](https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer/github.svg)](https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer)
Your own site
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer/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 nlp-pipeline-designer

Your own site · 80×15
<a href="https://agentmods.dev/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer"><img src="https://agentmods.dev/badge/skills/khalilbenaz/claude-skills-collection/nlp-pipeline-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,525 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00133 $0.02525
Opus 5.5 $0.00053 $0.01010
Sonnet 5.5 $0.00027 $0.00505
Haiku 4.5 $0.00013 $0.00252

Measured 1mo ago against content hash 0b9fc536a75f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nlp-pipeline-designer 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 1mo 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.

ai-ml-skills/nlp-pipeline-designer/SKILL.md · 245 lines

How it starts

The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NLP Pipeline Designer

Guide opérationnel pour concevoir et implémenter des pipelines NLP production-ready, de la tokenization aux tâches avancées.


Étape 1 — Cadrer la tâche et choisir l'approche

Questions à trancher avant tout code :

Critère Approche légère Approche Transformer
< 10 k exemples annotés TF-IDF + sklearn SetFit / few-shot
Latence < 50 ms DistilBERT, FastText Non
Corpus français CamemBERT, FlauBERT XLM-RoBERTa si multilingue
Généralisation zero-shot Non NLI (MNLI) ou GPT-4o
Tâche extractive simple regex + spaCy rules Rarement utile

Tâches → modèles recommandés (2026) :

  • Classification texte : CamemBERT-base (FR), DeBERTa-v3-base (EN)
  • NER : spaCy fr_core_news_lg (règles + statistique), bert-base-multilingual-cased fine-tuné
  • Sentiment : nlptown/bert-base-multilingual-uncased-sentiment, ou zero-shot facebook/bart-large-mnli
  • Summarization : facebook/bart-large-cnn, moussaKam/barthez-orangesum-abstract (FR)
  • QA extractif : deepset/camembert-base-squad2 (FR)

Étape 2 — Prétraitement du corpus

import re, unicodedata
from langdetect import detect

def clean_text(text: str) -> str:
    text = re.sub(r"<[^>]+>", " ", text)               # strip HTML
    text = unicodedata.normalize("NFC", text)           # normalise unicode
    text = re.sub(r"http\S+|www\.\S+", "[URL]", text)  # masque URLs
    text = re.sub(r"\s+", " ", text).strip()
    return text

# Chunking pour textes longs (sliding window)
def chunk_text(text: str, max_tokens: int = 400, overlap: int = 50) -> list[str]:
    words = text.split()
    chunks = []
    for i in range(0, len(words), max_tokens - overlap):
        chunks.append(" ".join(words[i : i + max_tokens]))
    return chunks

Points critiques :

  • Ne pas supprimer les stopwords avant un Transformer (il les utilise pour le contexte).
  • Conserver la casse pour la NER (majuscules = signal fort pour les entités).
  • Annoter la langue avant tout pipeline multilingue : detect(text) → filtrer/router.

Read the full file on GitHub · 245 lines

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. 1mo ago First seen · 245 lines · 0 tokens per session scan A 0b9fc536a75f

Subscribe to this mod's changes

nlp-pipeline-designer is a skill published in the GitHub repository khalilbenaz/claude-skills-collection (27 stars, last pushed 2mo ago), licensed MIT. It adds 133 tokens to every session and 2,525 once invoked, about $0.0005 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-09-03.

Related

Other skills, from other repositories

feature-engineering

Use when building or improving time series forecasting models and the user asks about exogenous variables, calendar features, rolling statistics, cyclical encoding, differencing, or feature scaling — or when forecast accuracy has plateaued and new features may help.

Lu1sDV/skillsmd · 52 tokens

vast-experiment-ops

Use when running or reporting ML experiments on rented Vast.ai GPU instances — diagnosing strict FP32 equivalence checks that pass on CPU but fail on CUDA (cuDNN TF32), parsing JSON metrics collected over SSH, and keeping held-out/test-scope reporting accurate.

Lu1sDV/skillsmd · 59 tokens

saelens

Train sparse autoencoders to interpret model features.

NousResearch/hermes-agent · 14 tokens

mechanistic-interpretability-nnsight

Provides guidance for interpreting and manipulating neural network internals using nnsight with optional NDIF remote execution. Use when needing to run interpretability experiments on massive models (70B+) without local GPU resources, or when working with any PyTorch architecture.

davila7/claude-code-templates · 59 tokens

mechanistic-interpretability-transformer-lens

Provides guidance for mechanistic interpretability research using TransformerLens to inspect and manipulate transformer internals via HookPoints and activation caching. Use when reverse-engineering model algorithms, studying attention patterns, or performing activation patching experiments.

davila7/claude-code-templates · 54 tokens

model-routing-patterns

Capability-aware model routing for Codex, Copilot, Claude and provider APIs. Triggers: model routing, model selection, reasoning effort, approved fallback, cost, escalation.

softspark/ai-toolkit · 40 tokens