codexqa-defect-analyzer SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

codexqa-defect-analyzer from openqa-cn/openqa-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add openqa-cn/openqa-skills/codexqa-defect-analyzer@v0.0.2

Pins v0.0.2 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
openqa-cn/openqa-skills
Path
skills/codexqa-defect-analyzer/SKILL.md
Versions recorded
1
Latest version
v0.0.2, committed Sep 21, 2026
Size
14,444 bytes
Repository stars
236
License
Apache-2.0

AI defect detection and code-risk scanning for engineering projects. Use when the user asks for AI defect detection, code-risk scan, review a diff/MR/PR/commit (incremental), baseline-scan a repository (full), OR upload/paste code snippets for adhoc defect detection. Combines two detection dimensions — (1) deterministic SAST/lint/secrets/SCA and (2) one-round Agent LLM Detection by the invoking agent's embedded model (no separate LLM API key) — then dedupes and merges them into the final report.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Defect Detection

You are a codexqa-defect-analyzer orchestrator. Commands are English; user-facing text may be Chinese.
**Never** start semantic review before deterministic collect + context budget checks.

CLI: `python3 {baseDir}/scripts/run_scan.py` (`$SKILL_SCRIPT`). Runtime artifacts: `-o` report dir (default `/tmp/aid_report/`) and optional `{baseDir}/data/` feedback.

`README.md` / `README.zh-CN.md` / `HOW_IT_WORKS.md` / `KNOWN_LIMITATIONS.md` (and their `.zh-CN` twins) are human-facing. Do not load them at runtime.

## Boundaries

| Need | Skill |
|---|---|
| SAST + Agent LLM Detection → `report_scan.*` (P0–P3) | **this skill** (`codexqa-defect-analyzer`) |
| CodexQA evidence-pack + Agent LLM judgment → bilingual `REVIEW-REPORT.html` | `codexqa-code-reviewer` |
| Symbol-graph change impact, callers, test gaps | `codexqa-code-analyzer` |
| Exception RCA from stacks/logs on top of CLI analysis | `codexqa-rootcause-analyzer` |

## Detection dimensions

Final `report_scan.*` = **deduped merge** of two dimensions:

| Dimension | Who runs it | Output / provenance |
|-----------|-------------|---------------------|
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add openqa-cn/openqa-skills/codexqa-defect-analyzer@sha256:c4395343b67d92e1

The line at the top of this page pins the label v0.0.2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dwe2yuepaptamydb.svg)](https://markdownregistry.com/a/art_dwe2yuepaptamydb)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 21, 2026.

versioncommittedcommitsizeaudit
v0.0.2 latest2026-09-21 32a4af3 14,444 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14444 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

openqa-cn/openqa-skills · 236 stars · license Apache-2.0 · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dwe2yuepaptamydb
GET https://markdownregistry.com/api/v1/resolve?ref=openqa-cn/openqa-skills/codexqa-defect-analyzer
GET https://markdownregistry.com/api/v1/blob/c4395343b67d92e12cd79430af61653c58c2e1a9d98217095707f867f9e66fed

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from openqa-cn/openqa-skills

AGENTS.md AGENTS.md file
openqa-cn/openqa-skills · AGENTS.md
git:20260910.5903afe · audit A · 236 stars
llms.txt llms.txt file
openqa-cn/openqa-skills · llms.txt
git:20261003.7839542 · audit A · 236 stars
codexqa-change-analysis SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-change-analysis/SKILL.md · Change-impact analysis for one diff: use CodexQA diff indexing (`index --diff-base` tags nodes and files `add` /…
v1.0.0 · audit A · 236 stars
codexqa-code-analyzer SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-code-analyzer/SKILL.md · Queries a local CodexQA symbol graph for change review, regression scope, test gaps, error location, and entry risk…
v1.0.0 · audit A · 236 stars
codexqa-code-reviewer SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-code-reviewer/SKILL.md · Graph-evidence AI code review (codexqa-code-reviewer) for ANY language repo using ONLY the CodexQA CLI symbol graph…
v0.0.3 · audit A · 236 stars
codexqa-code-wiki SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-code-wiki/SKILL.md · Builds a local architecture wiki for a repository from the CodexQA symbol graph (no model needed): modules, who calls…
v2.0.0 · audit A · 236 stars
codexqa-jev-browser SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-jev-browser/SKILL.md · Jev browser automation with indexed actions. Replay YAML/Markdown/API cases, run goal-driven flows, generate cases, and…
git:20260928.a76bb7f · audit B · 236 stars
codexqa-requirement-analyzer SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-requirement-analyzer/SKILL.md · Full quality-and-risk analysis of requirement documents (single- or multi-source), producing one gap/conflict register…
git:20260921.32a4af3 · audit A · 236 stars
codexqa-rootcause-analyzer SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-rootcause-analyzer/SKILL.md · Diagnoses exception root causes from stack traces, logs, call-chain dumps, and debug output using the CodexQA CLI for…
v0.0.1 · audit A · 236 stars
codexqa-skill-router SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-skill-router/SKILL.md · Auto-routes a user request to the matching codexqa skill, then ensures that skill is on disk and follows its SKILL.md…
v1.2.0 · audit A · 236 stars
codexqa-testcase-generator SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-testcase-generator/SKILL.md · Generates test plans and test cases from local requirements for APP, Web, and server. Use when the user wants a test…
V56 · audit A · 236 stars
codexqa-testdata-generator SKILL.md skill
openqa-cn/openqa-skills · skills/codexqa-testdata-generator/SKILL.md · Constructs test data against real backends and writes it back into test cases as executable preconditions. Use whenever…
v1.0 · audit A · 236 stars

Every file in openqa-cn/openqa-skills

Other files named codexqa-defect-analyzer

codexqa-defect-analyzer SKILL.md skill
openqa-cn/codexqa · skills/codexqa-defect-analyzer/SKILL.md · AI defect detection and code-risk scanning for engineering projects. Use when the user asks for AI defect detection…
v0.0.2 · audit A · 236 stars

Browse by kind, by grade A, or by owner.