using-codebase-memory-cli skill
✓ 인증됨CLI 전용 모드를 사용하여 그래프 우선 코드베이스 인덱싱, 심볼 검색 및 데이터 흐름 추적을 수행합니다.
- GitHub 스타
- 17
- 파일
- 2
- 마지막 커밋
- 2026년 11월 7일
- 라이선스
- MIT
- 허용된 도구
- —
using-codebase-memory-cli skill은 무엇을 하나요?
using-codebase-memory-cli은(는) agent skill입니다. CLI 전용 모드를 사용하여 그래프 우선 코드베이스 인덱싱, 심볼 검색 및 데이터 흐름 추적을 수행합니다.
skill의 SKILL.md에서 생성된 요약입니다.
using-codebase-memory-cli skill 정보
단순한 텍스트 검색이 아닌 구조적 관계를 통해 복잡한 코드베이스를 탐색하려는 개발자가 사용할 수 있는 CLI 기반 도구입니다. 리포지토리 내의 심볼, 함수 및 데이터 흐름을 매핑하여 그래프 우선 인덱싱과 탐색을 지원합니다. 특정 함수의 인바운드 호출자를 찾거나 시스템 내 데이터 이동 경로를 추적하는 등 프로젝트의 서로 다른 구성 요소가 어떻게 상호작용하는지 이해해야 하는 경우 에이전트가 이 SKILL을 로드해야 합니다.
사용자는 식별자 검색을 위한 search_graph, 실행 흐름 추적을 위한 trace_path, 소스 코드 검사를 위한 get_code_snippet과 같은 특정 명령어를 통해 시스템과 상호작용합니다. 이 도구는 구축된 인덱스에 의존하며, index_repository를 사용하여 fast, moderate 또는 full과 같은 다양한 모드로 인덱스를 생성할 수 있습니다. Cypher 쿼리를 사용하여 아키텍처 패턴과 심볼 관계를 찾는 데 탁월하지만, 직접적인 소스 검사나 런타임 증거를 대체하기보다는 탐색을 돕는 보조 도구로 설계되었습니다. 광범위한 리포지토리 검색을 수행하기 전에 변경 사항의 영향을 식별하는 데 특히 유용합니다.
agent가 수행할 수 있는 작업
- 1함수 호출 계층 구조 추적특정 함수의 영향을 파악하기 위해 모든 인바운드 호출자 또는 아웃바운드 호출 대상 함수를 찾습니다.
- 2특정 코드 심볼 위치 파악이름 패턴이나 키워드 쿼리를 사용하여 클래스, 메서드 또는 변수를 검색합니다.
- 3프로젝트 아키텍처 분석집중적인 탐색을 수행한 후 프로젝트 구조에 대한 간결한 요약을 얻습니다.
- 4코드 변경 사항 식별최근 Git 변경 사항에 의해 영향을 받는 파일과 심볼을 감지합니다.
skill의 SKILL.md를 기반으로 작성되었습니다. 모든 사용 사례는 해당 문서의 인용구와 대조 확인되었습니다.
using-codebase-memory-cli skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.Claude Code에 using-codebase-memory-cli skill 설치
~/.claude/skills/using-codebase-memory-cli/SKILL.md
$ npx degit narumiruna/skills/deprecated/using-codebase-memory-cli ~/.claude/skills/using-codebase-memory-cliClaude Code (project)에 using-codebase-memory-cli skill 설치
.claude/skills/using-codebase-memory-cli/SKILL.md
$ npx degit narumiruna/skills/deprecated/using-codebase-memory-cli .claude/skills/using-codebase-memory-cliCodex에 using-codebase-memory-cli skill 설치
~/.agents/skills/using-codebase-memory-cli/SKILL.md
$ npx degit narumiruna/skills/deprecated/using-codebase-memory-cli ~/.agents/skills/using-codebase-memory-cliGemini CLI에 using-codebase-memory-cli skill 설치
~/.gemini/skills/using-codebase-memory-cli/SKILL.md
$ npx degit narumiruna/skills/deprecated/using-codebase-memory-cli ~/.gemini/skills/using-codebase-memory-cliClaude.ai에 using-codebase-memory-cli skill 설치
npx degit narumiruna/skills/deprecated/using-codebase-memory-cli using-codebase-memory-cli && zip -r using-codebase-memory-cli.zip using-codebase-memory-cli # claude.ai → Customize → Skills → + → Create skill → Upload a skill → using-codebase-memory-cli.zip
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 보안 감사는 아닙니다. 에이전트가 실행하기 전에 스크립트를 읽어 보세요. 검사 방식 · 점수를 높이기 위해 수정할 항목
- 소스 저장소 연결 및 접근 가능narumiruna/skills/deprecated/using-codebase-memory-cli is public and reachablegithub.com/narumiruna/skills/tree/HEAD/deprecated/using-code ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit 2026-11-07github.com/narumiruna/skills/commits ↗통과
- 스크립트에 다운로드 후 실행이나 자격 증명 탈취가 없음No scripts in the skill folder통과
- SKILL.md에 숨겨진 지침 없음No override phrases, safeguard switches, credential requests or hidden charactersgithub.com/narumiruna/skills/blob/HEAD/deprecated/using-code ↗통과
- 사전 허용 도구가 제한됨No pre-approved tools; the agent asks before using onegithub.com/narumiruna/skills/blob/HEAD/deprecated/using-code ↗통과
- SKILL.md가 Agent Skills 형식을 따름the description does not say when to use the skillgithub.com/narumiruna/skills/blob/HEAD/deprecated/using-code ↗결함 발견
SKILL.md
GitHub에서 보기Using Codebase Memory CLI (Deprecated Reference)
This workflow is excluded from active discovery but retained for repository reference and explicit local compatibility. Always prefer codebase-memory CLI graph tools over grep, glob, or file search for code discovery when the CLI is installed, even if the user does not name the tool. Use the graph to locate structure and relationships before broad repository search. It is discovery evidence, not a replacement for source, tests, history, or runtime evidence.
Run graph tools only as codebase-memory-mcp cli <tool> .... codebase-memory-mcp with no arguments starts the stdio server; never run it. Do not call MCP graph tools or configure an agent to use them.
Read the command reference only when selecting index modes, constructing structured input, or using a less common tool.
Establish a Trustworthy Index
- Run
list_projectsdirectly without preliminary availability, version, or help checks. If the command is unavailable, continue with repository tools and report the lost graph coverage; do not block ordinary discovery on installation. - Select a project by its exact
root_path; for worktrees also verify the reported canonical root, worktree root, branch, and HEAD rather than trusting the derived name. - For a match, run
index_statusand compare its root and indexed HEAD with the target repository. Re-index before relying on graph evidence when the root or HEAD differs, when uncommitted source being explored is newer than the index, or when the required index mode cannot be established. In v0.9.0, status does not report the mode or prove working-tree freshness. - For a new or stale project, run
index_repositorywith an absolute path and an unambiguous name. Default tofast; usemoderateonly for semantic/similarity search,fullonly when relevant files filtered by ordinary modes must be included, andcross-repo-intelligenceonly for repositories within the requested scope. - Inspect the indexing result. Treat
degraded, skipped files, exclusions, a mismatched root, or an unexpected node count as coverage limits, not a successful complete index. Omit--persistenceunless a repository artifact was explicitly requested.
Discovery Priority
Use this order and stop when evidence is sufficient:
search_graph— find functions, methods, classes, interfaces, routes, variables, or other symbols. Start with--queryfor BM25 keywords or--name-pattern/--qn-patternfor identifiers; add label and file filters where useful. Do not combine--querywith--name-pattern, because the query wins. Paginate untilhas_moreis false when completeness matters.trace_path— find inbound callers, outbound callees, parameter data flow, or cross-service traversal. Resolve a short or duplicated name throughsearch_graph, then pass the returnedqualified_name; include tests explicitly when they matter.get_code_snippet— inspect the selected symbol's source and optional neighbors by qualified name.query_graph— express a relationship or aggregation the focused tools cannot. Runget_graph_schemafirst and constrain the read-only Cypher result.get_architecture— obtain a compact, preferably path-scoped project summary after focused evidence, not instead of it.
For semantic discovery, use search_graph only on a known moderate or full index. Pass semantic_query as an array and evaluate semantic_results; ordinary results and total are separate and can be broad without a structural filter. For a diff or Git range, use detect_changes to identify changed files and candidate impacted symbols before following the priority order on important paths.
Example chain:
codebase-memory-mcp cli search_graph --project my-project --name-pattern '.*OrderHandler.*'
codebase-memory-mcp cli trace_path --project my-project --function-name OrderHandler --direction inbound
codebase-memory-mcp cli get_code_snippet --project my-project --qualified-name my-project.pkg.orders.OrderHandler
Verify critical claims in the reported source lines and relevant tests or runtime behavior. Missing edges do not prove that no relationship exists. Re-index when later traversal must reflect source changes, and report stale index state, ambiguity, exclusions, skipped files, or unresolved edges instead of inferring through them.
Fallback and Boundaries
Leave the graph-tool priority only when searching string literals, error messages, or configuration values; searching non-code files such as Dockerfiles, shell scripts, or configs; or when graph tools return insufficient results. Prefer CLI search_code for exact text or regex in indexed files before repository search. Use rg, find, globbing, or targeted reads only for non-code, generated, ignored, excluded, changed-but-unindexed, unsupported, or still-unresolved paths. State the material fallback and why it was needed.
Ordinary discovery authorizes an index in the tool's local cache without --persistence; it does not authorize repository artifacts or unrelated repositories. --persistence additionally writes into the repository. Existing-index deletion, ADR mutation, trace ingestion, cross-repository expansion, native install/update/config, agent integration, and server/UI setup require explicit scope or authorization. A uniquely named temporary index created during the current task may be deleted during cleanup; never delete a pre-existing or reused index without exact approval.
Installation expands scope. Only with explicit approval to download and execute the upstream script, use its binary-only mode because the default configures detected agents:
curl -fsSL https://raw.githubusercontent.com/DeusData/codebase-memory-mcp/main/install.sh | bash -s -- --skip-config
Verify the installed path and version afterward; do not start the server.
Prefer flags for scalar values and stdin JSON or --args-file for arrays and complex input. Positional raw JSON is deprecated. Parse stdout as JSON; initialization and progress logs can appear on stderr. If a command reports a schema mismatch, consult its installed help instead of relying on remembered flags or this version-qualified reference.
Conclude with the matched root/project, known index mode and freshness, decisive symbols and file/line evidence, relevant impact paths, material fallbacks, and coverage limits. Do not claim an unknown reused-index mode or complete coverage.
이 스킬의 파일
2using-codebase-memory-cli skill 질문
Claude Code에 using-codebase-memory-cli skill을 어떻게 설치하나요?
npx degit narumiruna/skills/deprecated/using-codebase-memory-cli ~/.claude/skills/using-codebase-memory-cli를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
using-codebase-memory-cli skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.
codebase-memory-mcp 도구를 어떻게 실행해야 하나요?
codebase-memory-mcp cli <tool> ... 명령어를 사용하여 그래프 도구를 실행합니다. 인자 없이 codebase-memory-mcp를 실행하면 stdio 서버가 시작되므로 주의하십시오.
grep이나 파일 검색 대신 언제 그래프 도구를 사용해야 하나요?
CLI가 설치되어 있다면 코드 탐색 시 grep, glob 또는 파일 검색보다 codebase-memory CLI 그래프 도구를 사용하는 것이 항상 더 좋습니다.
사용 가능한 인덱싱 모드에는 어떤 것들이 있나요?
fast(기본값), moderate(의미/유사성 검색용), full(일반 모드로 필터링된 관련 파일 포함), cross-repo-intelligence 모드를 사용할 수 있습니다.