EAD-Factory-MCP: Command for Claude Code

.claude/commands/create-internal-evidence.md

create-internal-evidence is a command for Claude Code from g-digital-by-Garrigues/EAD-Factory-MCP. It costs 0 tokens per session (2,003 once invoked), scanned A, original, MIT.

A command that registers a file in an evidence system with internal custody and an electronic time stamp, with optional blockchain recording.

In plain words
What is it for?
Use it to register documents in guided or quick mode, add a title and creator, attach metadata, and choose time-stamp-only or blockchain recording.
Why use it?
It creates a recorded trail for a file and its metadata, which can help document when and how the file was registered.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is g-digital-by-Garrigues/EAD-Factory-MCP's own configuration. It tells Claude Code how to work on EAD-Factory-MCP 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 EAD-Factory-MCP configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/fvaldez/docs/contrato.pdf.

Reuse

Borrowing it

Nothing to install: this file belongs to g-digital-by-Garrigues/EAD-Factory-MCP. 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/g-digital-by-Garrigues/EAD-Factory-MCP/main/.claude/commands/create-internal-evidence.md
Clone the repo
git clone --depth 1 https://github.com/g-digital-by-Garrigues/EAD-Factory-MCP

Made for: Claude Code.

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 create-internal-evidence

README.md
[![agentmods](https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence/github.svg)](https://agentmods.dev/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence)
Your own site
<a href="https://agentmods.dev/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence"><img src="https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence/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 create-internal-evidence

Your own site · 80×15
<a href="https://agentmods.dev/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence"><img src="https://agentmods.dev/badge/commands/g-digital-by-garrigues/ead-factory-mcp/create-internal-evidence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,003 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.00000 $0.02003
Opus 5 $0.00000 $0.01001
Sonnet 5 $0.00000 $0.00401
Haiku 4.5 $0.00000 $0.00200

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

Security

Grade A, and why

create-internal-evidence 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 12d 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.

.claude/commands/create-internal-evidence.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.

Create Internal Evidence

Registra un fichero en Evidence Manager con custodia interna, sello TSP (eIDAS) y opcionalmente DLT (blockchain Lacnet).

Dos modos de uso:

  • Guiado (por defecto): solo pasas el archivo, te pregunta el resto paso a paso con confirmación final
  • Rápido: pasas todos los flags y ejecuta directamente

Uso

/create-internal-evidence <ruta> [--title "Título"] [--by "Nombre"] [--tsp-only|--dlt] [--meta "clave:valor, ..."]

Ejemplos:

# Modo guiado
/create-internal-evidence /Users/fvaldez/docs/contrato.pdf

# Modo rápido
/create-internal-evidence /Users/fvaldez/docs/contrato.pdf --title "Contrato 2024" --by "Fernando Valdez" --dlt --meta "cliente:Garrigues, expediente:EXP-2024-001"

Instrucciones

Los argumentos son: $ARGUMENTS


PASO 0 — Detectar modo y parsear argumentos

Extrae del string de argumentos:

  • filePath: primer token (antes del primer --)
  • title: valor de --title "..." si existe
  • createdBy: valor de --by "..." si existe
  • dlt: true si --dlt está presente, false si --tsp-only, undefined si no se especifica ninguno
  • metadata: valor de --meta "..." si existe (formato libre clave:valor, clave:valor)

Modo rápido: si están presentes filePath, title (vía --title) Y createdBy (vía --by) Y timestamp preference (--dlt o --tsp-only) → salta al PASO 3.

Modo guiado: si falta cualquiera de los anteriores → ejecuta el flujo interactivo (PASO 1 y PASO 2).


PASO 1 — Validar archivo

Ejecuta: ls -la "<filePath>"

Si no existe, muestra error y detente:

❌ No se encuentra el archivo: <filePath>

Verifica que la ruta sea absoluta y el fichero exista.

PASO 2 — Recopilación guiada (solo en modo guiado)

Haz las preguntas de una en una, esperando respuesta del usuario antes de pasar a la siguiente.

2a. Título (solo si no se pasó --title):

Obtén el nombre base del fichero sin extensión con: basename "<filePath>" | sed 's/\.[^.]*$//'

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. 12d ago First seen · 215 lines · 0 tokens per session scan A 4d46fca24084

Subscribe to this mod's changes

create-internal-evidence is a command published in the GitHub repository g-digital-by-Garrigues/EAD-Factory-MCP (0 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,003 tokens. 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.