| name | team-shinchan:research |
| description | Use when you need web research, documentation lookup, or knowledge gathering. |
| user-invocable | false |
EXECUTE IMMEDIATELY
Step 1: Validate Input
If args is empty or only whitespace:
Ask user: "What would you like to research?"
STOP and wait for user response
If args length > 2000 characters:
Truncate to 2000 characters
Warn user: "Request was truncated to 2000 characters"
Step 1b: Detect Mode
Parse mode from args:
- If args starts with
youtube or article or auto : extract mode as first word, remainder is the URL/query.
- If no mode keyword: mode =
auto for URLs (args starts with http), else mode = search (standard web search).
Set target = the URL/query: the remainder after the mode keyword, or the whole args when there is no mode keyword. (target is referenced by the Step 2A prompt for every mode.)
Modes youtube, article, auto require a URL. If mode detected but no URL found, ask: "Please provide a URL for {mode} extraction."
Step 1c: Narrow vs Breadth
- Narrow (single source): mode
youtube / article / auto (one URL), OR a search for a single specific fact/definition ("what is X", "X's default port", one API detail).