Explore

Codebase exploration — session context gathering, project reports, and code search.

2 commands · 3 skills · 1 tool

Finding your way around a codebase you have not seen before — the module behind the context a session starts with.

What it does

  • gather-context (skill and command) — primes a session from a few keywords: memory search, git state, the knowledge graph, and the directory structure, into a report the primary agent reads.
  • create-project-report — writes .agents/memory/active/project.md, the project’s own description, used when it is missing or stale.
  • search-code — locates a definition and follows the architecture around it.

Polyrepo sessions

In a polyrepo project the session may touch several managed projects, so gather-context scopes memory search per project with --focus <path> and the primary agent dispatches one @scout per predicted project, in parallel — each reporting into the polyrepo’s thinking/.

Contents

Type Name Purpose
Command create-project-report Create a report of the project in .agents/memory/active/project.md
Command gather-context Based on a few keywords, gather context from memories, git status, and codebase insights.
Skill create-project-report Use when onboarding to a project or when its description is missing or stale. Triggers on ‘explore the project’, ‘describe the project’, ‘map the codebase’.
Skill gather-context Use when the scout agent primes context about a topic or project area at session start.
Skill search-code Use when you need to find code, locate a definition, or understand the architecture.
Tool search —

Configuration

No project configuration is required.

See also

  • Polyrepo sessions — how this module scopes itself to the owning project
  • Memory — where the project report is stored
  • Git — the git-report tool gather-context calls