Explore and analyze a remote GitHub repository
Analyze remote GitHub repositories to understand their code structure and patterns. Use this when you need to explore unfamiliar codebases without cloning them locally.
/plugin marketplace add yamadashy/repomix/plugin install repomix-explorer@repomixAnalyze a remote GitHub repository using the repomix-explorer:explorer agent.
When the user runs this command, they want to explore and understand a remote repository's code structure, patterns, and content.
Note: This command is part of the repomix-explorer plugin, so the repomix-explorer:explorer agent is guaranteed to be available.
The user should provide a GitHub repository in one of these formats:
owner/repo (e.g., yamadashy/repomix)/explore-remote yamadashy/repomix
/explore-remote https://github.com/facebook/react
/explore-remote microsoft/vscode - show me the main architecture
Provide the repomix-explorer:explorer agent with a task that includes:
Default instruction template:
"Analyze this remote repository: [repo]
Task: Provide an overview of the repository structure, main components, and key patterns.
Steps:
1. Run `npx repomix@latest --remote [repo]` to pack the repository
2. Note the output file location
3. Use Grep and Read tools to analyze the output incrementally
4. Report your findings
[Add any specific focus areas if mentioned by user]
"
The agent will:
npx repomix@latest --remote <repo>Remember: The repomix-explorer:explorer agent is optimized for this workflow. It will handle all the details of running repomix CLI, searching with grep, and reading specific sections. Your job is to launch it with clear context about which repository to analyze and what specific insights are needed.