redmine-tools

Fetch, update, and summarize Redmine issue attachments from CLI.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "redmine-tools" with this command: npx skills add yinxianwei/redmine-tools

Redmine Tools Skill

This skill provides a Node.js CLI to fetch, update, and summarize Redmine issues.

Command

node scripts/redmine.js get --id <issueId>
node scripts/redmine.js update --id <issueId> [--status_id <statusId>] [--notes <text>]
node scripts/redmine.js image --id <issueId>

Supported Flags

  • --id <issueId>: Required Redmine issue ID.
  • --include <fields>: Optional include fields. Defaults to attachments,journals.
  • --status_id <statusId>: Optional for update. New Redmine status ID.
  • --notes <text>: Optional for update. Journal note content.
  • At least one of --status_id or --notes must be provided for update.

Environment Variables

  • REDMINE_BASE_URL: Redmine base URL, for example https://redmine.example.com.
  • REDMINE_API_KEY: Redmine API key.
  • OPENAI_API_URL: OpenAI-compatible API base URL or full /chat/completions URL.
  • OPENAI_API_KEY: OpenAI-compatible API key.
  • OPENAI_MODEL: Model name used for image summarization.
  • OPENAI_IMAGE_SUMMARY_PROMPT: Prompt used to summarize each image attachment.

Behavior

  • get uses endpoint: /issues/:id.json with include=attachments,journals by default.
  • update uses endpoint: /issues/:id.json (HTTP PUT) and sends only the provided status_id and/or notes fields.
  • image fetches issue attachments, keeps supported image files, and summarizes each image through an OpenAI-compatible chat/completions API.
  • Reads base URL and API key from environment variables only.
  • Reads model URL, key, model name, and image summary prompt from environment variables.
  • Prints JSON output to stdout.
  • Returns non-zero exit code on errors.

Image Command Notes

  • Supported image types: png, jpg, jpeg, webp, gif.
  • Non-image or unsupported attachments are skipped and reported in the output.
  • The command downloads each image attachment and sends it as a data URL to the model.
  • The model prompt can include your own formatting, tone, or output constraints.

Examples

export REDMINE_BASE_URL=https://redmine.example.com
export REDMINE_API_KEY=xxxx
export OPENAI_API_URL=https://api.openai.com/v1
export OPENAI_API_KEY=xxxx
export OPENAI_MODEL=gpt-4.1-mini
export OPENAI_IMAGE_SUMMARY_PROMPT="Summarize what this image shows, explain its likely relevance to the issue, and keep the answer concise."

node scripts/redmine.js get --id 123
node scripts/redmine.js get --id 123 --include attachments,journals,watchers
node scripts/redmine.js update --id 123 --status_id 3 --notes "Issue fixed and verified"
node scripts/redmine.js update --id 123 --status_id 3
node scripts/redmine.js update --id 123 --notes "Need more logs from QA"
node scripts/redmine.js image --id 123

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Cloudflare Manager

Manage Cloudflare DNS records, Tunnels (cloudflared), and Zero Trust policies. Use for pointing domains, exposing local services via tunnels, and updating in...

Registry SourceRecently Updated
Coding

Node Red Manager

Manage Node-RED instances via Admin API or CLI. Automate flow deployment, install nodes, and troubleshoot issues. Use when user wants to "build automation", "connect devices", or "fix node-red".

Registry SourceRecently Updated
Coding

Yt Dlp

A robust CLI wrapper for yt-dlp to download videos, playlists, and audio from YouTube and thousands of other sites. Supports format selection, quality control, metadata embedding, and cookie authentication.

Registry SourceRecently Updated
Coding

Daily Dev Agentic

daily.dev Agentic Learning - continuous self-improvement through daily.dev feeds. Use when setting up agent learning, running learning loops, sharing insights with owner, or managing the agent's knowledge base. Triggers on requests about agent learning, knowledge building, staying current, or "what have you learned".

Registry SourceRecently Updated