acquire-codebase-knowledge
Skill by github
Maps an existing codebase and writes seven onboarding docs into docs/codebase/, covering stack, structure, architecture, conventions, integrations, testing and concerns. Built for developers who need to understand a repository, and runs when explicitly asked.
Install acquire-codebase-knowledge
Built from the published package, never by AI.
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/acquire-codebase-knowledge ~/.claude/skills/acquire-codebase-knowledgeRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install acquire-codebase-knowledge in Claude Code
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-copilot/skills/acquire-codebase-knowledge ~/.gemini/antigravity-cli/skills/acquire-codebase-knowledgeAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install acquire-codebase-knowledge in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Acquire Codebase Knowledge is an agent skill that maps an existing codebase and writes seven documents into docs/codebase/: STACK, STRUCTURE, ARCHITECTURE, CONVENTIONS, INTEGRATIONS, TESTING and CONCERNS. It is meant for requests to map, document or onboard into a repository. It is aimed at developers new to a project or in need of written codebase docs.
The skill starts by running scripts/scan.py from the project root. The scan reports code metrics, CI/CD pipelines, container configs, security settings and performance or testing markers. The skill then reads intent documents such as README, PRD or ROADMAP files before reading source code. Every claim must trace to a file path or terminal output. Unknowns are marked [TODO] and team-intent decisions are marked [ASK USER]. It requires Python 3.8+ and git, and is licensed MIT.
Written from the project's SKILL.md and checked against it.
What it can do
- Codebase scanRuns scripts/scan.py to collect code metrics, CI/CD, container, security and testing markers.
- Stack documentationSTACK.md lists the language, runtime, frameworks and dependencies.
- Structure and architecture docsSTRUCTURE.md and ARCHITECTURE.md cover layout, entry points, layers and data flow.
- Conventions and integrationsCONVENTIONS.md and INTEGRATIONS.md cover naming, error handling, external APIs and auth.
- Testing and concernsTESTING.md and CONCERNS.md cover test setup, tech debt, security risks and bottlenecks.
- Evidence trackingEach document lists concrete file paths as evidence and marks unknowns as [TODO].
- Intent vs reality reviewCompares stated project intent with the actual code and lists divergences and numbered questions.
- Focus area modeCompletes chosen documents first when the user names a focus area such as architecture only.
What you need
- Python 3.8+
- git
- Windows, macOS or Linux
Try asking
- Map this codebase and write the seven docs in docs/codebase/.
- Onboard me to this repo and explain the architecture.
- Create codebase docs, focusing on testing and concerns.
Good to know
- Documents only what can be verified from files or terminal output.
- Does not trigger for routine feature work or bug fixes unless repository-level discovery is requested.
- Generated folders such as dist/ and build/ are not documented as conventions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/acquire-codebase-knowledge/SKILL.md, skills/acquire-codebase-knowledge/scripts/scan.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
assets/templates/ARCHITECTURE.md1 KB -
assets/templates/CONCERNS.md2 KB -
assets/templates/CONVENTIONS.md1 KB -
assets/templates/INTEGRATIONS.md1 KB
Show all 11 files
-
assets/templates/STACK.md1 KB -
assets/templates/STRUCTURE.md1 KB -
assets/templates/TESTING.md1 KB -
references/inquiry-checkpoints.md4 KB -
references/stack-detection.md6 KB -
scripts/scan.py23 KB
Alternatives to acquire-codebase-knowledge
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
acquire-codebase-knowledge: common questions
Does this skill write files into my project?
Yes. It writes seven documents into docs/codebase/ in the target project, and the scan output is saved to docs/codebase/.codebase-scan.txt.
When should I use it?
Use it when you explicitly ask to map, document or onboard into a codebase, such as with the prompt "map this codebase". The skill says it should not trigger for routine feature implementation or bug fixes.
Does it handle monorepos?
The source says to check for workspaces, packages/ and apps/ directories and to map each sub-package separately.
How do I install acquire-codebase-knowledge?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is acquire-codebase-knowledge free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is acquire-codebase-knowledge safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, 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 acquire-codebase-knowledge?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
