Use Gemini CLI's 1M token context to understand entire codebases in one pass. Full architecture mapping, pattern discovery, and onboarding documentation.
Understand entire codebases in one pass with 1M token context.
# Via delegate.sh
./scripts/multi-model/delegate.sh gemini "Map full architecture" --all-files
# Via gemini-yolo.sh
./scripts/multi-model/gemini-yolo.sh "Analyze architecture" task-id megacontext
# Via router
./scripts/multi-model/multi-model-router.sh "Map entire architecture"
# Direct Gemini
bash -lc "gemini --all-files 'Analyze entire codebase and document architecture'"
| Metric | Value | |--------|-------| | Capacity | 1 million tokens | | Equivalent | ~1,500 pages | | Lines of Code | ~30,000 LOC | | Best for | Projects under 30K LOC |
gemini-codebase-onboard/
SKILL.md # Main skill definition
ANTI-PATTERNS.md # Common mistakes to avoid
README.md # This file
examples/
example-1-new-project.md
example-2-security-audit.md
# Architecture
gemini --all-files "Document the full system architecture"
# Dependencies
gemini --all-files "Create a dependency graph"
# Patterns
gemini --all-files "Identify design patterns and assess consistency"
# API Documentation
gemini --all-files "Document all API endpoints"
Results stored with:
multi-model/gemini/onboard/{project}/{task_id}Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer