# Bosskuai Codehealth MCP

> Use when the task explicitly concerns codehealth mcp. Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit/PR.

- Skill: `wankimmy/bosskuai-codehealth-mcp` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx get-skill add wankimmy/bosskuai-codehealth-mcp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/wankimmy/bosskuai-codehealth-mcp/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: wankimmy (https://skillmd.com/u/wankimmy)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/wankimmy/bosskuai-codehealth-mcp

---


# Code Health MCP (CodeScene) — portable workflow

Real-time structural Code Health via CodeScene MCP — review before edits, verify score deltas after changes, gate commits and PRs. Use when reviewing code quality, refactoring, checking if AI changes degraded a file, or before commit/PR.

Use it only when the request supplies this domain, framework, data source or artifact; a shared keyword is not a match. Related skills, each for its own concern: `bosskuai-conventional-commit-review`, `bosskuai-product-strategy`, `verification-before-completion`, `bosskuai-coding-best-practices`, `bosskuai-cybersecurity-risk`, `bosskuai-documentation-lookup`, `bosskuai-tdd-loop`.

## Workflow

Before you connect the MCP server to a private repo, check where it sends code. If code leaves the machine, get the user's approval first. The privacy links are in the Security and boundaries section of the source workflow.

Read [the source workflow](references/upstream/SKILL.md) first, then work through these sections in order:

1. Security and boundaries.
2. How It Works.
3. 1. Connect the MCP server.
4. 2. Call standalone tools only.
5. 3. Interpret scores (1–10).
6. 4. Run the feedback loop.

- Resolve its `scripts/`, `references/`, `assets/` and template paths against `references/upstream/`, not the project root. Source skill names map through [SOURCE.json](SOURCE.json) (`bossku skills show <id>`). ECC slash commands, agent names and package-root paths are not installed: use what this host has, or say what is missing.
- Check the CodeScene MCP server version installed, the tools it lists, and its latest stable release, checked live at work time, and the source prerequisites first. A documented command is an example, not permission to install packages, add an account, expose secrets, upload private content or change an external service.
- It can need a named provider, MCP server or API: check that it is available and in scope, report it when it is not, and never invent its output.

## Done when

Apply the source “Security and boundaries”, “How It Works” guidance to the concrete request. Return the resulting code health mcp (codescene) artifact or diagnosis with source/command evidence for each conclusion.

- Compare scores only within one tool version. Record the score before and after a change, with the commit ID.
- Meet every check in the [shared quality bar](../../references/checklists/engineering-quality-bar.md).

If an input, provider, runtime or authorisation is missing, stop that step, carry on with read-only analysis, and say exactly what is missing. A generated plan alone is not completion.

Adapted from the locally reviewed `affaan-m/ECC` snapshot: provenance and hashes in [SOURCE.json](SOURCE.json), the original text and resources in [references/upstream/](references/upstream/SKILL.md) under its [MIT licence](references/upstream/LICENSE). Copyright (c) 2026 Affaan Mustafa.

