Logotipo de Redmine Cli

Redmine Cli

Comunidad
aarondpn
redmine-cli

Use the `redmine` CLI to interact with Redmine. Activate when the user asks to create, list, update, close, or search issues, epics, or subtasks, log or view time entries, read or edit Redmine wiki pages, manage versions or memberships, query projects/users/groups, or perform any Redmine project management task. Also activate when the user says "redmine", "issue", "ticket", "time entry", pastes a Redmine URL (e.g. `.../issues/123`), or references Redmine workflows.

Descripción general

Editoraarondpn
Repositorioredmine-cli
Nombre de la habilidadredmine-cli
Estrellas
58
Forks
10
Archivos incluidos
Solo instrucciones
LicenciaMIT
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • Todo en las instrucciones

    Todo lo que necesita el modelo está en las instrucciones: no hay archivos adicionales que sincronizar.

  • Código abierto

    Publicada por aarondpn en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Redmine Cli en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aarondpn/redmine-cli.git /tmp/redmine-cli
mkdir -p .claude/skills
cp -r /tmp/redmine-cli/skills/redmine-cli .claude/skills/redmine-cli
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Redmine Cli en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Redmine Cli automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Redmine Cli no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

Redmine CLI

A CLI for the Redmine REST API. Use redmine <command> --help for detailed flags and examples — this skill only covers what --help cannot tell you.

Available Commands

Only these top-level commands exist. Do NOT invent subcommands that aren't listed here — run redmine <command> --help to discover subcommands.

CommandPurpose
issuesCreate, list, get, update, close, reopen, assign, comment, delete, open, browse issues; issues comment edit <journal-id> edits a comment (Redmine 5.0+; journal IDs come from issues get <id> --journals); manage watchers and relations (issues watchers …, issues relations list/get/add/remove). To search issues, use search issues
attachmentsInspect attachment metadata (attachments get <id>), download files (attachments download <id>) or thumbnails (attachments thumbnail <id> --path <file>), and edit or remove them (attachments update <id> --filename/--description/--content-type, attachments delete <id>) using the active profile's auth
queriesList Redmine saved queries; reuse them via issues list --query / --query-id
projectsList, get, create, update, archive, unarchive, delete projects; list project members. --include on list/get exposes trackers, modules, categories, custom fields, and time-entry activities (Redmine 5.0+ for archive).
timeLog, list, get, update, delete, summarize time entries
versionsCreate, list, get, update, delete project versions (milestones)
filesList and upload project-level files (release artifacts)
membershipsList, get, create, update, delete project memberships
usersList, get, create, update, delete users
my-accountGet and update your own Redmine account (works without admin)
groupsList, get, create, update, delete groups; add/remove users
rolesList and get roles, including their permissions
categoriesList, get, create, update, delete issue categories (--assignee sets the default assignee, none clears it; delete --reassign-to <category> moves the issues to another category of the same project)
newsList, get, create, update, delete project news (list without --project spans all projects; get --include attachments,comments; create looks the new ID up afterwards; news comments are read-only)
trackersList and get trackers
statusesList issue statuses
prioritiesList issue priorities and their IDs (for --priority)
activitiesList time entry activities; --project <p> shows the ones available in that project incl. overrides with their own IDs
document-categoriesList document categories
custom-fieldsList and get custom field definitions (admin-only endpoint)
searchSearch issues, wiki, news, messages, or browse results
authLogin, logout, list, switch, and check status of authentication profiles
wikiList, get, create, update, delete wiki pages
apiMake raw authenticated API requests
configShow the active configuration (server, profile, default project)
updateUpdate the CLI to the latest release

Setup

If the redmine command is not found, install it:

bash
curl -fsSL https://raw.githubusercontent.com/aarondpn/redmine-cli/main/install.sh | bash

Then run redmine auth login for interactive configuration, or without a terminal: echo "$KEY" | redmine auth login --server <url> --api-key-file -. Use redmine config to verify an existing setup.

Critical Rules

  • Use --jq (-q) to extract fields — e.g. redmine issues get 123 --jq '.status.name'. It is built in (no external jq needed) and implies -o json. Never parse output with Python, awk, or regex. If the flag is unknown, the CLI is outdated — ask the user to run redmine update.
  • Errors go to stderr with a non-zero exit code; on failure stdout is empty. Check the exit code — never merge stderr into stdout (2>&1) or discard it (2>/dev/null). Error code jq_failed means the command itself succeeded and only the filter failed — don't re-run writes (except api -i on a 4xx/5xx response, where the request failed).
  • Use --limit 0 to fetch ALL results. The default limit is 100.
  • Inspect attachments: when reading an issue, add --attachments and look at any it has before answering (see below).
  • All name-accepting flags (--project, --tracker, --status, --priority, --assignee, --category, --version, --activity, --custom-field) resolve human-readable names automatically. Don't look up IDs or option lists first — only when a name fails to resolve, check the valid values (e.g. redmine projects get <project> --include trackers,issue_categories) and ask the user if it's still unclear. Custom field names need admin rights; otherwise use the numeric ID from the resource's custom_fields in JSON output.
  • --assignee me refers to the current API user.
  • --status "*" shows all issues regardless of status (default is open).

When Something Doesn't Work: Stop and Use --help

Do NOT guess, loop, or retry with invented flags/subcommands. If a command fails or you're unsure about the correct syntax:

  1. Run redmine <command> --help (or redmine <command> <subcommand> --help) to see the actual available options, flags, and subcommands.
  2. Read the help output carefully — it is authoritative and always up to date. Trust it over your own assumptions.
  3. Never invent flags or subcommands that aren't shown in --help. If you think an option should exist but it doesn't appear in the help, it doesn't exist.
  4. Do not loop — if the same command fails twice, stop and re-read the help output. Do not keep retrying with slight variations hoping one will work.
  5. Ask the user if the help output doesn't clarify things — that's better than spiraling through failed attempts.

Permission Errors

  • Never retry with other credentials (other profiles, API keys from env vars, CI settings, or config files). Permissions come from the user's Redmine role — stop and ask the user.
  • User and group names resolve through the project's members, so they work without admin.

After Creating Resources

When you create an issue, project, user, or other resource, the CLI returns the new ID. Offer the user a clickable URL so they can open it in the browser:

  • Issues: redmine issues open <id> opens the issue directly. You can also provide the URL: <server>/issues/<id>
  • Projects: <server>/projects/<identifier>
  • Users: <server>/users/<id>
  • Time entries: <server>/time_entries/<id>/edit

Get the server URL with redmine config --jq .server. Always mention the URL or the open command after a successful create so the user can quickly navigate to the new resource.

Attachments: Always Download and Inspect Them

Issues often carry attachments (screenshots, diagrams, logs, PDFs) that contain information not present in the text. Whenever an issue has attachments, download them and inspect their contents before answering - especially images, which frequently hold the actual error, mockup, or detail the ticket is about.

  1. Discover attachment IDs: redmine issues get <id> --attachments lists each attachment's id, filename, filesize, and content_type (JSON: .attachments[]). Without --attachments the issue output doesn't show them.
  2. Download one file: redmine attachments download <att-id> -d <dir> saves it under its real filename (or --path <file> for an exact path, --path - to stream to stdout). No curl, no manual API-key handling - it reuses the active profile's auth.
  3. Download everything at once: redmine issues get <id> --download-attachments <dir> pulls every attachment of the issue into <dir> in one step. Same-named attachments are kept side by side: the newest keeps the plain name, older ones become name (attachment-<id>).ext; read the reported paths. Neither command overwrites an existing file: it fails with "already exists". Add --clobber to replace it. A filename starting with . (e.g. .bashrc) is refused with "refusing to save the hidden filename"; pass --allow-hidden only if you really want that dotfile in <dir>, or download that one attachment with --path <file> under a name you choose.
  4. Inspect metadata only (no download): redmine attachments get <att-id>.

After downloading an image, open/read it and use what it shows.

Non-Obvious Behaviors

  • --custom-field name=value works on issues create/update, projects create/update, time log/update, versions create/update, users create/update, my-account update and groups create/update. For multi-value fields repeat the same field (--custom-field Tags=a --custom-field Tags=b); --custom-field Tags= clears it. Values keep spaces and =: quote each pair and repeat the flag per field.
  • If time log fails with validation_failed, the server may require time entry custom fields or an activity: pass them with --custom-field / --activity.
  • redmine issues get <id> --journals includes comments/history.
  • redmine issues get <id> --include allowed_statuses -o json lists the statuses the current user may transition to.
  • redmine issues update only sends flags you explicitly pass — omitted flags are not changed.
  • If --project is omitted, the configured default project is used (set via redmine auth login).
  • Projects can accumulate hundreds of versions, most of them closed or locked. When you need a version for a new issue, time entry, or similar workflow, always start from redmine versions list --open so the shortlist stays small and you don't pick a version that can no longer accept work.
  • Any date flag (--due-date, --date, --from, --to) accepts the literal keyword today as a shortcut for the current date.

Preguntas frecuentes

¿Qué hace la habilidad de IA Redmine Cli?

Use the `redmine` CLI to interact with Redmine. Activate when the user asks to create, list, update, close, or search issues, epics, or subtasks, log or view time entries, read or edit Redmine wiki pages, manage versions or memberships, query projects/users/groups, or perform any Redmine project management task. Also activate when the user says "redmine", "issue", "ticket", "time entry", pastes a Redmine URL (e.g. `.../issues/123`), or references Redmine workflows.

¿Por qué usar Redmine Cli en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Redmine Cli está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Redmine Cli en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli. TypingMind lee su archivo SKILL.md y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Redmine Cli?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Redmine Cli?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Redmine Cli con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Redmine Cli?

Sí. aarondpn la ha publicado en GitHub bajo la licencia MIT. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇