Generated client files (AGENTS.md block, SKILL.md) teach a call syntax no harness can execute
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- markdown
- Domain
- developer-experience, tooling
Research direction
Start by locating the installer code that generates the codebase-memory SKILL.md and the codebase-memory-mcp block in agent instruction files. Read the existing tool-call examples and confirm the supported invocation forms against the CLI or MCP tool definitions. Update the generated guidance with executable examples for native JSON arguments and code-execution calls; done when newly generated files explain the shorthand and show both forms.
Written by the indexing model from the issue text.
Description
Version
0.12.1
Platform
Linux (x64)
Install channel
GitHub release archive / install.sh / install.ps1
Binary variant
standard
What happened, and what did you expect?
The client instruction files generated by the installer (the codebase-memory-mcp block written into agent instruction files such as AGENTS.md/CLAUDE.md, and the generated codebase-memory SKILL.md) teach tool calls with a syntax that no harness can execute:
search_graph(name_pattern=".*OrderHandler.*")trace_path(function_name="OrderHandler", direction="inbound")get_code_snippet(qualified_name="pkg/orders.OrderHandler")
The tool(param="...") keyword-args-in-parens form matches no actual invocation path. MCP tools are invoked either as native tool calls (a JSON object of arguments), or — in harnesses that route MCP tools through a code-execution tool — as code like tools["codebase-memory-mcp"].search_graph({ name_pattern: "..." }). An agent that tries to follow the example literally cannot produce a valid call and tends to fall back to grep, which quietly defeats the "ALWAYS prefer MCP graph tools over grep/glob" instruction in the same block.
Expected: the generated guidance should be executable. Concretely:
- keep the
tool(param=...)notation as shorthand in tables/workflows, but state explicitly that it is tool + params shorthand, not literal syntax; - add one concrete example per real invocation form (native tool call with JSON args, and the code-execution form);
- optionally note that only a couple of the 17 tools appear in a code-execution tool catalog by default, so agents should list the server's tools before assuming one is missing.
Related but distinct: #3029 fixes the installed skill's query guidance content (its tool inventory also omits compare_graphs and get_file_outline — the generated SKILL.md still says "15 MCP Tools" on 0.12.1). This report is about the invocation syntax, which #3029 does not cover.
Reproduction
- Install 0.12.1 via the release archive / install.sh path.
- Open the generated
codebase-memoryskill's SKILL.md, and thecodebase-memory-mcpblock in the generated agent instructions file (AGENTS.md/CLAUDE.md). - Observe the examples use
tool(param="...")syntax, and the section heading "15 MCP Tools". - Compare with any real invocation: e.g.
codebase-memory-mcp cli search_graph '{"project":"...","name_pattern":"..."}'takes a JSON object of arguments; an MCP-native tool call likewise takes a JSON object. Neither matches the documented parenthesised keyword-arg form. - In a harness that routes MCP tools through a code-execution tool, ask an agent to "find who calls X using the graph tools": it cannot map the examples to a real call and typically falls back to grep.
No indexed code is involved — the defect is in the generated files themselves.
Logs
Diagnostics trajectory (memory / performance / leak issues)
Project scale (if relevant)
No response
Confirmations
- I searched existing issues and this is not a duplicate.
- My reproduction uses shareable code (a dummy snippet or a public OSS repository), not proprietary code.
- Dominant language
- C
- Stars
- 45.8k
- Forks
- 3.8k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 108
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DeusData/codebase-memory-mcp
-
bug ux/behavior
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
DeusData/codebase-memory-mcp#3191 ·
Maintainers usually reply within 1 day
-
documentation enhancement parsing/quality ux/behavior
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
DeusData/codebase-memory-mcp#3131 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
hook-augment: the five-row cap keeps the first five search_graph rows, so variables and modules displace function definitions (v0.12.1)Possibly taken A pull request linked to this issue is open or already merged. Openbug editor/integration parsing/quality ux/behavior
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DeusData/codebase-memory-mcp#3062 · 2 comments ·
Maintainers usually reply within 1 day
-
editor/integration parsing/quality
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
DeusData/codebase-memory-mcp#2286 ·
Maintainers usually reply within 1 day
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runsOpenbug editor/integration priority/high stability/performance ux/behavior
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DeusData/codebase-memory-mcp#2239 · 1 comment ·
Maintainers usually reply within 1 day
All issues in DeusData/codebase-memory-mcp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA/open-gpu-kernel-modules#1635 ·
Maintainers usually reply within 1 day
-
iOS: the "Edit controls" button never hides, even with a controller connected, and covers the gameOpengame: 010065A014024000 ios
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
seedds/nxnative#3714 · 1 comment ·
Maintainers usually reply within 2 days