codebase-management
Skill by giancarloerra
Sets up, indexes and manages SocratiCode codebase indexes, file watching, code graphs and context artifacts. Written for users who need to index a project or fix indexing problems.
Install codebase-management
Built from the published package, never by AI.
git clone --depth 1 https://github.com/giancarloerra/SocratiCode /tmp/SocratiCode && mkdir -p ~/.claude/skills && cp -r /tmp/SocratiCode/skills/codebase-management ~/.claude/skills/codebase-managementRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/giancarloerra/SocratiCode /tmp/SocratiCode && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/SocratiCode/skills/codebase-management ~/.gemini/antigravity-cli/skills/codebase-managementAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install codebase-management in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill guides an AI assistant through setting up and administering SocratiCode codebase indexing. It covers checking infrastructure health with codebase_health, starting indexing in the background, and polling progress with codebase_status. It also covers starting and stopping file watching, pausing or removing indexes, and managing the dependency code graph.
It explains how to add context artifacts such as SQL schemas, OpenAPI specs and Kubernetes manifests through a .socraticodecontextartifacts.json file. A troubleshooting table and a list of environment variables cover Docker, Ollama, cloud embedding providers and watcher modes. It suits users who want to index a project or resolve indexing issues in SocratiCode.
Written from the project's SKILL.md and checked against it.
What it can do
- codebase_healthChecks Docker, Qdrant, the embedding provider and the embedding model.
- codebase_indexStarts indexing a project in the background and returns immediately.
- codebase_statusReports indexing progress and detects indexing run by another process.
- codebase_watchStarts, stops or lists file watching for indexed projects.
- codebase_updateRuns a manual incremental update that re-indexes only changed files.
- codebase_stopPauses in-progress indexing after the current batch checkpoints.
- codebase_removeDeletes an entire project index and is destructive.
- codebase_graph_buildRebuilds the dependency code graph in the background.
- codebase_context_indexIndexes or re-indexes all configured context artifacts.
- codebase_list_projectsLists indexed projects with metadata, graph info and artifact status.
What you need
- Docker
- Ollama or a cloud embedding provider (OpenAI or Google)
- OPENAI_API_KEY or GOOGLE_API_KEY for cloud embeddings
Try asking
- Check whether my SocratiCode infrastructure is healthy before indexing.
- Index this project and tell me when it reaches 100 percent.
- Turn on file watching for this codebase and show the watched projects.
Good to know
- On macOS and Windows, Docker cannot use the GPU, so native Ollama is suggested for faster indexing.
- The first use pulls Docker images and downloads the embedding model, about 5 minutes one-time.
- In watcher modes manual and off, graph queries ask for an explicit build instead of creating a missing graph.
- codebase_remove deletes the entire index and cannot be undone.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/codebase-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/tool-reference.md14 KB
Alternatives to codebase-management
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
codebase-management: common questions
Does SocratiCode index uncommitted edits in Git mode?
Yes. With SOCRATICODE_WATCHER=git, refreshes are triggered by ref or HEAD changes, but the working tree is indexed, including uncommitted edits.
Can I index non-code files like database schemas?
Yes. Create a .socraticodecontextartifacts.json file in the project root that lists the files or directories to index as artifacts.
What happens if indexing is interrupted?
Running codebase_index again resumes from the last checkpoint automatically, according to the troubleshooting section.
How do I install codebase-management?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is codebase-management free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is codebase-management safe to use?
It scores 86 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to codebase-management?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
