report-issue

A guided process for reporting bugs or feature requests for the CodeMie Code command-line tool on GitHub. It gathers the details maintainers need to understand and reproduce the problem.

In plain words
What is it for?
Use it to collect system and project details, structure a bug or feature report, and submit it to the CodeMie Code repository. If the required GitHub setup is missing, it explains how to complete it.
Why use it?
It prevents important diagnostic information from being missed in an issue report. It also checks that the GitHub command-line tool is installed and authenticated before submitting anything.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/codemie-ai/codemie-code/report-issue
Any agent
npx skills add codemie-ai/codemie-code --skill report-issue
Clone the repo
git clone --depth 1 https://github.com/codemie-ai/codemie-code

Made for: Claude Code, Codex.

Per session 187 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,262 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00187 $0.02262
Opus 5 $0.00093 $0.01131
Sonnet 5 $0.00037 $0.00452
Haiku 4.5 $0.00019 $0.00226

Measured 2d ago against content hash 721a30f83d2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

report-issue scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> - **Linux (apt)**: `sudo apt install gh`
src/agents/plugins/claude/plugin/skills/report-issue/SKILL.md · 290 lines

How it starts

The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Report Issue to CodeMie Code

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.


Step 1: Pre-flight and Diagnostic Collection

1a. Check gh CLI first — do this before anything else

if ! 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 login to connect your GitHub account, then try this skill again."

If GH_NOT_AUTHENTICATED: Stop and tell the user:

"gh is installed but not authenticated. Run gh auth login to connect to your GitHub account, then try again."

Do not proceed past this point until gh is installed and authenticated.

1b. Gather diagnostic context

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

Read the full file on GitHub · 290 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 290 lines · 187 tokens per session scan B 721a30f83d2c

Subscribe to this mod's changes

report-issue is a skill published in the GitHub repository codemie-ai/codemie-code (276 stars, last pushed 3d ago), licensed Apache-2.0. It adds 187 tokens to every session and 2,262 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.