src/agents/plugins/claude/plugin/skills/report-issue/SKILL.md
This skill should be used when the user wants to report a bug, file an issue, or suggest a feature for the CodeMie Code CLI tool (codemie-ai/codemie-code repository on GitHub). Trigger phrases include: "report a bug", "open an issue", "submit an issue", "file a bug report", "something is broken in CodeMie", "report to GitHub", "create a GitHub issue", "suggest a feature for CodeMie", "request an enhancement", "I have a feature idea", "codemie is not working", or any mention of filing a report for CodeMie. This skill automatically collects diagnostic context (OS, Node.js, CLI version, installed agents, active profile, codemie doctor output, recent debug logs) and creates a structured GitHub issue via `gh issue create` with a user-confirmed preview step before submission.
npx skillsauth add codemie-ai/codemie-code report-issueInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Help the user file a well-structured bug report or feature request to codemie-ai/codemie-code on GitHub.
The goal is to create a rich issue that gives maintainers everything they need to triage and reproduce the problem — without requiring the user to manually gather technical details.
gh CLI first — do this before anything elseif ! command -v gh &>/dev/null; then
echo "GH_NOT_INSTALLED"
else
gh auth status 2>&1 || echo "GH_NOT_AUTHENTICATED"
fi
If GH_NOT_INSTALLED: Stop immediately and tell the user:
"
gh(GitHub CLI) is not installed. It is required to create issues from the terminal.Install it with one of:
- macOS:
brew install gh- Linux (apt):
sudo apt install gh- Linux (dnf):
sudo dnf install gh- Windows:
winget install --id GitHub.cli- Or download from: https://cli.github.com
After installing, run
gh auth loginto connect your GitHub account, then try this skill again."
If GH_NOT_AUTHENTICATED: Stop and tell the user:
"
ghis installed but not authenticated. Rungh auth loginto connect to your GitHub account, then try again."
Do not proceed past this point until gh is installed and authenticated.
Run the following and capture results. Don't display raw output yet.
# OS + platform
uname -srm 2>/dev/null || echo "unknown"
# Node.js version
node --version 2>/dev/null || echo "not found"
# npm version
npm --version 2>/dev/null || echo "not found"
# CodeMie CLI version
codemie --version 2>/dev/null || echo "not found"
# Installed agents and versions
codemie list --installed 2>/dev/null || echo "unavailable"
# Full doctor output (profile, provider, dependency health, agent versions)
codemie doctor 2>/dev/null || echo "unavailable"
# Shell + terminal environment
echo "Shell: $SHELL"
echo "Terminal: ${TERM_PROGRAM:-unknown}"
# Extract ERROR and WARN lines from the two most recent log files.
# Log format: [TIMESTAMP] [LEVEL] [agent] [session-id] [profile] [component] message
# Files: ~/.codemie/logs/debug-YYYY-MM-DD.log (one per day, can be several MB)
LOG_DIR="$HOME/.codemie/logs"
RECENT_LOGS=$(ls -t "$LOG_DIR"/debug-*.log 2>/dev/null | head -2)
if [ -n "$RECENT_LOGS" ]; then
echo "=== ERROR and WARN entries from recent logs ==="
# Print filename headers and filter by level; limit to last 100 matches to keep size reasonable
for f in $RECENT_LOGS; do
echo "--- $f ---"
grep -E '\[(ERROR|WARN)\]' "$f" | tail -50
done
echo "=== Full log files ==="
for f in $RECENT_LOGS; do
echo "$f"
done
else
echo "No debug logs found"
fi
Log file paths (captured above) will be used in Step 6 to upload as Gist.
Extraction-first: If the user already described the issue in their request (problem, error message, steps, etc.), extract that information directly without asking them to repeat it. Only ask follow-up questions for missing pieces.
If no description was provided yet, ask the user for:
When prompting for description, share these tips:
Determine the issue type based on the user's description:
bugenhancementquestionBuild the issue body using the appropriate template below.
Security — before embedding diagnostic output:
***)proxy-ha***dled already used by codemie doctor is safe to include as-is## Description
<user's description of the problem>
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
<what the user expected to happen>
## Actual Behavior
<what actually happened — paste error messages verbatim>
## Environment
| Field | Value |
|-------------|------------------------------|
| OS | <uname output> |
| Node.js | <node --version> |
| npm | <npm --version> |
| CodeMie CLI | <codemie --version> |
| Shell | <$SHELL> |
| Terminal | <$TERM_PROGRAM> |
## Installed Agents
<formatted list from `codemie list --installed` — agent name and version per line>
## CodeMie Doctor Output
<details>
<summary>Full doctor output</summary>
<pre>
<codemie doctor output — with credentials redacted>
</pre>
</details>
## Recent Errors
<details>
<summary>ERROR and WARN entries from recent logs</summary>
<pre>
<filtered ERROR/WARN lines from the two most recent debug-YYYY-MM-DD.log files, or "No errors found">
</pre>
</details>
## Full Debug Logs
<full log file(s) attached as GitHub Gist — see link below, or "No log files found">
## Summary
<one-sentence description of the feature>
## Motivation
<the problem this feature would solve, or the use case that is currently missing>
## Proposed Behavior
<what the user wants to happen — be specific about inputs, outputs, and commands>
## Alternatives Considered
<other ways you have worked around this, if any>
## Environment
| Field | Value |
|-------------|------------------------------|
| OS | <uname output> |
| Node.js | <node --version> |
| CodeMie CLI | <codemie --version> |
## Installed Agents
<formatted list from `codemie list --installed`>
Show the user the proposed issue title and full body. Ask:
"Here's the issue I'll create on GitHub. Does this look right, or would you like to change anything before I submit?"
Wait for confirmation before creating the issue.
If log files were found in Step 1b, upload the two most recent ones as a secret Gist so they can be referenced in the issue. This keeps the issue body readable while giving maintainers the full context.
# Upload the two most recent log files as a single secret Gist
gh gist create \
--desc "CodeMie debug logs for issue report ($(date +%Y-%m-%d))" \
~/.codemie/logs/debug-$(date +%Y-%m-%d).log \
~/.codemie/logs/debug-$(date -v-1d +%Y-%m-%d 2>/dev/null || date -d yesterday +%Y-%m-%d).log \
2>/dev/null
Capture the Gist URL from the output (it looks like https://gist.github.com/...).
<full log file(s) attached as GitHub Gist — see link below> placeholder in the issue body with the actual Gist URL.Note: Gists are secret (not listed publicly) but accessible to anyone with the link.
gh issue create \
--repo codemie-ai/codemie-code \
--title "<issue title>" \
--body "<issue body with gist URL inserted>" \
--label "<bug|enhancement|question>"
After the issue is created, tell the user:
gh issue create output)tools
Work with Microsoft 365 services via the Graph API — emails, calendar events, SharePoint sites (read and write), Teams chats and channel messages, OneDrive files, OneNote notebooks, Planner task boards, Microsoft To Do task lists, AI meeting insights (Copilot recap), contacts, and org chart. Use this skill whenever the user asks about their emails, inbox, unread messages, meetings, calendar, Teams messages or chats, channel messages, SharePoint documents, OneDrive files, OneNote notes or notebooks, Planner plans or tasks, "my tasks", to-do lists, action items, meeting summaries, colleagues, manager, direct reports, or any personal/organizational Microsoft data. Invoke proactively any time the user mentions Outlook, Teams, SharePoint, OneDrive, OneNote, Planner, Microsoft To Do, or wants to interact with their Microsoft 365 account. The skill uses a local Node.js CLI (msgraph.js) that handles authentication, token caching, and all API calls.
tools
CodeMie Analytics expert — use this skill whenever the user asks about CodeMie usage data, AI adoption metrics, user leaderboards, CLI insights, spending, LiteLLM costs, token usage, or wants to build a dashboard/report from CodeMie or LiteLLM APIs. Also triggers for: "who uses CodeMie most", "show me AI analytics", "get spending data", "generate a report", "leaderboard", "cost analysis", "LiteLLM customer info", "enrich CSV with costs", "top performers", "AI champions", "tier distribution", or any custom analytics query against the platform. Always use this skill when CodeMie analytics, reporting, or cost data is involved.
tools
Manage CodeMie platform assets (assistants, workflows, datasources, integrations, skills, users, assistant-categories) directly from CLI using CodeMie SDK. Use when user says "create assistant", "list workflows", "update datasource", "delete assistant", "show my assistants", "get workflow details", "manage integrations", "create integration", "list integrations", "list llm models", "list embedding models", "list skills", "get skill", "create skill", "update skill", "delete skill", "publish skill", "import skill", "export skill", "attach skill", "list assistant categories", "get assistant category", "create assistant category", "delete assistant category", "who am i", "current user", "my profile", "user info", or any request to manage CodeMie platform resources. NOTE: For analytics requests (usage analytics, summaries, spending, users activity, leaderboards, etc.) use the codemie-analytics skill instead.
development
Build static HTML pages, reports, dashboards, and mockups that match the CodeMie UI design system. Use this skill whenever the user asks to create an HTML report, dashboard, analytics page, status page, data visualization page, or any static HTML document that should look like the CodeMie/EPAM AI/Run product. Also use it when the user says "make it look like CodeMie", "use the style guide", "dark-themed report", "CodeMie styles", or references the style-guide directory. Trigger for any HTML output task in a project that includes the style-guide folder. IMPORTANT: This skill MUST be used for ALL HTML generation requests — whenever a user asks for an HTML report, HTML analysis output, HTML dashboard, HTML visualization, or any HTML document. Claude must always use this skill to generate HTML in CodeMie styles to ensure consistent, professional, branded output across all HTML artifacts.