Skip to content
Back to skills

Codebase Analysis

ASecurity

Use when exploring an unfamiliar codebase, onboarding to a project, or needing to understand module structure before making changes

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsrefactoring

Works with

  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add Hellblazer/nexus --skill codebase-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Codebase Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Codebase Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hellblazer-codebase-analysis/badge)](https://www.skillsdirectory.com/skills/hellblazer-codebase-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: codebase-analysis
description: Use when exploring an unfamiliar codebase, onboarding to a project, or needing to understand module structure before making changes
effort: medium
---

# Codebase Analysis Skill

Delegates to the **codebase-deep-analyzer** agent (model: haiku).

## When This Skill Activates

- Exploring a new codebase or module before making changes
- Onboarding to a project — understanding structure and patterns
- Trying to understand how a feature works or where something is defined
- Before undertaking major refactoring
- Mapping dependencies between components or modules

## Pre-Dispatch: Seed Link Context (optional)

If the analysis is for a specific RDR or architectural decision, seed link-context so findings stored to T3 auto-link. See `/conexus:catalog` for details. Skip for general exploration.

## Agent Invocation

Use the Agent tool to invoke **codebase-deep-analyzer**:

```markdown
## Relay: codebase-deep-analyzer

**Task**: [what needs to be done]
**Bead**: [ID] or 'none'

### Input Artifacts
- Files: [relevant files]

### Deliverable
Architecture analysis with patterns and dependencies

### Quality Criteria
- [ ] Architecture overview documented
- [ ] Key patterns identified and explained
- [ ] Dependency relationships mapped
```

For full relay structure and optional fields, see [${CLAUDE_PLUGIN_ROOT}/resources/agent-shared/RELAY_TEMPLATE.md](../../resources/agent-shared/RELAY_TEMPLATE.md).

## Analysis Methodology

The codebase-deep-analyzer's method:
1. Form hypothesis about architecture (e.g., "This appears to be MVC pattern")
2. Gather evidence from code structure, naming, dependencies
3. Validate/refute hypothesis against actual code
4. Map module/package structure and document patterns
5. Persist findings to nx store: mcp__plugin_conexus_nexus__store_put(content="...", collection="<subject>", title="architecture-{project}-{component}", tags="architecture"

## Success Criteria

- [ ] Architecture overview documented
- [ ] Module/component map created
- [ ] Key patterns identified and explained
- [ ] Dependency relationships mapped
- [ ] Findings stored in nx store for future reference
- [ ] Subtask findings promoted from T1 to T2

## Agent-Specific PRODUCE

Outputs generated by the codebase-deep-analyzer agent:

- **T3 knowledge**: Architecture findings via store_put tool: content="# Architecture: {project}/{component}\n{findings}", collection="<subject>", title="architecture-{project}-{component}", tags="architecture,analysis"
- **T2 memory**: Subtask findings promoted via scratch_manage tool: action="promote", entry_id="<id>", project="{project}", title="analysis-{component}.md"
- **T1 scratch**: Per-subtask findings via scratch tool: action="put", content="Subtask {N} findings: {summary}", tags="analysis,subtask-{N}" (flagged for T2 at phase end)

**Session Scratch (T1)**: Agent uses scratch tool for ephemeral working notes during the session. Flagged items auto-promote to T2 at session end.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.