manage-mantis-bug-tracker
Manage Mantis Bug Tracker (issues, projects, users, filters, configs) via the official Mantis REST API. Supports full CRUD operations on issues, projects…
от rondoflow★ 37 звёзд на GitHub
Установить manage-mantis-bug-tracker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Mantis Manager Skill (Enhanced)
🔐 Base URL & Token Resolution
Base URL Resolution
Base URL precedence (highest to lowest):
temporary_base_url— one-time use URL for specific operationsuser_base_url— user-defined URL for the current sessionMANTIS_BASE_URL— environment default URL
This allows you to:
- Switch between multiple Mantis instances dynamically
- Test against staging/production environments
- Work with different client instances without changing config
Example:
// Default: uses MANTIS_BASE_URL from environment
GET {{resolved_base_url}}/issues
// Override for one operation:
temporary_base_url = "https://mantis-staging.example.com/api/rest"
GET {{resolved_base_url}}/issues
// Override for session:
user_base_url = "https://client-mantis.example.com/api/rest"
GET {{resolved_base_url}}/issues
Token Resolution
Token precedence (highest to lowest):
temporary_token— one-time use token for specific operationsuser_token— user-defined token for the current sessionMANTIS_API_TOKEN— environment default token
Environment variables are handled via standard OpenClaw metadata: requires.env declares required variables (MANTIS_BASE_URL, MANTIS_API_TOKEN). Any other environment variables you use for Mantis should be treated as normal process env vars and are not modeled as special OpenClaw metadata fields.
Authentication Headers
All API requests must include:
Authorization: Bearer {{resolved_token}}
Content-Type: application/json
Note: The {{resolved_base_url}} and {{resolved_token}} are determined at runtime based on the precedence rules above.
📌 Notation Used in Examples
Throughout this documentation:
{{MANTIS_BASE_URL}}refers to the resolved base URL (could be temporary_base_url, user_base_url, or env MANTIS_BASE_URL){{resolved_token}}refers to the resolved token (could be temporary_token, user_token, or env MANTIS_API_TOKEN)- All endpoints use the pattern:
{{MANTIS_BASE_URL}}/resource/path
Important: Always use the resolution logic to determine the actual URL and token at runtime.
🔄 Context Management
The
temporary_*anduser_*names here are runtime context variables used by the skill logic, not OpenClaw metadata fields. OpenClaw does not define anoptional.contextmetadata key; context is resolved dynamically at runtime as described below.
Setting Temporary Values (One-Time Use)
User queries:
- "Use https://staging.mantis.com/api/rest for this request"
- "Connect to production instance for this operation"
- "Use token ABC123 just this once"
Action:
Set temporary_base_url = "https://staging.mantis.com/api/rest"
Set temporary_token = "ABC123"
... perform operation ...
Clear temporary_base_url
Clear temporary_token
Behavior: Temporary values are automatically cleared after one use.
Setting Session Values (Current Session)
User queries:
- "Switch to client XYZ's Mantis instance"
- "Use my personal API token for all requests"
- "Connect to staging environment"
Action:
Set user_base_url = "https://client-xyz.mantis.com/api/rest"
Set user_token = "personal_token_123"
... perform multiple operations ...
// Values persist for the entire session
Behavior: Session values persist until explicitly cleared or session ends.
Clearing Context Values
User queries:
- "Reset to default Mantis instance"
- "Clear my custom token"
- "Go back to environment defaults"
Action:
Clear user_base_url
Clear user_token
// Now uses MANTIS_BASE_URL and MANTIS_API_TOKEN from environment
Viewing Current Context
User queries:
- "What Mantis instance am I connected to?"
- "Show current API configuration"
- "Which token am I using?"
Response should show:
Current Context:
- Base URL: https://client-xyz.mantis.com/api/rest (user_base_url)
- Token: user_t***123 (user_token)
- Fallback Base URL: https://default.mantis.com/api/rest (MANTIS_BASE_URL)
- Fallback Token: env_t***789 (MANTIS_API_TOKEN)
Use Cases
Multi-Instance Management
// Check production issue
Set temporary_base_url = "https://prod.mantis.com/api/rest"
Get issue 123
// Check staging issue
Set temporary_base_url = "https://staging.mantis.com/api/rest"
Get issue 123
// Compare results
Client Switching
// Switch to Client A
Set user_base_url = "https://clienta.mantis.com/api/rest"
Set user_token = "clienta_token"
List all projects
Get issues for project 5
// Switch to Client B
Set user_base_url = "https://clientb.mantis.com/api/rest"
Set user_token = "clientb_token"
List all projects
Get issues for project 3
Admin Operations with Impersonation
// Connect to main instance as admin
Set user_token = "admin_token"
//
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл manage-mantis-bug-tracker?
Manage Mantis Bug Tracker (issues, projects, users, filters, configs) via the official Mantis REST API. Supports full CRUD operations on issues, projects, users, attachments, notes, tags, relationships, and configuration management. Features dynamic instance switching with conte…
Как установить скилл manage-mantis-bug-tracker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manage-mantis-bug-tracker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…