Agent skill

Nexus Query

by Haaaiawd in Haaaiawd/Nexus-skills

Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact…

No licenceAuto-check passedDevelopment

Install Nexus Query

skills CLI
$ npx skills add Haaaiawd/Nexus-skills --skill nexus-query -a claude-code

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

GitHub CLI
$ gh skill install Haaaiawd/Nexus-skills nexus-query --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/Haaaiawd/Nexus-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/nexus-query .claude/skills/nexus-query && 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
nexus-query
GitHub stars
166
Token cost
~1.1k tokens
SKILL.md length
161 words
Files
6 (incl. scripts)
Skills in repo
2
Repo updated
First seen
Licence
None found

At a glance

Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact…

  • Tasks that involve Refactoring
  • SKILL.md covers 何时调用, 前提:确保 ast_nodes.json 可用, 五个查询模式 and 场景速查, plus 1 more section
  • Runs Python scripts from its folder; calls python and pip
  • Tasks that involve Knowledge bases

What it does

Nexus Query is an agent skill from Haaaiawd/Nexus-skills. Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact radius of this feature change', 'which module is the true high-coupling hotspot in this legacy codebase'. Essential before any interface change, continuous refactoring task, sprint work estimation, or when navigating unfamiliar or large legacy codebases. Requires Python 3.10+ and shell. Use nexus-mapper instead when…

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `scripts/extract_ast.py`, `scripts/git_detective.py` and `scripts/languages.json`).

It sits in Development, covering Refactoring and Knowledge bases. It works with Python and Git. The repository describes itself as: AI-native codebase intelligence skills — generate persistent .nexus-map/ knowledge bases and instantly query file structure, dependency graphs, and change impact. Built for…

When your agent uses it

  • Tasks that involve Refactoring
  • Tasks that involve Knowledge bases

Example prompts

  • “who depends on this interface before I refactor it”
  • “how many modules break if I change this”
  • “what is the real impact radius of this feature change”
  • “/nexus-query”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 09d5601. 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

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use pip, 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

Nexus Query loads about 1.1k tokens when it runs. Until then it costs about 142 tokens; SKILL.md has 161 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

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

name
nexus-query

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (scripts) in skills/nexus-query of Haaaiawd/Nexus-skills.

  • SKILL.md
  • scripts/extract_ast.py
  • scripts/git_detective.py
  • scripts/languages.json
  • scripts/query_graph.py
  • scripts/requirements.txt

Open the folder on GitHubat commit 09d5601

Compare with similar skills

Nexus Query 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.

Nexus Query compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nexus Query this skillHaaaiawd/Nexus-skills166—~1.1kAutomated safety check: PassNone
Adk Reviewgoogle/adk-python22k—~1.7kAutomated safety check: PassApache-2.0
Code RefinerMathews-Tom/armory329—~3.1kAutomated safety check: PassMIT
Acquire Codebase Knowledgegithub/awesome-copilot40k1 repos~2.3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT
Codexskills-directory/skill-codex1.5k3 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Adk Review

    google/adk-python

    Official

    Reviews the uncommitted changes in an adk-python working tree and reports correctness, design, public-API stability, test, sample and documentation gaps as a prioritized findings report, fixing them…

    22k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Refiner

    Mathews-Tom/armory

    Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.

    329 GitHub stars~3.1k tokensUpdated 4 days ago
    DevelopmentAuto-check passed
  • Acquire Codebase Knowledge

    github/awesome-copilot

    Official

    Maps an unfamiliar codebase into seven evidence-backed documents in docs/codebase/, using a scan script and templates, for onboarding or architecture write-ups.

    40k GitHub starsUsed in 1 repo~2.3k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Codex

    skills-directory/skill-codex

    A skill your agent uses when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing

    1.5k GitHub starsUsed in 3 repos~1.8k tokens
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed

More from Haaaiawd/Nexus-skills

  • Nexus Mapper

    Haaaiawd/Nexus-skills

    Generate a persistent .nexus-map/ knowledge base that lets any AI session instantly understand a codebase's architecture, systems, dependencies, and change hotspots.

    166 GitHub stars~2.5k tokensUpdated 6 mo ago
    Auto-check: notes

Works with

Questions about Nexus Query

What does Nexus Query do?

Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact…. Nexus Query is an agent skill from Haaaiawd/Nexus-skills. Precise, instant code structure queries for active development — answer 'who depends on this interface before I refactor it', 'how many modules break if I change this', 'what is the real impact radius of this feature change', 'which module is the true high-coupling hotspot in this legacy codebase'.

When should I use Nexus Query?

Nexus Query fits situations like: tasks that involve Refactoring; tasks that involve Knowledge bases.

How do I install Nexus Query in Claude Code?

Run `npx skills add Haaaiawd/Nexus-skills --skill nexus-query -a claude-code`. Or copy the skill folder (skills/nexus-query in Haaaiawd/Nexus-skills) into .claude/skills/nexus-query in your project. Claude Code loads it when a task matches its description.

How do I install Nexus Query in Codex?

Run `npx skills add Haaaiawd/Nexus-skills --skill nexus-query -a codex`. Or copy the skill folder (skills/nexus-query in Haaaiawd/Nexus-skills) into .agents/skills/nexus-query in your project. Codex loads it when a task matches its description.

Can I use Nexus Query 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 Haaaiawd/Nexus-skills --skill nexus-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nexus-query, .gemini/skills/nexus-query, .github/skills/nexus-query and .opencode/skills/nexus-query in your project.

What does Nexus Query need to run?

Going by SKILL.md and its folder, Nexus Query needs Python for the scripts in its folder and the command-line tools its instructions call (python and pip). Our summary lists: Python 3.

Does Nexus Query access the network?

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

Is Nexus Query 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Nexus Query use?

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

How many tokens does Nexus Query use?

About 1.1k tokens (SKILL.md is roughly 4.3k 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 Nexus Query?

Skills that share tags, products or a category with Nexus Query: Adk Review (google/adk-python, 22k stars), Code Refiner (Mathews-Tom/armory, 329 stars), Acquire Codebase Knowledge (github/awesome-copilot, 40k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nexus Query?

Haaaiawd (a GitHub user) maintains it in Haaaiawd/Nexus-skills, which has 166 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on March 31, 2026.

Source: Haaaiawd/Nexus-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.