Skip to content
Back to skills

Q Problem Runner

ASecurity

Internal runner for the Decision Q gate.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
ai-agents

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add lulufoo/lulu-workflow --skill q-problem-runner --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Q Problem Runner?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Q Problem Runner
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lulufoo-q-problem-runner/badge)](https://www.skillsdirectory.com/skills/lulufoo-q-problem-runner)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: decision/q-problem-runner
description: Internal runner for the Decision Q gate.
meta-skill-version: 1.0.0
---

# q-problem-runner

Produce a clear problem definition. Complete when the user confirms the
problem statement.

## Prerequisites

- Run `$GATE_CONTROL resolve-context`; pin `$CTX` (`active_gate` is `Q`).
- Apply `$CTX.domain_constraints` (`objective`, `role.instruction`,
  `domain.instruction`) to the dialogue.
- Before the first probe, read `$SKILL_ROOT/shared/references/ask-protocol.md`;
  apply it to every probe.

## Must hold

| ID | Must hold |
|----|-----------|
| `G-problem` | A clear problem definition: what triggered this decision, and what problem we are solving. |

A merely stated problem claim is not a pass. Evaluate from the conversation so far.

## Modes

| Mode | When | Behavior |
|------|------|----------|
| `probe` | `G-problem` not yet clear | Apply ask-protocol. |
| `summarize` | `G-problem` clear | Restate the problem once; ask if correct. |
| `close` | User confirms summarize | `$GATE_CONTROL gate-close --gate Q --payload '<json>'` |

If the user rejects the summary: treat the denied point as a gap → `probe`.

## Signals

Apply Decision [Signals](../../SKILL.md#signals) throughout Q.

## Act

1. If `$CTX.gates.Q.status == stale`, follow `$DECISION_SKILL_DIR/references/rs-stale-gate-update.md`. Exactly one:
   - `$CTX.resume_gate` is `Q` → continue at 2.
   - `$CTX.resume_gate` is not `Q` → return `GATE_COMPLETE Q` and skip the loop.
2. Loop Modes (Signals as above) until `close` succeeds.

## gate-close payload

```json
{"problem_statement": "<agreed problem>"}
```

## Exit

`GATE_COMPLETE Q` · `GATE_FAILED Q reason=<brief description>`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.