跳到正文
ccmods.app

constellation

v1.3.1

把 Claude Code 接入 Constellation 代码图谱:影响、依赖、死代码命令,/constellation pane 和搜索提醒。

作者 @ShiftinBits2更新于 广泛访问GitHub

安装

  1. 在终端执行(提示添加 marketplace 时输入 y)

    $ claude plugin install constellation --marketplace ShiftinBits/constellation-claude

已在会话中?在 Claude Code 输入框里输入:

$ /plugin install constellation --marketplace ShiftinBits/constellation-claude

选择作用域后立即生效。需要 Claude Code 2.1.287 或更高版本,在终端执行。完整安装指南

constellation 能做什么?

  • /constellation:impact、:deps、:unused、:architecture 命令查询已索引的代码图谱
  • /constellation pane 含 Status、Diagnose、Deps、Unused、Explore、Stats 标签
  • Grep、Glob 或 shell 中 grep/rg 搜索像符号时提醒 Claude 改用 code_intel,次数受 nudgeLimit 限制
  • prompt 上方显示索引新鲜度,改动文件的回合后附一行影响摘要
  • 可选影响关卡在编辑高影响文件前询问;gh pr create 时加入影响说明

需要什么?

  • Claude Code 2.1.287 或更高版本(终端)
  • Constellation 账号,且项目已建索引
  • CONSTELLATION_ACCESS_KEY,用 constellation CLI(constellation auth)设置
  • Node.js 与 npx(MCP server 通过 npx 运行)

这个 mod 能访问什么?

以下内容由 claude plugin validate 在 Claude Code 2.1.296 上读取 mod 代码得出(同步于 2026年10月12日)。这是能力清单,不是安全审计;mod 以你的权限运行,请只安装可信作者的 mod。

广泛访问
  • 在你的机器上运行程序
  • 发起网络请求
  • 可批准工具调用或修改设置
  • 拦截或改写工具调用
  • 读取文件
  • 读取环境变量或设置
Hook 与接口调用 (23 + 32)

hooks

  • classic.CwdChanged
  • classic.SessionStart
  • classic.SessionStart{source=clear|resume|fork}
  • classic.SubagentStart
  • classic.UserPromptSubmit
  • command.run{command=constellation}
  • config.set{key=theme|verbose}
  • session.start
  • tool.call{tool=/"^(Edit|Write|MultiEdit|NotebookEdit)$"/}
  • tool.call{tool=/"^(Grep|Bash)$"/}
  • tool.call{tool=/"^(Grep|Glob|Bash)$"/}
  • tool.call{tool=/"^Bash$"/}
  • tool.call{tool=/"code_intel$"/}
  • tool.call{tool=Bash}
  • tool.check{tool=/"^(Edit|Write|MultiEdit|NotebookEdit)$"/}
  • tool.describe{tool=/"^(Grep|Glob|Bash)$"/}
  • turn.complete
  • turn.start
  • ui.close{id=constellation}
  • ui.render{component=AbovePrompt}
  • ui.render{component=Pane, requestId=constellation}
  • ui.render{component=Spinner}
  • ui.render{component=ToolUse|ToolResult}

calls

  • $.clock.after
  • $.clock.every
  • $.clock.now
  • $.clock.sleep
  • $.command.register
  • $.command.run
  • $.config.list
  • $.env.get
  • $.env.set
  • $.fs.exists
  • $.fs.read
  • $.mcp.call
  • $.mcp.connect
  • $.process.run
  • $.process.spawn
  • $.prompt.fill
  • $.session.cwd
  • $.session.id
  • $.session.surfaces
  • $.store.delete
  • $.store.get
  • $.store.keys
  • $.store.set
  • $.tool.check
  • $.ui.ask
  • $.ui.close
  • $.ui.copy
  • $.ui.invalidate
  • $.ui.log
  • $.ui.open
  • $.ui.resolve
  • $.ui.toast

怎样卸载 constellation?

$ claude plugin uninstall constellation

只想暂时关闭:claude plugin disable 加同一个名称。

你是 constellation 的作者?

把这个徽章加到 README,用户可以直接跳到本页查看安装命令和访问能力报告。

Listed on ccmods.app
[![Listed on ccmods.app](https://ccmods.app/badge.svg)](https://ccmods.app/mods/constellation)

token-pilot

Digital-Threads/token-pilot

5

减少读代码消耗的 token:大文件 Read 返回大纲,重型 Grep 和 Bash 被改道,节省量显示在 prompt 上方。

界面提示词工具调用广泛访问
$ claude plugin install token-pilot --marketplace Digital-Threads/token-pilot

silica-core

kiycoh/silica-core

67

在本地为文件夹中的代码、markdown 和 PDF 建立索引,并引导 Claude 先用 silica_search 检索再 grep。

界面提示词命令广泛访问
$ claude plugin install silica-core --marketplace kiycoh/silica-core

sn

tehubersheezy/servicenow-cli

11

让 Claude 调用 sn ServiceNow 命令行,并在侧边 pane 列出每次 sn table 调用的状态、记录数和浏览器打开按钮。

界面工具调用命令广泛访问
$ claude plugin install sn --marketplace tehubersheezy/servicenow-cli