sage-opinion
Send a prompt with absolute file paths to a sage-like model for its opinion or code review. Embed relevant file contents for context to handle large codebases effectively.
Instructions
Send a prompt to sage-like model for its opinion on a matter.
Include the paths to all relevant files and/or directories that are pertinent to the matter.
IMPORTANT: All paths must be absolute paths (e.g., /home/user/project/src), not relative paths.
Do not worry about context limits; feel free to include as much as you think is relevant. If you include too much it will error and tell you, and then you can include less. Err on the side of including more context.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
paths | Yes | Paths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively. | |
prompt | Yes | The prompt to send to the external model. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"paths": {
"description": "Paths to include as context. MUST be absolute paths (e.g., /home/user/project/src). Including directories will include all files contained within recursively.",
"items": {
"type": "string"
},
"type": "array"
},
"prompt": {
"description": "The prompt to send to the external model.",
"type": "string"
}
},
"required": [
"prompt",
"paths"
],
"type": "object"
}