ask-question
Draft a technical research question and send to ChatGPT for investigation
npxskills add majiayu000/claude-skill-registry--skill ask-questionLoading…
Draft a technical research question and send to ChatGPT for investigation
npxskills add majiayu000/claude-skill-registry--skill ask-questionLoading…
Help me draft a technical research question about a problem I've encountered, then send it to ChatGPT for research.
Arguments: $ARGUMENTS
draft: Only write the question file, skip sending to ChatGPTKey Principle: Curiosity over confidence. The goal is to get useful research, not to sound smart. Be explicit about what we know vs. what we're guessing. Wrong assumptions waste ChatGPT's reasoning on the wrong problem.
Process:
Understand the problem context
Gather environmental context
Create minimal reproduction
Write the question in a local markdown file
File location: Write to /tmp/ using pattern research-{topic-slug}-question.md (e.g., research-bazel-caching-question.md).
Structure the question with these sections:
# [Descriptive title as a question]
## Keywords
`keyword1` `keyword2` `keyword3` (help ChatGPT understand the domain)
## Question
[Opening paragraph: What you're trying to do and what's going wrong]
### Environment
- Language/framework version
- Relevant library versions
- Build system (if relevant)
- OS/platform (if relevant)
### Code
**[File or component name]:**
```language
// Minimal code example
[Config file if relevant]:
# Relevant configuration
[Exact error message or description of unexpected behavior]
[Hard constraints that limit solutions: "must use X", "can't change Y", "monorepo requires Z". Only include real constraints, not preferences.]
Honesty checklist before finishing
Writing style guidelines:
Send to ChatGPT (unless draft mode)
If $ARGUMENTS starts with draft, skip this step - just tell the user where the file was saved.
Otherwise, send the question to ChatGPT using the ask-question CLI:
ask-question -f /tmp/research-{topic-slug}-question.md \
-o /tmp/research-{topic-slug}-answer.md \
-t 1200000
Important: Always use a timeout of at least 20 minutes (-t 1200000). ChatGPT's "Extended Thinking" mode can take several minutes for complex questions. Never use a shorter timeout.
After ask-question returns successfully, it will print the answer to stdout, as well as save it to the answer file for future reference. Discuss it with the user. Summarize key insights and recommendations from the response.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).