Logo von Questionnaire

Questionnaire

Community
Firstp1ck
questionnaire

Collect structured single-select and multi-select answers from the user through the native questionnaire tool instead of long free-text question lists. Use when a task needs several related choices (scope, options, priorities, configuration, preferences) before work can continue, when the user asks to be asked in a menu/form/dialog, or when a questionnaire result returns QUESTIONNAIRE_NEEDS_CLARIFICATION and must be answered and resumed. Do not use for secrets, credentials, free-form open questions, or a single trivial yes/no that plain text answers better.

Add to TypingMind

Übersicht

HerausgeberFirstp1ck
Repositorypi-coding-agent-forge
Skill-Namequestionnaire
Sterne
93
Forks
22
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von Firstp1ck auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Questionnaire in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-package-questionnaire/skills/questionnaire
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Firstp1ck/pi-coding-agent-forge.git /tmp/pi-coding-agent-forge
mkdir -p .claude/skills
cp -r /tmp/pi-coding-agent-forge/pi-package-questionnaire/skills/questionnaire .claude/skills/questionnaire
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Questionnaire in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Questionnaire automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Questionnaire nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Questionnaire

Ask related structured questions in one native dialog flow and read the answers back as stable IDs.

The questionnaire tool runs Pi's native selector and text-input dialogs sequentially. It works in the TUI (Up/Down + Enter) and in the WebUI (options are ordinary clickable buttons).

When to use

Use questionnaire when:

  • two or more related choices must be settled before work can continue;
  • the choices have a known, bounded option set you can name;
  • the user asked to be prompted with a menu, list, form, or dialog;
  • a prior questionnaire result returned QUESTIONNAIRE_NEEDS_CLARIFICATION.

Do not use questionnaire when:

  • the question is genuinely open-ended and better answered in prose;
  • one trivial confirmation is enough — just ask in normal text;
  • you are requesting secrets, passwords, tokens, or other credentials;
  • you already have the answer in context, or can determine it by reading files or running a read-only command.

Never invent a questionnaire to look thorough. Ask only what actually changes what you will do.

Question design rules

  1. Combine. Put every related question into one start call. Do not run several sequential questionnaires for one decision.
  2. Stable IDs. Give each question and option a stable, descriptive, non-empty id (deploy_target, target_staging). IDs are what you read back; labels are only display text.
  3. Unique IDs. Question IDs must be unique in the call; option IDs must be unique within their question.
  4. Concise text. Short label, one clear prompt sentence, and an optional short description per option only when the label is not self-explanatory.
  5. Honest types. Use single when exactly one answer is valid, multi when several are. Do not fake multi-select with several single questions.
  6. Realistic bounds. A multi question defaults to minSelections: 0; set minSelections: 1 whenever an empty answer is not useful. Set maxSelections only when the task needs a ceiling. Selection bounds are rejected on single questions.
  7. Other. allowOther defaults to true. Set it to false when a custom answer is meaningless or unusable.
  8. Bounded size. 1–20 questions, 1–50 options per question, IDs ≤128 chars, labels ≤200, prompts ≤2000, option descriptions ≤500.

Start call

Send only action and questions:

json
{
  "action": "start",
  "questions": [
    {
      "id": "deploy_target",
      "label": "Target",
      "prompt": "Which environment should this release go to?",
      "type": "single",
      "options": [
        { "id": "staging", "label": "Staging" },
        { "id": "production", "label": "Production", "description": "Requires an approved release window" }
      ],
      "allowOther": false
    },
    {
      "id": "checks",
      "label": "Pre-flight checks",
      "prompt": "Which checks must pass before the deploy?",
      "type": "multi",
      "options": [
        { "id": "unit", "label": "Unit tests" },
        { "id": "e2e", "label": "End-to-end tests" },
        { "id": "lint", "label": "Lint and types" }
      ],
      "minSelections": 1,
      "maxSelections": 3
    }
  ]
}

Reading results

The tool result text starts with a status marker and the questionnaire ID and revision:

MarkerMeaningWhat to do
QUESTIONNAIRE_COMPLETEDAll questions answeredUse the answers and continue the task
QUESTIONNAIRE_NEEDS_CLARIFICATIONUser asked Pi something firstExplain, then resume immediately (see below)
QUESTIONNAIRE_CANCELLEDUser cancelled, or the call was abortedStop; ask in normal text what to do next
QUESTIONNAIRE_UNAVAILABLENo usable interactive UIAsk the same questions in normal text instead

Answers come back as { questionId, selectedOptionIds, other? } in the original question order:

  • selectedOptionIds holds option IDs in their declared order.
  • other holds the trimmed custom answer when the user supplied one.
  • For a single question answered with Other, selectedOptionIds is empty and only other is set.
  • For a multi question, other is additive: it does not replace selected option IDs and it counts as one choice against minSelections / maxSelections.

Treat cancelled and unavailable as real user outcomes. Never guess the answers the user did not give.

Clarification is mandatory

When the result is QUESTIONNAIRE_NEEDS_CLARIFICATION, the user paused at one question to ask you something. The prior answers and the current multi-select toggles are already stored.

You must:

  1. Answer the user's request in normal assistant text, concretely and briefly.
  2. Immediately call questionnaire again with action: "resume" and only questionnaireId, revision, and clarificationResponse copied from that result.
json
{
  "action": "resume",
  "questionnaireId": "3f2a6f2c-1d47-4c2b-9a0e-1f7c9d1a55b1",
  "revision": 1,
  "clarificationResponse": "Production deploys need an approved release window; staging does not."
}

Hard rules:

  • Never resend questions on resume — the stored snapshot is authoritative and cannot be replaced.
  • Never start a new questionnaire to recover from a clarification request; that loses the user's prior answers.
  • Never infer, assume, or fabricate the pending answer; the user still has to choose.
  • Use the exact questionnaireId and the exact revision from the latest result. A stale or unknown pair is an error.
  • Keep clarificationResponse a concise summary (≤1000 characters) of the explanation you just gave.
  • Do not end your turn after a clarification result without resuming.

Clarification can repeat: each request returns a new, higher revision. Answer and resume each time.

Privacy and safety

  • Answers are ordinary tool results: they are visible to the model and persisted with the session and its branch.
  • Never use questionnaire to collect passwords, API keys, tokens, or other secrets, including via the Other field.
  • Do not copy answers into logs, files, or external systems unless the user asked for that.
  • Resume only works on the same session branch that produced the clarification result.

Häufig gestellte Fragen

Was macht der KI-Skill Questionnaire?

Collect structured single-select and multi-select answers from the user through the native questionnaire tool instead of long free-text question lists. Use when a task needs several related choices (scope, options, priorities, configuration, preferences) before work can continue, when the user asks to be asked in a menu/form/dialog, or when a questionnaire result returns QUESTIONNAIRE_NEEDS_CLARIFICATION and must be answered and resumed. Do not use for secrets, credentials, free-form open questions, or a single trivial yes/no that plain text answers better.

Warum Questionnaire in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Questionnaire besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Questionnaire in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Firstp1ck/pi-coding-agent-forge/tree/main/pi-package-questionnaire/skills/questionnaire ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Questionnaire nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Questionnaire verwenden?

So viele Sie möchten. In TypingMind können Sie Questionnaire mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Questionnaire kostenlos?

Ja. Der Skill wird von Firstp1ck auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇