getRemoteCodebase
Retrieve a remote GitHub repository's codebase as a single text output in XML, markdown, or plain format, with options to include file summaries, directory structures, line numbers, and filter content using patterns.
Instructions
Retrieve a remote repository's codebase as a single text output using RepoMix
Input Schema
Name | Required | Description | Default |
---|---|---|---|
format | No | Output format (xml, markdown, or plain) | xml |
ignorePatterns | No | Ignore patterns (using glob patterns, comma-separated) | |
includeDirectoryStructure | No | Include directory structure | |
includeFileSummary | No | Include summary of each file | |
includePatterns | No | Include patterns (using glob patterns, comma-separated) | |
removeComments | No | Remove comments from the code | |
removeEmptyLines | No | Remove empty lines from the code | |
repo | Yes | GitHub repository URL or shorthand format (e.g., 'username/repo') | |
showLineNumbers | No | Show line numbers |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"format": {
"default": "xml",
"description": "Output format (xml, markdown, or plain)",
"enum": [
"xml",
"markdown",
"plain"
],
"type": "string"
},
"ignorePatterns": {
"description": "Ignore patterns (using glob patterns, comma-separated)",
"type": "string"
},
"includeDirectoryStructure": {
"default": true,
"description": "Include directory structure",
"type": "boolean"
},
"includeFileSummary": {
"default": true,
"description": "Include summary of each file",
"type": "boolean"
},
"includePatterns": {
"description": "Include patterns (using glob patterns, comma-separated)",
"type": "string"
},
"removeComments": {
"default": false,
"description": "Remove comments from the code",
"type": "boolean"
},
"removeEmptyLines": {
"default": false,
"description": "Remove empty lines from the code",
"type": "boolean"
},
"repo": {
"description": "GitHub repository URL or shorthand format (e.g., 'username/repo')",
"type": "string"
},
"showLineNumbers": {
"default": true,
"description": "Show line numbers",
"type": "boolean"
}
},
"required": [
"repo"
],
"type": "object"
}