SkillsReviewed · Avijit07x

cdb-scan

cdb-scan is a skill for developers who want an AI coding assistant to understand an existing codebase, but it requires claude-db and compatible memory tools. It combines a map of code relationships with reusable notes about the project's stack, layout, conventions, workflows and architecture.

Researched 15 Nov 2026

In short.

cdb-scan is a codebase-mapping skill for developers using AI coding assistants, but it depends on claude-db components whose installation and runtime requirements are not documented in the skill. Its two passes build a structural code graph and a written project profile. Stable note keys support updates, while an inferred label distinguishes interpretations of code from recorded events. Scanner coverage, accuracy, speed, operating costs and actual tool compatibility remain unassessed; nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected folder as represented by skills/cdb-scan/SKILL.md, plus the repository-level LICENSE above it, at revision 3a344fe3341f758ef4ad007b50ab10100b66c34b. No other files are listed within the selected folder. The wider claude-db implementation, dependency versions, installation documentation and provider terms are outside this evidence. No commands or tools were executed; compatibility, correctness, speed, memory behavior and operating costs remain unassessed.

The overview

Identity

cdb-scan is the skill located at skills/cdb-scan in Avijit07x/claude-db [https://github.com/Avijit07x/claude-db/tree/main/skills/cdb-scan]. The folder's documented resource is SKILL.md, an instruction file that coordinates the separate claude-db command and memory tools. Its stated purpose is to give an assistant useful project context immediately after memory is installed, or refresh that context after substantial code changes.

Assessment

The skill offers a concrete approach to orienting an assistant in an existing repository. Its useful details include stable keys for replacing old profile notes, instructions to derive claims from actual files, and a distinction between code relationships and inferred explanations. It also directs the assistant to use manifests, lockfiles and CI configuration for operational facts.

The procedure is sufficiently specific to guide an assistant with the required tools. Practical usefulness still depends on the separate scanner and memory implementation, which the skill file does not establish.

Users

It fits developers introducing claude-db memory to an existing project, onboarding an assistant into unfamiliar code, or refreshing stale project context. Developers asking repeated questions about callers, imports or connections between symbols may benefit from its graph-oriented approach.

Beginners need help setting up the underlying command and tool connections because those steps are absent. Experienced developers get explicit note conventions and query modes, but must determine supported languages and environment compatibility separately.

Capabilities

The documented scan parses supported source files into symbols and relationships, including calls, imports and inheritance. The skill describes three find_usages modes: usages returns references with their relationship types; explain adds the symbols reached by the selected symbol; path uses a target argument to find how two symbols connect.

The written profile covers stack, directory layout and entry points, coding conventions, development commands and prerequisites, and architecture. Architecture may be omitted when layout already explains a small project. The instructions also exclude generated material from the layout and prohibit recording secrets, credentials or personal data.

Using it

Requirements

The procedure assumes access to the project's source files, a working claude-db command, and tools named search, remember and find_usages. The assistant needs to inspect relevant manifests, lockfiles, CI configuration and implementation files.

The skill does not specify installation packages, compatible assistant hosts, runtime version floors, supported programming languages, database requirements or MCP connection settings. Tool permissions and memory storage configuration are also unspecified.

Mechanism

The first pass runs claude-db scan from the project root to create the structural graph. The second pass asks the assistant to inspect files and write a concise profile. Before writing, it searches for profile in the current project and reads existing notes so that a refresh can update earlier information.

Profile notes use the exact keys profile:stack, profile:layout, profile:conventions, profile:workflows and, when needed, profile:architecture. Each note uses tags ["inferred"] and kind "context". The skill states that writing an existing key replaces its note, and requires one remember call per included section. That replacement behavior is documented rather than independently verified.

Setup

With the underlying tools already configured, the documented sequence starts with claude-db scan in the project root and recording the symbol and edge counts it prints. The assistant then searches existing profile notes, inspects the relevant files, and updates each applicable profile key.

Stack details should come from manifests and lockfiles. Development commands and prerequisites should come from manifest scripts and CI configuration. Installation instructions for claude-db and its memory tools are not included, so this file alone does not provide a complete setup guide.

Example

For a JavaScript project whose build workflow has changed, the intended procedure would refresh the graph, search existing profile notes, and inspect package.json, the lockfile and CI configuration. The assistant would then update profile:workflows using remember with tags ["inferred"] and kind "context", describing only commands and prerequisites supported by those files.

For a subsequent question about references to a symbol, the documented query is find_usages with mode "usages". A connection question uses mode "path" and a target. These examples illustrate the instructions; no scan counts, query results or successful execution are established.

Assessment & evidence

Limitations

The skill does not identify supported languages, parser limitations, file exclusion rules or handling of dynamic references. Its broad description of mapping supported files does not establish graph completeness or correctness. Graph refresh and deletion behavior are also unknown.

The written profile depends on the assistant's interpretation. The inferred tag makes that status explicit, but does not guarantee accuracy. The prohibition on recording sensitive information is an instruction; automated filtering, storage location, encryption, retention and access controls are not established.

Nothing was executed. Installation, command behavior, memory writes, query outputs and performance were not assessed.

Design rationale

The design combines a structural index with readable context. Symbol relationships can help answer connection questions, while prose can describe conventions, command prerequisites and architectural interpretations that a graph alone does not express.

Stable keys are intended to prevent duplicate profile notes during refreshes. Marking prose as inferred helps distinguish a reading of current code from a record of past events. Requiring inspected files and avoiding duplication of CLAUDE.md gives the profile a focused role, although its quality still depends on careful source reading.

Alternatives

Direct source reading is an alternative for occasional structural questions; the skill recommends graph queries for those questions after scanning. Existing CLAUDE.md context may already cover some project guidance, and the skill explicitly avoids duplicating it.

For developers deciding whether persistent graph and profile storage are worthwhile, these are reasonable approaches to compare. The available files provide no named competing-tool comparison, measured time savings or evidence of superiority over manual inspection.

Evidence

The skill file establishes the documented procedure, command, tool names and note conventions [https://raw.githubusercontent.com/Avijit07x/claude-db/3a344fe3341f758ef4ad007b50ab10100b66c34b/skills/cdb-scan/SKILL.md]. The repository licence establishes the supplied redistribution terms [https://raw.githubusercontent.com/Avijit07x/claude-db/3a344fe3341f758ef4ad007b50ab10100b66c34b/LICENSE].

These sources contain instructions and licensing terms. They do not include the scanner or MCP implementation, execution results, accuracy evaluations or performance measurements.

Access & freshness

Costs

The author describes the graph scan as deterministic, taking seconds and costing no tokens. These are claims about the scan, with no measurements in the available files. They do not establish the token use or cost of the assistant's separate file-reading and profile-writing work.

The Apache licence grants rights without a licence charge, but total operating cost is unknown. Assistant or model pricing, claude-db service charges, storage costs and typical usage costs are not specified.

Rights

The repository-level LICENSE supplies Apache License 2.0 terms and identifies copyright 2026 Avijit Dey. It permits reproduction, modification and redistribution subject to its conditions. Redistribution requires a copy of the licence, retention of applicable notices, and prominent change notices in modified files. Relevant NOTICE attributions must also be carried forward if such a file accompanies the original distribution.

The licence includes a contributor patent grant subject to its stated conditions, provides no general trademark permission, and disclaims warranties. No separate NOTICE file appears in the available file set.

Freshness

Both files are pinned to repository revision 3a344fe3341f758ef4ad007b50ab10100b66c34b, captured at 2026-11-15T23:45:39.529Z. That timestamp identifies the source snapshot rather than a software release date.

No release version or compatibility matrix is established. The current main branch, subsequent changes and compatibility with other claude-db versions are unknown.

Practical next steps

Before adopting the skill, confirm that claude-db supports the project's languages and that the assistant can access the required command and memory tools. Establish where project memory is stored and what assistant or service charges apply.

On a representative project, compare selected graph relationships with the source, inspect the written notes for unsupported claims or sensitive information, and check that repeating the procedure updates the same profile keys. These checks would establish behavior that the instruction file alone cannot demonstrate.

Evidence for this report

LICENSEnotice · checked 2026-11-15
skills/cdb-scan/SKILL.mdselected · checked 2026-11-15