nlp-project-setup

nlp-project-setup is a skill for Claude Code, Codex from cxcscmu/SkillLearnBench. It costs 17 tokens per session (694 once invoked), scanned A, original, MIT.

A setup guide for Python projects that process language and train models to learn preferences. It lists the required libraries and installation steps for SimPO, a method for preference-based model training.

In plain words
What is it for?
For installing PyTorch, Transformers, NumPy, SciPy, and tqdm, with optional tools for experiment tracking, distributed training, memory-saving computation, and faster attention.
Why use it?
It reduces the manual work of choosing Python packages, creating an isolated environment, and checking that key libraries are installed.

Skill for Claude CodeCodex

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

Good fit For installing PyTorch, Transformers, NumPy, SciPy, and tqdm, with optional tools for experiment tracking, distributed training, memory-saving computation, and faster attention.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cxcscmu/skilllearnbench/nlp-project-setup
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 cxcscmu/SkillLearnBench --skill nlp-project-setup
Clone the repo
git clone --depth 1 https://github.com/cxcscmu/SkillLearnBench

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-project-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/nlp-project-setup/github.svg)](https://agentmods.dev/skills/cxcscmu/skilllearnbench/nlp-project-setup)
Your own site
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/nlp-project-setup"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/nlp-project-setup/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-project-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/cxcscmu/skilllearnbench/nlp-project-setup"><img src="https://agentmods.dev/badge/skills/cxcscmu/skilllearnbench/nlp-project-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 694 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.00017 $0.00694
Opus 5.5 $0.00007 $0.00278
Sonnet 5.5 $0.00003 $0.00139
Haiku 4.5 $0.00002 $0.00069

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

Security

Grade A, and why

nlp-project-setup 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 3mo 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.

skills/b1-one-shot-claude-haiku-4-5/nlp-paper-reproduction/nlp-project-setup/SKILL.md · 124 lines

How it starts

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

NLP Project Environment Setup

Environment Requirements for SimPO

Core Dependencies

  • PyTorch: Deep learning framework (torch, torchvision, torchaudio)
  • Transformers: Hugging Face library for LLMs
  • NumPy: Numerical computing
  • SciPy: Scientific computing utilities
  • tqdm: Progress bars for training loops

Optional but Recommended

  • wandb: Experiment tracking
  • accelerate: Distributed training
  • bitsandbytes: 8-bit optimization
  • Flash-Attn: Efficient attention

Installation Steps

1. Check Python Version

python --version  # Should be 3.8+
python -VV        # Detailed version info

2. Create Virtual Environment (Optional)

python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

3. Install Core Dependencies

# PyTorch (CUDA 12.1 example)
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

# Transformers
pip install transformers

# Other essentials
pip install numpy scipy tqdm

4. Verify Installation

python -c "import torch; print(torch.__version__)"
python -c "import transformers; print(transformers.__version__)"

Dependency Version Considerations

For SimPO Specifically

  • transformers >= 4.30.0 (for AutoTokenizer, model loading)
  • torch >= 1.13.0 (for modern PyTorch features)
  • numpy (for .npz file saving)

Compatibility Notes

  • Different CUDA versions may require different torch builds
  • GPU memory requirements: typically 10-20GB for 7B models
  • CPU-only mode works but is much slower

Requirements File

Create requirements.txt:

torch>=1.13.0
transformers>=4.30.0
numpy
scipy
tqdm
accelerate>=0.20.0

Then install:

pip install -r requirements.txt

Logging Installed Packages

# Save package list
python -m pip freeze > /root/python_info.txt

# Or capture with version info
python -VV >> /root/python_info.txt
python -m pip freeze >> /root/python_info.txt

Read the full file on GitHub · 124 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. 3mo ago First seen · 124 lines · 17 tokens per session scan A 2f3bd0a35da4

Subscribe to this mod's changes

nlp-project-setup is a skill published in the GitHub repository cxcscmu/SkillLearnBench (93 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 694 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-08-30.

Related

nlp-project-setup compared with skills from other repositories

nlp-project-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nlp-project-setupcxcscmu/SkillLearnBenchSkill931mo agoMITA17Claude Code, Codex
maintaining-core-memoryletta-ai/letta-codeSkill3.9ktodayApache-2.0A50Claude Code, Codex
maven-plugin-configurationbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A31Claude Code, Codex
openai-visionbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A17Claude Code, Codex
powerliftingbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A21Claude Code, Codex
box-least-squaresbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A64Claude Code, Codex
routing-subtour-eliminationbenchflow-ai/skillsbenchSkill1.9k6d agoApache-2.0A70Claude Code, Codex