pinrag: Skill for Cursor

.cursor/skills/langchain-resources/SKILL.md

langchain-resources is a skill for Cursor from ndjordjevic/pinrag. It costs 23 tokens per session (239 once invoked), scanned A, original, MIT.

A reference guide for finding LangChain and LangGraph documentation, code examples, and related project patterns. LangChain and LangGraph are tools for building applications that use language models and connected steps.

In plain words
What is it for?
Use it to look up supported APIs, search documentation, find example projects, or check reference material for PinRAG.
Why use it?
It reduces the chance of relying on outdated or guessed library interfaces when working with these tools.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ndjordjevic/pinrag's own configuration. It tells Cursor how to work on pinrag itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything pinrag configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ndjordjevic/pinrag. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ndjordjevic/pinrag/main/.cursor/skills/langchain-resources/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ndjordjevic/pinrag

Made for: Cursor.

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 langchain-resources

README.md
[![agentmods](https://agentmods.dev/badge/skills/ndjordjevic/pinrag/langchain-resources/github.svg)](https://agentmods.dev/skills/ndjordjevic/pinrag/langchain-resources)
Your own site
<a href="https://agentmods.dev/skills/ndjordjevic/pinrag/langchain-resources"><img src="https://agentmods.dev/badge/skills/ndjordjevic/pinrag/langchain-resources/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 langchain-resources

Your own site · 80×15
<a href="https://agentmods.dev/skills/ndjordjevic/pinrag/langchain-resources"><img src="https://agentmods.dev/badge/skills/ndjordjevic/pinrag/langchain-resources.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 239 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.00023 $0.00239
Opus 5 $0.00012 $0.00120
Sonnet 5 $0.00005 $0.00048
Haiku 4.5 $0.00002 $0.00024

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

Security

Grade A, and why

langchain-resources 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.

.cursor/skills/langchain-resources/SKILL.md · 24 lines

What it actually says

LangChain/LangGraph Resource Access

MCP servers to use for LangChain/LangGraph docs and code examples:

  1. user-docs-langchain (primary) — SearchDocsByLangChain for LangChain-specific queries
  2. user-context7 (fallback) — resolve-library-id then query-docs for other libraries

Check MCP servers before assuming any LangChain API. Use specific queries.

Reference Projects

Read notes/workspace-projects-overview.md for the canonical list of reference projects, their structure, and "Value for PinRAG" notes. Consult it before searching for example patterns.

Guidelines

  • Do not commit until explicitly asked. Keep commit messages to one or two lines.
  • Search priority: notes/workspace-projects-overview.md → MCP docs → internet search
  • Always cite sources (URLs when available). Say "I don't know" rather than guessing.
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 · 24 lines · 23 tokens per session scan A 6ddbf451b4b5

Subscribe to this mod's changes

langchain-resources is a skill published in the GitHub repository ndjordjevic/pinrag (2 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 239 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other skills, from other repositories

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

9router-stt

Speech-to-text via 9Router /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.

decolua/9router · 63 tokens

9router

Entry point for 9Router — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch. Use when the user mentions 9Router, NINEROUTERURL, or wants AI without writing provider boilerplate. This skill covers setup + indexes capability skills; fetch the relevant capability…

decolua/9router · 84 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

vector-and-embedding-weaknesses

Hunt vector / embedding weaknesses (OWASP LLM08:2025) — adversarial inputs against the RAG / similarity layer that cause cross-tenant leak, embedding-inversion privacy loss, semantic confusion, and retriever-driven prompt injection.

PurpleAILAB/Decepticon · 59 tokens

llm-redteam-overview

LLM red team category — full AATMF v3 tactic coverage (T01–T15). Routing skill: read this first to identify which tactic applies, then load the matching sub-skill. Maps to MITRE ATLAS where overlap exists.

PurpleAILAB/Decepticon · 58 tokens