subagent-gen

Generate a PROJECT-KNOWLEDGE.md profile from a codebase's structure and architecture.

2|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/hideki5123/agent-skill-set --skill subagent-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subagent-gen
Source: https://github.com/hideki5123/agent-skill-set/tree/main/subagent-gen
Command: npx skills add https://github.com/hideki5123/agent-skill-set --skill subagent-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of comprehensive knowledge profiles for any codebase, enabling subagents to understand and interact with projects like expert teammates.

Core Features & Use Cases

  • Deep Codebase Analysis: Generates detailed PROJECT-KNOWLEDGE.md files covering structure, architecture, conventions, and domain concepts.
  • Subagent Expertise: Provides subagents with instant, in-depth context for answering complex code-related questions.
  • Use Case: When you need an AI assistant to help refactor a large, unfamiliar project, use this Skill to generate a profile first. The subagent can then use this profile to understand the project's layout and identify potential areas for refactoring.

Quick Start

Use the subagent-gen skill to generate a knowledge profile for the current project.

Frequently Asked Questions about subagent-gen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a knowledge profile for an unfamiliar codebase?

You generate a knowledge profile by running this Skill to analyze your project structure, architecture, and tech stack. It outputs a persistent PROJECT-KNOWLEDGE.md file that provides subagents with instant deep domain expertise.

What is codebase profiling for AI subagents?

Codebase profiling is the process of extracting structure, architecture, conventions, and domain concepts into a knowledge profile. This gives AI subagents instant context to interact with projects like expert teammates.

How do I help an AI assistant understand my project layout for refactoring?

To help an AI assistant understand your project layout, generate a knowledge profile first. The subagent can then use this profile to analyze the codebase layout and identify potential areas for refactoring.

Does this codebase analysis tool require any external dependencies?

No, this codebase analysis tool requires no external dependencies to generate knowledge profiles. It operates independently to analyze your project and create context packs for your subagents.

What specific project details are included in the generated knowledge profile?

The generated knowledge profile includes detailed information covering project structure, architecture, code conventions, tech stack, data flow, and domain concepts for subagents to load into their prompts.