minar-referencias

minar-referencias is a command for Claude Code from doncheli/don-cheli-sdd. It costs 10 tokens per session (1,680 once invoked), scanned A, original, Apache-2.0.

A reference-search command that finds relevant open-source repositories, code snippets, and implementation patterns for a development task.

In plain words
What is it for?
Use it to research examples such as signed webhook handlers, sliding-window rate limiters, JWT refresh authentication, or GraphQL subscriptions.
Why use it?
It reduces the need to build common solutions from scratch and helps expose known pitfalls before implementation.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Part of the don-cheli-sdd plugin — 28 skills, 115 commands, 1 agent shipped together

Good fit Use it to research examples such as signed webhook handlers, sliding-window rate limiters, JWT refresh authentication, or GraphQL subscriptions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/doncheli/don-cheli-sdd/minar-referencias
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.

Clone the repo
git clone --depth 1 https://github.com/doncheli/don-cheli-sdd

Made for: Claude Code.

Or install don-cheli-sdd, the plugin that ships this one along with the rest of its 28 skills, 115 commands, 1 agent.

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 minar-referencias

README.md
[![agentmods](https://agentmods.dev/badge/commands/doncheli/don-cheli-sdd/minar-referencias/github.svg)](https://agentmods.dev/commands/doncheli/don-cheli-sdd/minar-referencias)
Your own site
<a href="https://agentmods.dev/commands/doncheli/don-cheli-sdd/minar-referencias"><img src="https://agentmods.dev/badge/commands/doncheli/don-cheli-sdd/minar-referencias/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 minar-referencias

Your own site · 80×15
<a href="https://agentmods.dev/commands/doncheli/don-cheli-sdd/minar-referencias"><img src="https://agentmods.dev/badge/commands/doncheli/don-cheli-sdd/minar-referencias.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,680 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.00010 $0.01680
Opus 5 $0.00005 $0.00840
Sonnet 5 $0.00002 $0.00336
Haiku 4.5 $0.00001 $0.00168

Measured 9d ago against content hash 4fba9b3999ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

minar-referencias 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 9d 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.

scripts/.claude/commands/dc/minar-referencias.md · 215 lines

How it starts

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

/dc:minar-referencias

Objetivo

Buscar y evaluar repositorios open-source, snippets y patrones de referencia relevantes para la tarea actual. Reduce el "empezar de cero" proporcionando implementaciones probadas como guía.

Adaptado de DeepCode (HKUDS/DeepCode) — Code Reference Mining Agent: "descubrir repositorios relevantes y construir knowledge graphs para informar la generación de código."

Uso

/dc:minar-referencias "webhook handler con verificación de firma"
/dc:minar-referencias "rate limiter con sliding window"
/dc:minar-referencias --stack node,typescript "auth con JWT refresh"
/dc:minar-referencias --max 5 "graphql subscriptions"

Por Qué Existe

Sin Minar Con Minar
Implementar desde cero Partir de patrones probados
Descubrir anti-patrones tarde Conocer pitfalls de antemano
Reinventar soluciones comunes Reutilizar lo que funciona
Estimaciones imprecisas Complejidad real visible

Comportamiento

Paso 1: Análisis de la Query

Query: "webhook handler con verificación de firma"
├── Conceptos clave: webhook, handler, signature verification
├── Stack detectado: Node.js + TypeScript (de config.yaml)
├── Dominio: API integration, security
└── Complejidad estimada: Media

Paso 2: Búsqueda Multi-Fuente

El comando busca en múltiples fuentes (según disponibilidad):

Fuente Método Qué Busca
GitHub API search / web search Repos con implementaciones similares
Proyecto actual Grep local Código existente reutilizable
CodeRAG Índice local Patrones ya indexados
Memoria Engram Decisiones previas sobre el tema

Paso 3: Evaluación de Relevancia

Cada resultado se evalúa en 4 dimensiones:

Dimensión Peso Criterio
Relevancia 40% ¿Resuelve el mismo problema?
Calidad 25% Stars, mantenimiento, tests, docs
Compatibilidad 20% ¿Mismo stack/framework?
Simplicidad 15% ¿Es adoptable sin refactor mayor?

Read the full file on GitHub · 215 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. 9d ago First seen · 215 lines · 10 tokens per session scan A 4fba9b3999ad

Subscribe to this mod's changes

minar-referencias is a command published in the GitHub repository doncheli/don-cheli-sdd (57 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,680 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-09-03.