Agent skill

Code Nav

by ncatbot in ncatbot/NcatBot

定位 NcatBot 代码实现:锁定模块目录、找到关键类/函数、追踪调用链。当文档不够时才读代码,用搜索而非遍历。Use when: 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位。

Custom licenceAuto-check passed

Install Code Nav

skills CLI
$ npx skills add ncatbot/NcatBot --skill code-nav -a claude-code

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

GitHub CLI
$ gh skill install ncatbot/NcatBot code-nav --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/ncatbot/NcatBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/code-nav .claude/skills/code-nav && 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
code-nav
GitHub stars
115
Token cost
~460 tokens
SKILL.md length
100 words
Files
3 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

定位 NcatBot 代码实现:锁定模块目录、找到关键类/函数、追踪调用链。当文档不够时才读代码,用搜索而非遍历。Use when: 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位。

  • Works in 3 steps: :锁定模块 → :精准定位 → :输出
  • : 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位
  • SKILL.md covers 工作流, Step 1:锁定模块, Step 2:精准定位 and Step 3:输出
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Code Nav is an agent skill from ncatbot/NcatBot. 定位 NcatBot 代码实现:锁定模块目录、找到关键类/函数、追踪调用链。当文档不够时才读代码,用搜索而非遍历。Use when: 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位。

Its SKILL.md is about 460 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/event-chains.md` and `references/module-code-map.md`).

The repository describes itself as: NapCat Python SDK;快速开发你的 QQ 机器人.

When your agent uses it

  • : 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位

Example prompts

  • “/code-nav”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. :锁定模块
  2. :精准定位
  3. :输出

What it can do on your machine

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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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

Code Nav loads about 460 tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 31 tokens; SKILL.md has 100 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~31
When it runs · the whole SKILL.md, loaded when a task matches
~460
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 100 words (~460 tokens).

name
code-nav

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in .agents/skills/code-nav of ncatbot/NcatBot.

  • SKILL.md
  • references/event-chains.md
  • references/module-code-map.md

Open the folder on GitHubat commit c26300a

Compare with similar skills

Code Nav 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.

Code Nav compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code Nav this skillncatbot/NcatBot115—~460Automated safety check: PassCustom licence
Nav Startqf-studio/navigator354—~4.6kAutomated safety check: NotesMIT
Nav Compactqf-studio/navigator354—~2.1kAutomated safety check: NotesMIT
Nav Diagnoseqf-studio/navigator354—~2.4kAutomated safety check: NotesMIT
Nav Featuresqf-studio/navigator354—~3kAutomated safety check: NotesMIT
Nav Initqf-studio/navigator354—~3kAutomated safety check: NotesMIT

Similar skills

  • Nav Start

    qf-studio/navigator

    Load Navigator documentation navigator when starting development session, resuming work, or beginning new feature.

    354 GitHub stars~4.6k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Nav Compact

    qf-studio/navigator

    Clear conversation context while preserving knowledge via context marker.

    354 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check: notes
  • Nav Diagnose

    qf-studio/navigator

    Detect quality drops in AI output and prompt re-anchoring. An agent skill from qf-studio/navigator.

    354 GitHub stars~2.4k tokensUpdated yesterday
    Auto-check: notes
  • Nav Features

    qf-studio/navigator

    Show and toggle Navigator features. An agent skill from qf-studio/navigator.

    354 GitHub stars~3k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Nav Init

    qf-studio/navigator

    Initialize Navigator documentation structure in a project. An agent skill from qf-studio/navigator.

    354 GitHub stars~3k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Nav Loop

    qf-studio/navigator

    Run tasks until complete with structured completion signals.

    354 GitHub stars~4.4k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes

More from ncatbot/NcatBot

All 12 skills in this repo
  • Docs Maintenance

    ncatbot/NcatBot

    维护 NcatBot 项目文档、示例、Skills 知识资产。编写/编辑文档、修复文档问题、文档结构规范审查。Use when: 写文档、改文档、新增文档、修复断链、修复索引、修复代码块标注、文档规范、文档模板、文档结构设计、docs maintenance。

    115 GitHub stars~722 tokensUpdated 3 days ago
    Auto-check passed
  • Docs Sync

    ncatbot/NcatBot

    整体/局部防腐检查:Docs 内部链接断裂、README 索引不同步、guide↔reference 内容不一致、examples 导入过时、Code↔Docs API 对齐。逐文件检查,最大化并发 subagent。Use when: docs 防腐、docs 链接、docs 断链、断链检查、docs 审计、docs audit、code docs 对齐、reference 过时、guide…

    115 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Framework Usage

    ncatbot/NcatBot

    使用 NcatBot 框架开发 QQ 机器人或跨平台 Bot。当用户需要快速体验、创建插件、注册事件处理、发送消息、调用 Bot API、使用 Mixin/Hook、使用 CLI 工具、编写插件测试、或调试运行问题时触发此技能。Use when: 开发…

    115 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Plugin Migration

    ncatbot/NcatBot

    将 NcatBot 4.4/4.5 版本插件迁移到 5.0。包括导入路径、注册方式、Config/Data API、事件类型、消息构造的全面映射。Use when: 迁移插件、升级插件、4 转 5、老版本、旧版本、migration、upgrade、plugin migration、版本升级。

    115 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Release

    ncatbot/NcatBot

    发布 NcatBot 新版本到 PyPI 和 GitHub Release,或仅编排 Commit 推送到 main。从工作区变更编排 commit 到最终发布的全链路流程。Use when: 发版、release、发布、changelog、版本号、pick commits、挑选提交、release notes、编排 commit、push、推送。

    115 GitHub stars~513 tokensUpdated 3 days ago
    Auto-check passed
  • Skills Sync

    ncatbot/NcatBot

    检查、报告、修复 Skills 间链接内容不同步,以及 Skills↔Docs 内容链接不同步。逐文件检查,最大化并发 subagent。Use when: skill 同步、skill 断链、skill 引用、skill 过时、skill audit、skills 一致性、skill 检查、skill↔docs。

    115 GitHub stars~694 tokensUpdated 3 days ago
    Auto-check passed

Questions about Code Nav

What does Code Nav do?

定位 NcatBot 代码实现:锁定模块目录、找到关键类/函数、追踪调用链。当文档不够时才读代码,用搜索而非遍历。Use when: 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位。. Code Nav is an agent skill from ncatbot/NcatBot.

When should I use Code Nav?

Code Nav fits situations like: : 找代码实现、哪个文件、哪个类、追踪调用链、定位 bug 行号、代码在哪、模块目录、源码定位.

How do I install Code Nav in Claude Code?

Run `npx skills add ncatbot/NcatBot --skill code-nav -a claude-code`. Or copy the skill folder (.agents/skills/code-nav in ncatbot/NcatBot) into .claude/skills/code-nav in your project. Claude Code loads it when a task matches its description.

How do I install Code Nav in Codex?

Run `npx skills add ncatbot/NcatBot --skill code-nav -a codex`. Or copy the skill folder (.agents/skills/code-nav in ncatbot/NcatBot) into .agents/skills/code-nav in your project. Codex loads it when a task matches its description.

Can I use Code Nav 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 ncatbot/NcatBot --skill code-nav -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-nav, .gemini/skills/code-nav, .github/skills/code-nav and .opencode/skills/code-nav in your project.

What does Code Nav need to run?

SKILL.md names no scripts, command-line tools or credentials: Code Nav is instructions for the agent only.

Does Code Nav access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code Nav 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 Code Nav use?

Code Nav has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Code Nav use?

About 460 tokens (SKILL.md is roughly 1.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.4k tokens, read only when the agent opens those files.

What are the alternatives to Code Nav?

Skills that share tags, products or a category with Code Nav: Nav Start (qf-studio/navigator, 354 stars), Nav Compact (qf-studio/navigator, 354 stars), Nav Diagnose (qf-studio/navigator, 354 stars) and Nav Features (qf-studio/navigator, 354 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code Nav?

ncatbot (a GitHub organization) maintains it in ncatbot/NcatBot, which has 115 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 4, 2026.

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