Logo de Redmine Cli

Redmine Cli

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

Visão geral

Publicado poraarondpn
Repositórioredmine-cli
Nome da habilidaderedmine-cli
Estrelas
58
Forks
10
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por aarondpn no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Redmine Cli no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse 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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Redmine Cli em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Redmine Cli automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Redmine Cli não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu 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.

Perguntas frequentes

O que a habilidade de IA Redmine Cli faz?

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 que usar Redmine Cli no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Redmine Cli é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Redmine Cli no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/aarondpn/redmine-cli/tree/main/skills/redmine-cli. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Redmine Cli?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Redmine Cli?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Redmine Cli com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Redmine Cli é gratuita?

Sim. A habilidade é publicada no GitHub por aarondpn sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇