← Back to Skills Marketplace
Codegraph Assistant
by
huangxianzhan
· GitHub ↗
· v1.0.0
· MIT-0
27
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install codegraph-assistant
Description
一键代码图谱助手 — 包装 npm codegraph,自动初始化/索引/注入上下文。让 DeepSeek TUI 编程时一句话拿到项目结构、符号索引、影响分析。
README (SKILL.md)
CodeGraph Assistant
npm codegraph 的加速包装器。不需要手动
codegraph init -i→query三步走。
解决的问题
| 无此技能 | 有此技能 |
|---|---|
手动 codegraph init -i 每项目 |
setup 一键完成 |
codegraph context "fix bug" 怕输错格式 |
ask "你的问题" 自动组命令 |
| 不知道改了影响哪些测试 | affected file.py 直接出结果 |
| 不会注入到 memory | inject 写入 MEMORY.md |
命令
python codegraph_assist.py setup [path] # init + index 项目
python codegraph_assist.py ask "问题描述" # 生成任务上下文 (markdown)
python codegraph_assist.py query "类名" # 搜索符号
python codegraph_assist.py affected file.py # 改动影响分析
python codegraph_assist.py inject [path] # 注入摘要到 MEMORY.md
python codegraph_assist.py status [path] # 索引统计
依赖
npm codegraph(@colbymchenry/codegraph)已全局安装- Python 3.11+
典型工作流
# 新项目
cd myproject
codegraph-assistant setup # 30s,一次性
# 编程时
codegraph-assistant ask "重构数据库连接层"
# → 输出 markdown 上下文,含入口点、相关符号、调用链
集成
DeepSeek TUI 可通过 exec_shell 直接调用:
> codegraph_assist.py query "ClassName" -j # 拿 JSON 结果
> codegraph_assist.py affected src/file.py # 改动前检查
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install codegraph-assistant - After installation, invoke the skill by name or use
/codegraph-assistant - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of CodeGraph Assistant.
- Provides a wrapper for npm codegraph, enabling one-click project setup, indexing, and context injection.
- Automates codegraph initialization, indexing, query, and context tasks with single commands.
- Offers commands for project setup, symbol search, impact analysis, and injecting summaries into MEMORY.md.
- Simplifies integration with DeepSeek TUI for enhanced code navigation and analysis.
- Requires globally installed npm codegraph and Python 3.11+.
Metadata
Frequently Asked Questions
What is Codegraph Assistant?
一键代码图谱助手 — 包装 npm codegraph,自动初始化/索引/注入上下文。让 DeepSeek TUI 编程时一句话拿到项目结构、符号索引、影响分析。 It is an AI Agent Skill for Claude Code / OpenClaw, with 27 downloads so far.
How do I install Codegraph Assistant?
Run "/install codegraph-assistant" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Codegraph Assistant free?
Yes, Codegraph Assistant is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Codegraph Assistant support?
Codegraph Assistant is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Codegraph Assistant?
It is built and maintained by huangxianzhan (@huangxianzhan); the current version is v1.0.0.
More Skills