Skip to content
Back to skills

Run Code Health

ASecurity

Use when the user asks to run the project's code-health GitHub workflow (`git.codeHealthWorkflow` in `.agent-kit/config.json`) from the terminal; local gates are check-all. `watch` follows the run to its end; `--full` forces a full-project scan.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
ai-agentsgit

Works with

  • terminal

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add ivan-ii-tech-digital/agent-kit --skill run-code-health --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Run Code Health?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Run Code Health
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ivan-ii-tech-digital-run-code-health/badge)](https://www.skillsdirectory.com/skills/ivan-ii-tech-digital-run-code-health)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: run-code-health
description: Use when the user asks to run the project's code-health GitHub workflow (`git.codeHealthWorkflow` in `.agent-kit/config.json`) from the terminal; local gates are check-all. `watch` follows the run to its end; `--full` forces a full-project scan.
model: haiku
argument-hint: "[watch] [--full]"
---

Tokens in `$ARGUMENTS` (order-independent): `watch`, `--full`. Any other token → error listing these two and stop.

0. Run `ak-forge which | cut -d' ' -f1`. `gitlab` → print `agent-kit: run-code-health is not available on GitLab yet` and stop.

   Then read the workflow (name or file name) from the config: run `ak-git-sync --print-config` (it changes nothing) and take its `code_health=` value.

   Empty → print `agent-kit: no code-health workflow configured` and stop. Call the value `<WF>`.

1. Dispatch: `ak-forge workflow run "<WF>"` (add `-f full_scan=true` when `--full`; the workflow must declare that input). It prints `{id,url}` of the run (when gh prints no run URL it waits up to 60 seconds for the run to appear). Any non-zero exit → surface its error verbatim and stop. Print `Run #<id>: <url>`.
2. Only when `watch`: run `ak-forge run watch <id>` with `run_in_background`, then print `Run #<id> succeeded|FAILED. <url>` from its exit status (0 succeeded).

Runs against the default branch only; never modifies local files, commits, or pushes.

No such workflow in the repo yet? The kit ships a template at
`${CLAUDE_PLUGIN_ROOT}/templates/workflows/code-health.yml`; setup guide: `docs/code-health.md`
in the agent-kit repo.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.