Ask question

From diegosouzapw/awesome-omni-skill · View interactive version

Ask question is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Draft a technical research question and send to ChatGPT for investigation

How to use this skill

Skill file

Help me draft a technical research question about a problem I've encountered, then send it to ChatGPT for research.

Arguments: $ARGUMENTS

Key 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:

  1. Understand the problem context
  1. Gather environmental context
  1. Create minimal reproduction
  1. 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:

```markdown

# [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

### Code

[File or component name]:

```language

// Minimal code example

```

[Config file if relevant]:

```yaml

# Relevant configuration

```

### Error/Behavior

```

[Exact error message or description of unexpected behavior]

```

### What We Know (verified facts)

### What We're Uncertain About

### Specific Questions

1. [Specific question 1]

2. [Specific question 2 - optional]

3. [Specific question 3 - optional]

### Constraints

[Hard constraints that limit solutions: "must use X", "can't change Y", "monorepo requires Z". Only include real constraints, not preferences.]

```

  1. Honesty checklist before finishing

Writing style guidelines:

  1. 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:

```bash

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.