You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e511be9
Browse filesBrowse the repository at this point in the historyBrowse files
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose all 20 codegraph CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose 21 of codegraph's 23 CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
Copy file name to clipboardExpand all lines: .codex-plugin/plugin.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "codegraph",
3
-
"version": "0.1.6+codex.20261003",
4
-
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose all 20 codegraph CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
3
+
"version": "0.1.7+codex.20261009",
4
+
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose 21 of codegraph's 23 CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
5
5
"author": {
6
6
"name": "Full Stack Plugins",
7
7
"url": "https://github.com/full-stack-plugins"
@@ -19,8 +19,8 @@
19
19
"skills": "./skills/",
20
20
"interface": {
21
21
"displayName": "CodeGraph",
22
-
"shortDescription": "Discoverable codegraph — official prompt + all CLI commands",
23
-
"longDescription": "Injects the official CodeGraph prompt at SessionStart (only when `.codegraph/` exists). Exposes all 20 codegraph CLI commands as slash commands. Pure Python stdlib.",
22
+
"shortDescription": "Discoverable codegraph — official prompt + 21 CLI commands",
23
+
"longDescription": "Injects the official CodeGraph prompt at SessionStart (only when `.codegraph/` exists). Exposes 21 of codegraph's 23 CLI commands as slash commands. Pure Python stdlib.",
Copy file name to clipboardExpand all lines: .zcode-plugin/plugin.json
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@
5
5
"en": "CodeGraph",
6
6
"zh-CN": "CodeGraph 代码智能"
7
7
},
8
-
"version": "0.1.6",
9
-
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose all 20 codegraph CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
8
+
"version": "0.1.7",
9
+
"description": "Inject the official CodeGraph prompt at session start (only when a `.codegraph/` directory exists) and expose 21 of codegraph's 23 CLI commands as slash commands for Codex/ZCode/Kimi/Claude Code. Pure Python stdlib.",
10
10
"description_i18n": {
11
-
"en": "At SessionStart, when a `.codegraph/` directory exists, this plugin writes the official CodeGraph prompt block to `<cwd>/.claude/CLAUDE.md` or `<cwd>/AGENTS.md`, and injects the same block as SessionStart additionalContext. Exposes all 20 codegraph CLI commands as slash commands.",
11
+
"en": "At SessionStart, when a `.codegraph/` directory exists, this plugin writes the official CodeGraph prompt block to `<cwd>/.claude/CLAUDE.md` or `<cwd>/AGENTS.md`, and injects the same block as SessionStart additionalContext. Exposes 21 of codegraph's 23 CLI commands as slash commands.",
> Discoverable CodeGraph — official prompt injection + all 20 CLI commands as slash commands, for Codex / ZCode / Kimi / Claude Code.
12
+
> Discoverable CodeGraph — official prompt injection + 21 of the 23 CLI commands as slash commands, for Codex / ZCode / Kimi / Claude Code.
13
13
14
14

15
15
@@ -20,7 +20,7 @@ Three things, and **only** these three:
20
20
1.**At session start**, when `<cwd>/.codegraph/` exists, this plugin injects the official CodeGraph prompt block (verbatim from upstream `codegraph/src/installer/instructions-template.ts`) into:
21
21
- The current session, via `SessionStart.additionalContext` JSON output.
22
22
-`<cwd>/.claude/CLAUDE.md` if it exists; else `<cwd>/AGENTS.md`. Uses atomic, marker-fenced section replacement — byte-equal content is a no-op, so this is safe to run alongside `codegraph install`.
23
-
2.**Exposes all 20 codegraph CLI commands** as slash commands in two formats: JSON (`commands/*.json`, declared in `kimi.plugin.json`) and Markdown (`kimi-commands/*.md`), including the four hidden-but-useful maintenance commands (`daemon`, `unlock`, `version`, `telemetry`).
23
+
2.**Exposes 21 of codegraph's 23 CLI commands** as slash commands in two formats: JSON (`commands/*.json`, declared in `kimi.plugin.json`) and Markdown (`kimi-commands/*.md`), including the four hidden-but-useful maintenance commands (`daemon`, `unlock`, `version`, `telemetry`).
24
24
3.**Registers a discovery skill** (`codegraph-helper`) that conditions the agent to use the right CodeGraph MCP tool for the task at hand.
25
25
26
26
## What this plugin does **not** do
@@ -43,7 +43,7 @@ Three things, and **only** these three:
43
43
44
44
## Slash commands
45
45
46
-
20 commands, one per one. Format mirrors codegraph's CLI surface.
46
+
21 commands. Format mirrors codegraph's CLI surface. `help` and `ui`/`web` are intentionally not exposed: `help` is covered by the host, and `ui`/`web` opens a browser viewer meant for humans, not agents.
47
47
48
48
| Command | Equivalent CLI | What it does |
49
49
|---|---|---|
@@ -109,7 +109,7 @@ The plugin's contribution over `codegraph install` alone:
109
109
110
110
-**Two audiences covered**: codegraph's installer only writes files (reaches Task-tool subagents via the project instructions file); the plugin also emits `additionalContext` for the main agent at runtime.
111
111
-**AGENTS.md fallback**: if a project doesn't use `.claude/CLAUDE.md`, the plugin writes to `AGENTS.md` (the OpenSpec / multi-agent convention).
112
-
-**Slash commands**: codegraph install doesn't expose any; this plugin covers all 20.
112
+
-**Slash commands**: codegraph install doesn't expose any; this plugin covers 21 of 23 (everything except `help`, `ui`/`web`, and the two hidden `prompt-hook` / `serve --mcp`).
Copy file name to clipboardExpand all lines: RELEASE-NOTES.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
14
14
| Version | Date | Changes |
15
15
|---|---|---|
16
+
| 0.1.7 | 2026-10-09 | Fix MCP tool claims to match upstream `DEFAULT_MCP_TOOLS` (only `codegraph_explore` is listed to agents by default); drop the fabricated `codegraph affected` MCP alternative; add `/codegraph-context` (codegraph 1.6.0 command) for 21/23 coverage; re-sync prompt text against codegraph v1.6.0; fix `./codegraph/` path typo; align AGENTS.md wording with actual marketplace schema; add regression guard for non-default MCP tool claims |
After install, **in any indexed project** (`./codegraph/` exists), start a new session — the plugin auto-injects the official prompt.
67
+
After install, **in any indexed project** (`.codegraph/` exists), start a new session — the plugin auto-injects the official prompt.
67
68
68
69
In a non-indexed project, no action happens. To index:
69
70
@@ -85,7 +86,7 @@ No `PreToolUse` / `PostToolUse` / `UserPromptSubmit` / `Stop` hooks — this plu
85
86
86
87
## Slash commands
87
88
88
-
20 commands, one per`codegraph` CLI subcommand (excluding two hidden internal commands).
89
+
21 commands. Covers every`codegraph` CLI subcommand except `help` (the host has its own), `ui`/`web` (opens a browser viewer meant for humans, not agents), and the two hidden internal commands`prompt-hook` / `serve --mcp`.
89
90
90
91
### Index lifecycle
91
92
@@ -127,7 +128,7 @@ No `PreToolUse` / `PostToolUse` / `UserPromptSubmit` / `Stop` hooks — this plu
127
128
## Compatibility
128
129
129
130
-**Plugin host**: Claude Code (any version with `SessionStart.additionalContext` support), Codex, ZCode, Kimi.
130
-
-**Upstream**: `codegraph` v1.5.0 (verified at sync). The plugin's prompt block is verbatim from `codegraph/src/installer/instructions-template.ts:42-51`. When upstream's `instructions-template.ts` changes, this plugin's `scripts/codegraph_lib/prompt.py` must be re-synced and a patch version bumped (see `AGENTS.md` discipline).
131
+
-**Upstream**: `codegraph` v1.6.0 (re-verified 0.1.7, byte-equal, 805 bytes). The plugin's prompt block is verbatim from `codegraph/src/installer/instructions-template.ts:42-51`. When upstream's `instructions-template.ts` changes, this plugin's `scripts/codegraph_lib/prompt.py` must be re-synced and a patch version bumped (see `AGENTS.md` discipline).
131
132
-**Runtime**: pure Python stdlib. No `pip install`, no third-party runtime dependencies.
132
133
-**Filesystem**: writes to host instruction files only. Never auto-creates `<cwd>/.claude/` directory.
133
134
@@ -166,8 +167,8 @@ cd /Users/wandl/workspaces/workspace-agent-skills/full-stack-plugins-repositorie
0 commit comments