Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

graph-it-live实时绘制图表

Agent Skill

graph-it-live 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

GitHub Stars

公开资料未说明

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:graph-it-live(实时绘制图表)
来源仓库:https://github.com/magic5644/skills
仓库路径:skills/graph-it-live
安装命令:
npx skills add https://github.com/magic5644/skills --skill graph-it-live
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/magic5644/skills --skill graph-it-live

简介

graph-it-live 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它能帮助 Agent 搜索实时绘图工具、匹配流数据处理或复用可视化框架。
  • 通过 npx skills add 命令从指定仓库安装,具体用法请参考原始 README。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Graph-It-Live

AI-first dependency intelligence CLI for codebase analysis. Analyze dependencies, call graphs, symbols, impact, and architecture from any agent-compatible IDE or CLI.

When to Use

  • Analyze file dependencies and imports
  • Trace function execution across files
  • Find all callers of a symbol (function, class, method)
  • Detect breaking changes before refactoring
  • Find unused exports / dead code
  • Generate a codemap (structural overview) of any file
  • Analyze intra-file call hierarchy and logic flow
  • Crawl the full dependency tree from an entry point
  • Find all files that import a given file (reverse lookup)
  • Detect circular dependencies / cycles
  • Check impact of changing a function signature
  • Get a workspace architecture overview

Quick Start — Installation

Requires Node.js v20+.

# Install globally
npm install -g @magic5644/graph-it-live

# Or run without installing
npx @magic5644/graph-it-live <command>

After global install, graph-it is available on PATH. Verify:

graph-it --version

Supported Languages

TypeScript, JavaScript, Python, Rust, C#, Go, Java, Vue, Svelte, GraphQL.

CLI Commands Reference

Index the Workspace

Always run scan first to build the dependency index. All other commands depend on it.

graph-it scan

Re-run after significant file changes to refresh the index.

Workspace Overview

graph-it summary                   # Full workspace overview
graph-it summary src/api.ts        # Per-file codemap

The per-file codemap returns: exports, internals, dependencies, dependents, call flow, cycles.

Trace Execution Flow

Trace the complete call chain starting from a function:

graph-it trace src/index.ts#main
graph-it trace src/auth.ts#validateToken

Format: <filePath>#<functionName>. Use absolute or relative paths.

Analyze File Logic

Show the intra-file call hierarchy — which functions call which, in what order:

graph-it explain src/server.ts

Returns entry points, call tree, and internal cycles.

Dependency Graph

Crawl the full dependency tree from an entry file:

graph-it path src/index.ts

Shows all transitive imports and detects circular dependencies.

Find Unused Exports

Detect dead code — exported symbols that no other file imports:

graph-it check src/api.ts

Output Formats

All commands support --format:

FormatDescription
textHuman-readable (default)
jsonStructured JSON
toonToken-Optimized Object Notation (30-60% smaller, best for AI)
markdownJSON wrapped in Markdown code blocks
mermaidMermaid diagram (trace and path only)
graph-it summary src/api.ts --format toon
graph-it path src/index.ts --format mermaid
graph-it trace src/index.ts#main --format json

Prefer --format toon when consuming output programmatically — it saves 30-60% tokens.

Advanced: MCP Tool Invocation

The CLI can invoke any of the 21 MCP tools directly:

graph-it tool --list                    # List all available tools
graph-it tool <tool_name> [--params]    # Invoke a specific tool

Available MCP Tools

ToolDescription
analyze_dependenciesDirect imports and exports of a file
crawl_dependency_graphFull dependency tree from an entry file
find_referencing_filesAll files that import a given file (reverse lookup)
expand_nodeExpand a node to discover dependencies beyond known paths
parse_importsParse raw import statements without path resolution
verify_dependency_usageCheck whether a specific import is actually used
resolve_module_pathResolve a module specifier to an absolute file path
get_symbol_graphSymbol-level dependencies within a file
find_unused_symbolsDead code detection — unused exported symbols
get_symbol_dependentsAll symbols that depend on a specific symbol
trace_function_executionFull recursive call chain from a function
get_symbol_callersAll callers of a symbol (O(1) instant lookup)
analyze_breaking_changesDetect breaking changes when modifying function signatures
get_impact_analysisFull impact: callers + breaking changes combined
get_index_statusCurrent state of the dependency index
invalidate_filesFlush cache for specific files after modifications
rebuild_indexRebuild the entire dependency index from scratch
analyze_file_logicIntra-file call hierarchy and code flow
generate_codemapComprehensive structural overview of any source file
query_call_graphBFS callers/callees via the SQLite call graph index
set_workspaceSet the project directory to analyze

Tool Invocation Examples

# Analyze a single file's dependencies
graph-it tool analyze_dependencies --filePath=/abs/path/to/file.ts

# Find all files importing a specific file
graph-it tool find_referencing_files --filePath=/abs/path/to/file.ts

# Get all callers of a symbol
graph-it tool get_symbol_callers --filePath=/abs/path/to/file.ts --symbolName=myFunction

# Full impact analysis
graph-it tool get_impact_analysis --filePath=/abs/path/to/file.ts --symbolName=calculateTotal

# Detect breaking changes
graph-it tool analyze_breaking_changes --filePath=/abs/path/to/file.ts --symbolName=processData

# Generate codemap
graph-it tool generate_codemap --filePath=/abs/path/to/file.ts

# Query call graph (BFS)
graph-it tool query_call_graph --symbolName=handleRequest --direction=callers --maxDepth=3

Important: Tool --filePath arguments require absolute paths.

MCP Server Mode

Launch as an MCP server for AI client integration (no VS Code required):

graph-it serve

MCP Client Configuration

VS Code / Cursor (.vscode/mcp.json or .cursor/mcp.json):

{
  "servers": {
    "graph-it-live": {
      "type": "stdio",
      "command": "graph-it",
      "args": ["serve"],
      "env": { "WORKSPACE_ROOT": "${workspaceFolder}" }
    }
  }
}

Claude Desktop (~/.config/claude/claude_desktop_config.json):

{
  "mcpServers": {
    "graph-it-live": {
      "command": "graph-it",
      "args": ["serve"],
      "env": { "WORKSPACE_ROOT": "/path/to/project" }
    }
  }
}

Claude Code CLI:

claude mcp add graph-it -- graph-it serve

Windsurf (~/.codeium/windsurf/mcp_config.json):

{
  "mcpServers": {
    "graph-it-live": {
      "command": "graph-it",
      "args": ["serve"],
      "env": { "WORKSPACE_ROOT": "${workspaceFolder}" }
    }
  }
}

VS Code Extension (Alternative)

Graph-It-Live is also a VS Code extension with native LM Tools for Copilot Agent mode (no MCP setup needed).

Install from Marketplace: search "Graph-It-Live" in Extensions (Ctrl+Shift+X).

Enable MCP server in extension: set graph-it-live.enableMcpServer to true in VS Code settings.

Common Workflows

"What breaks if I change this function?"

graph-it scan
graph-it tool get_impact_analysis --filePath=/abs/path/file.ts --symbolName=myFunction

"Give me an overview of this module"

graph-it summary src/auth/index.ts --format toon

"Find dead code in my project"

graph-it check src/utils.ts
graph-it tool find_unused_symbols --filePath=/abs/path/utils.ts

"Trace the execution from main()"

graph-it trace src/index.ts#main --format mermaid

"Are there circular dependencies?"

graph-it path src/index.ts

Cycles are auto-detected and reported.

"Who calls this function across the project?"

graph-it tool get_symbol_callers --filePath=/abs/path/file.ts --symbolName=formatDate

Update

graph-it update

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.76%
按下载量换算26

Claude

29.36%
按下载量换算23

Cursor

19%
按下载量换算15

Gemini CLI

9.23%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills