repotalk

Analyzes code repository structure, traces dependencies, and searches code semantically via gdpa-cli.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill repotalk-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repotalk
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/repotalk
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill repotalk-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Understanding an unfamiliar codebase—locating where a function is implemented, tracing its callers and callees, or finding code by meaning—normally requires cloning the repo and reading files manually. This Skill provides structured remote access to repository structure, AST-level node details, and semantic code search without local checkout. ## Core Features & Use Cases - Hierarchical Code Location: Drill down from repository overview to packages, files, and individual nodes (functions, types, variables), then inspect dependency, reference, inheritance, and implementation relationships. - Semantic Code Search: Query code with natural language questions (e.g., "where is the auth middleware") across one or more repositories. - Service & Infra Lookup: Retrieve HTTP/RPC service API details, RPC call information for a PSM, and usage guidance for ByteDance internal components like Hertz, Kitex, Redis, and MySQL. - Use Case: When asked "how does generic invocation work in Kitex", start with get_repos_detail on the repo, narrow to the relevant package and file, then use get_nodes_detail recursively to map the full call chain before answering. ## Quick Start Ask the agent to analyze how a specific feature is implemented in a repository, for example: use repotalk to trace the callers of Closer.Close in github.com/cloudwego/kitex.

Frequently Asked Questions about repotalk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace a function's callers and callees in a remote repository?

Use the get_nodes_detail action with the repo name and node ID in the format module?namespace#Symbol.Name. The response includes dependencies, references, inherits, and implements relations, and you can call it recursively to map multi-level indirect call chains.

How to search code semantically using natural language?

Use the search_nodes action with a question and one or more repo names, optionally scoped by package IDs. Questions work best with Chinese keywords while keeping code identifiers in their original form.

Can I look up ByteDance internal component usage like Hertz or Kitex?

Yes, the infra_search action returns usage guidance for internal components such as Hertz, Kitex, Redis, and MySQL. Queries must follow the pattern component plus usage, and combining multiple components in one question is not supported.

How do I get RPC call information for a PSM?

Use the get_rpcinfo action with the PSM name and optionally a method name. It returns the import path under code.byted.org/overpass and the RawCall invocation pattern, with dots in the PSM replaced by underscores.

Why does get_files_detail not return the file I requested?

If the requested file does not exist, the action returns the list of all available files instead. Follow the get_repos_detail to get_packages_detail to get_files_detail path to discover correct paths, and use get_asset_file for non-code files like README or IDL.

Does repotalk require manual authentication setup?

No manual token handling is needed. JWT tokens are obtained automatically for the CN region, but you must run gdp login once before first use, and the gdp tool is installed automatically if missing.