Logo di Redmine Cli

Redmine Cli

Community
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.

Panoramica

Autoreaarondpn
Repositoryredmine-cli
Nome della skillredmine-cli
Stelle
58
Fork
10
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da aarondpn su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Redmine Cli in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'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
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Redmine Cli in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Redmine Cli non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Redmine Cli non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello 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.

Domande frequenti

Cosa fa la skill 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.

Perché usare Redmine Cli su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Redmine Cli è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Redmine Cli in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Redmine Cli?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Redmine Cli?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Redmine Cli: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Redmine Cli è gratuita?

Sì. È pubblicata su GitHub da aarondpn con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇