Agent skill

Codegraph QA

by QwenLM in QwenLM/qwen-code-examples

Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec).

No licenceAuto-check passedDevelopment

Install Codegraph QA

skills CLI
$ npx skills add QwenLM/qwen-code-examples --skill codegraph-qa -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install QwenLM/qwen-code-examples codegraph-qa --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/QwenLM/qwen-code-examples.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codegraph .claude/skills/codegraph-qa && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codegraph-qa
GitHub stars
143
Token cost
~4.3k tokens
SKILL.md length
1,407 words
Files
5
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec).

  • Works in 6 steps: Fetches the issue from GitHub (or loads… → Parses file paths, function names, and… → Matches extracted paths to File nodes in… → …
  • The user asks about code structure
  • SKILL.md covers When to Use This Skill, Getting Started, Two Interfaces: CLI vs Python and Core Python API, plus 7 more sections
  • Calls pip, python and gh

What it does

Codegraph QA is an agent skill from QwenLM/qwen-code-examples. Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec). Supports Python, JavaScript/TypeScript, C, and Java (including Hadoop-scale repositories). Covers call graphs, dependency analysis, dead code detection, hotspots, module coupling, architectural layering, commit history, change attribution, semantic code search, impact analysis, full architecture reports, and bug root cause analysis from GitHub issues. Use this skill whenever the user asks about code structure…

Its SKILL.md is about 4.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `bug-analysis.md`, `evals/evals.json` and `patterns.md`).

It sits in Development, covering Root cause analysis, Codebase onboarding and Knowledge graphs. It works with Java, Python, GitHub and JavaScript. The repository describes itself as: A collection of practical examples and best practices for Qwen Code.

When your agent uses it

  • The user asks about code structure
  • Code dependencies
  • Why something changed
  • Finding similar functions

Example prompts

  • “t mention”
  • “/codegraph-qa”

Requirements

  • Python 3

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Fetches the issue from GitHub (or loads from cache)
  2. Parses file paths, function names, and stack traces from the issue body
  3. Matches extracted paths to File nodes in the graph
  4. Uses semantic search (cross_locate) to find related code
  5. Traces callers of mentioned functions via impact()
  6. Ranks and returns root cause candidates with explanation

What it can do on your machine

Read from SKILL.md and the folder at commit 0ece9fe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pip
    • python
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codegraph QA loads about 4.3k tokens when it runs. Until then it costs about 255 tokens; SKILL.md has 1,407 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~255
When it runs · the whole SKILL.md, loaded when a task matches
~4.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,407 words (~4,279 tokens).

“CodeScope indexes source code into a two-layer knowledge graph — structure (functions, calls, imports, classes, modules) and evolution (commits, file changes, function modifications) — plus semantic embeddings for every function. Supports Python, JavaScript/TypeScript, C, and Java (including Hadoop-scale repositories with…”

— opening of SKILL.md by QwenLM
name
codegraph-qa

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files in skills/codegraph of QwenLM/qwen-code-examples.

  • SKILL.md
  • bug-analysis.md
  • evals/evals.json
  • patterns.md
  • schema.md

Open the folder on GitHubat commit 0ece9fe

Compare with similar skills

Codegraph QA next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codegraph QA compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codegraph QA this skillQwenLM/qwen-code-examples143—~4.3kAutomated safety check: PassNone
CodeScope Codebase Graph AnalysisQwenLM/qwen-code28k1 repos~9.3kAutomated safety check: PassApache-2.0
Cross-Language Coding Standardszereight/gitlab-mcp2k1 repos~1.4kAutomated safety check: PassMIT
LSP Symbol Navigation Guideweave-os/router5.6k—~794Automated safety check: PassApache-2.0
Code Explainermergisi/awesome-openclaw-agents4k—~283Automated safety check: PassMIT
Code To Chartrongxinzy/RongxinAI154—~596Automated safety check: PassMIT

Similar skills

  • Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.

    28k GitHub starsUsed in 1 repo~9.3k tokens
    DevelopmentAuto-check passed
  • Shared reference for naming, function size, complexity and error handling rules that reviewer agents apply across TypeScript, Python, Go, Rust, Java, C# and Swift.

    2k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Shows when to answer a code question through a real language server instead of grep, covering definitions, references, hover, outlines, and errors.

    5.6k GitHub stars~794 tokensUpdated today
    DevelopmentAuto-check passed
  • Code Explainer

    mergisi/awesome-openclaw-agents

    Explains a pasted code snippet in plain English, returning the detected language, a one-sentence summary, how it works and one practical tip.

    4k GitHub stars~283 tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Code To Chart

    rongxinzy/RongxinAI

    解析代码仓库的 import/依赖关系,自动生成架构图、流程图和组织架构图,输出 Mermaid 文本或 SVG 图片。支持 Python、JavaScript、TypeScript、Go 和 Java 项目。当用户需要可视化代码结构、分析模块依赖、生成架构文档,或提及“代码架构图”、“依赖关系图”、“流程图”、“组织架构图”、“Mermaid 图”等关键词时触发。

    154 GitHub stars~596 tokensUpdated today
    DevelopmentAuto-check passed
  • Failure Oriented Instrumentation

    ArabelaTso/Skills-4-SE

    Selectively instruments code to capture runtime data for debugging failures and bugs.

    253 GitHub stars~2.1k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from QwenLM/qwen-code-examples

All 9 skills in this repo
  • Dashboard Builder

    QwenLM/qwen-code-examples

    Build full-stack dashboard applications using React/Next.js + shadcn/ui + Tailwind CSS + Recharts + Express with customizable data sources.

    143 GitHub stars~3.3k tokensUpdated 4 mo ago
    Auto-check passed
  • Auto PR

    QwenLM/qwen-code-examples

    Automated PR submission assistant, including code review, documentation generation, and PR creation

    143 GitHub stars~790 tokensUpdated 4 mo ago
    Auto-check passed
  • Image Generation

    QwenLM/qwen-code-examples

    Image generation skill based on Alibaba Cloud DashScope, supporting the creation of high-quality hand-drawn or standard images from user descriptions.

    143 GitHub stars~568 tokensUpdated 4 mo ago
    Auto-check passed
  • Oss Styles

    QwenLM/qwen-code-examples

    为开源项目生成专业宣传视频,传入 {owner}/{repo} 参数 Triggers on "生成开源视频", "宣传视频", "oss video", "remotion video".

    143 GitHub stars~405 tokensUpdated 4 mo ago
    Auto-check passed
  • Browser Use

    QwenLM/qwen-code-examples

    Control browser pages using the Playwright MCP server. An agent skill from QwenLM/qwen-code-examples.

    143 GitHub stars~451 tokensUpdated 4 mo ago
    Auto-check passed
  • Computer Use

    QwenLM/qwen-code-examples

    Control the local desktop using the computer MCP tool from computer-use-mcp.

    143 GitHub stars~632 tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Codegraph QA

What does Codegraph QA do?

Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec). Codegraph QA is an agent skill from QwenLM/qwen-code-examples. Use CodeScope to analyze any indexed codebase via its graph database (neug) and vector index (zvec).

When should I use Codegraph QA?

Codegraph QA fits situations like: the user asks about code structure; code dependencies; why something changed; finding similar functions.

How do I install Codegraph QA in Claude Code?

Run `npx skills add QwenLM/qwen-code-examples --skill codegraph-qa -a claude-code`. Or copy the skill folder (skills/codegraph in QwenLM/qwen-code-examples) into .claude/skills/codegraph-qa in your project. Claude Code loads it when a task matches its description.

How do I install Codegraph QA in Codex?

Run `npx skills add QwenLM/qwen-code-examples --skill codegraph-qa -a codex`. Or copy the skill folder (skills/codegraph in QwenLM/qwen-code-examples) into .agents/skills/codegraph-qa in your project. Codex loads it when a task matches its description.

Can I use Codegraph QA in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add QwenLM/qwen-code-examples --skill codegraph-qa -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codegraph-qa, .gemini/skills/codegraph-qa, .github/skills/codegraph-qa and .opencode/skills/codegraph-qa in your project.

What does Codegraph QA need to run?

Going by SKILL.md and its folder, Codegraph QA needs the command-line tools its instructions call (pip, python and gh). Our summary lists: Python 3.

Does Codegraph QA access the network?

SKILL.md contains no URLs. Its commands use pip and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Codegraph QA safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codegraph QA use?

No licence was found for Codegraph QA or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Codegraph QA use?

About 4.3k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codegraph QA?

Skills that share tags, products or a category with Codegraph QA: CodeScope Codebase Graph Analysis (QwenLM/qwen-code, 28k stars), Cross-Language Coding Standards (zereight/gitlab-mcp, 2k stars), LSP Symbol Navigation Guide (weave-os/router, 5.6k stars) and Code Explainer (mergisi/awesome-openclaw-agents, 4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codegraph QA?

QwenLM (a GitHub organization) maintains it in QwenLM/qwen-code-examples, which has 143 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on May 19, 2026.

Source: QwenLM/qwen-code-examples on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.