Xpersona
C

Codebase Explorer

CLAWHUB · Unverified

Analyze unfamiliar codebases and generate structured onboarding guides with architecture maps, entry points, conventions, and project-specific instructions.... Skill: Codebase Explorer Owner: djc00p Summary: Analyze unfamiliar codebases and generate structured onboarding guides with architecture maps, entry points, conventions, and project-specific instructions.... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-05T23:02:11.432Z | user Initial release. Systematic codebase analysis and onboarding guide generation. Adapted from everything-claude-code by @affaan-m (MIT) A

62
Rank
84
Safety
961
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 961 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17akx17qd32yxnr1065qq0kdd83h2c3:codebase-explorer
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-djc00p-codebase-explorer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

8,237 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: codebase-explorer
description: "Analyze unfamiliar codebases and generate structured onboarding guides with architecture maps, entry points, conventions, and project-specific instructions. Use when joining new projects, understanding repo structure, or generating CLAUDE.md. Trigger phrases: onboard me, understand this codebase, analyze this repo, generate CLAUDE.md, walk me through. Adapted from everything-claude-code by @affaan-m (MIT)"
metadata: {"clawdbot":{"emoji":"🗺️","requires":{"bins":[],"env":[]},"os":["darwin","linux","win32"]}}
---

# Codebase Onboarding

Systematically analyze unfamiliar codebases and produce structured onboarding guides.

## When to Use

- First time opening a project
- Joining a new team or repository
- User asks "help me understand this codebase"
- User asks to generate a CLAUDE.md for a project
- User says "onboard me" or "walk me through this repo"

## Quick Start

1. Scan package manifests and config files (identify tech stack and framework)
2. Map directory structure and entry points (top 2 levels)
3. Trace one request lifecycle (entry → validation → business logic → database)
4. Identify naming, error handling, and testing patterns
5. Generate onboarding guide and starter CLAUDE.md

## Key Concepts

- **Reconnaissance** — Use file presence patterns to infer tech stack and structure
- **Architecture pattern** — Identify monolith vs. monorepo, frontend/backend split, API style
- **Convention detection** — Extract naming, error handling, async patterns from recent code
- **Guided exploration** — Don't read everything; use grep/glob selectively for ambiguity
- **Two-artifact output** — Onboarding guide (structure + conventions) + CLAUDE.md (project instructions)

## Common Usage

Most frequent patterns:
- Understanding project structure and data flow
- Documenting tech stack and architecture
- Creating starter instructions for new team members
- Identifying where to make changes (API routes, UI pages, database, tests)
- Mapping conventions (naming, error handling, git workflow)

## References

- `references/reconnaissance.md` — File patterns for framework/language detection
- `references/artifacts.md` — Onboarding guide and CLAUDE.md templates, best practices, anti-patterns

_meta.json

{
  "ownerId": "kn75k4jwpn9qgy3pk38e93gkt982zqmg",
  "slug": "codebase-explorer",
  "version": "1.0.0",
  "publishedAt": 1775430131432
}

references/artifacts.md

# Onboarding Artifacts

## Onboarding Guide Template

```markdown
# Onboarding Guide: [Project Name]

## Overview
[2-3 sentences: what this project does]

## Tech Stack
| Layer | Technology | Version |
|-------|-----------|---------|
| Language | TypeScript | 5.x |
| Framework | Next.js | 14.x |
| Database | PostgreSQL | 16 |

## Architecture
[Description of how components connect]

## Key Entry Points
- **API routes**: `src/app/api/` — Route handlers
- **UI pages**: `src/app/` — Page components
- **Database**: `schema.prisma` — Data model

## Directory Map
[Top-level directory → purpose]

## Request Lifecycle
[Trace one API request from entry to response]

## Conventions
- File naming: [pattern]
- Error handling: [approach]
- Testing: [patterns]
- Git workflow: [style]

## Common Tasks
- **Run dev server**: `npm run dev`
- **Run tests**: `npm test`
- **Run linter**: `npm run lint`
- **Build for production**: `npm run build`

## Where to Look
| I want to... | Look at... |
|--------------|-----------|
| Add an API endpoint | `src/app/api/` |
| Add a UI page | `src/app/` |
| Add a database table | `schema.prisma` |
| Add a test | `tests/` |
```

## Starter CLAUDE.md Template

Generate or enhance project-specific instructions:

```markdown
# Project Instructions

## Tech Stack
[Detected stack summary]

## Code Style
- [Naming conventions]
- [Patterns to follow]

## Testing
- Run tests: `[detected test command]`
- Test pattern: [file convention]
- Coverage: [coverage command]

## Build & Run
- Dev: `[dev command]`
- Build: `[build command]`
- Lint: `[lint command]

## Project Structure
[Key directory → purpose map]

## Conventions
- [Commit style]
- [PR workflow]
- [Error handling patterns]
```

## Best Practices

1. **Don't read everything** — Use grep/glob, read selectively for ambiguity
2. **Verify, don't guess** — If code differs from config, trust the code
3. **Respect existing CLAUDE.md** — Enhance rather than replace
4. **Stay concise** — 2-minute scan should reveal structure
5. **Flag unknowns** — "Could not determine test runner" beats a wrong answer

## Anti-Patterns to Avoid

- ❌ CLAUDE.md longer than 100 lines — keep it focused
- ❌ Listing every dependency — highlight only ones that shape code
- ❌ Explaining obvious directories — `src/` doesn't need explanation
- ❌ Copying the README — onboarding guide adds structural insight

references/reconnaissance.md

# Reconnaissance Phase

Gather signals about the project without reading every file.

## Package Manifest Detection

- package.json, go.mod, Cargo.toml, pyproject.toml, pom.xml, Gemfile, composer.json

## Framework Fingerprinting

- next.config.*, nuxt.config.*, angular.json, vite.config.*, django settings, flask, fastapi, rails config

## Entry Point Identification

- main.*, index.*, app.*, server.*, cmd/, src/main/

## Directory Structure Snapshot

- Top 2 levels (ignore node_modules, vendor, .git, dist, build)

## Config and Tooling Detection

- .eslintrc*, .prettierrc*, tsconfig.json, Dockerfile, .github/workflows/, CI configs

## Test Structure

- tests/, test/, __tests__/, *_test.go, *.spec.ts, pytest.ini, jest.config.*

skill-card.md

## Description:

Analyze unfamiliar codebases and generate structured onboarding guides with architecture maps, entry points, conventions, and project-specific instructions.

This skill is ready for commercial/non-commercial use.

## Publisher:

[djc00p](https://clawhub.ai/user/djc00p)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to understand unfamiliar repositories, map architecture and entry points, identify project conventions, and draft onboarding guidance or project-specific CLAUDE.md instructions.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Generated CLAUDE.md content can influence future agent behavior if it is incorrect or too broad.

Mitigation: Review any generated CLAUDE.md before keeping it and keep only project-specific, accurate instructions.

Risk: Repository scans may miss conventions or commands when project structure is unusual or ambiguous.

Mitigation: Verify generated onboarding notes against the actual code and configuration, and preserve explicit unknowns instead of guessing.

## Reference(s):

- [Reconnaissance Phase](references/reconnaissance.md)
- [Onboarding Artifacts](references/artifacts.md)
- [ClawHub Skill Page](https://clawhub.ai/djc00p/skills/codebase-explorer)

## Skill Output:

**Output Type(s):** [Text, Markdown, Configuration guidance, Shell commands]

**Output Format:** [Markdown with structured sections, tables, and inline shell commands]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May produce an onboarding guide and starter CLAUDE.md content for review.]

## Skill Version(s):

1.0.0 (source: server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Codebase Explorer and adjacent AI workflows.