Microsoft Forms Builderのロゴ

Microsoft Forms Builder

コミュニティ
aktsmm
microsoft-forms-builder

Create and configure Microsoft Forms surveys through an owned browser session (Playwright over CDP): title, description, text/choice questions, free-text 'Other', required flags, external-respondent sharing, short URL and an anonymous-access check. Use for Microsoft Forms, forms.cloud.microsoft, アンケート作成, 事前アンケート, 事前ヒアリングフォーム, Forms の共有範囲, 短縮URL, or building a survey from a question table. Not for reading or analysing responses, quizzes, Power Automate flows or Forms Pro.

概要

公開者aktsmm
リポジトリAgent-Skills
スキル名microsoft-forms-builder
スター
27
フォーク
5
同梱ファイル
6
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    aktsmmがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルMicrosoft Forms BuilderをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/aktsmm/Agent-Skills/tree/master/microsoft-forms-builder
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aktsmm/Agent-Skills.git /tmp/Agent-Skills
mkdir -p .claude/skills
cp -r /tmp/Agent-Skills/microsoft-forms-builder .claude/skills/microsoft-forms-builder
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでMicrosoft Forms Builderを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にMicrosoft Forms Builderを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Microsoft Forms Builderは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Microsoft Forms Builder

Build a survey in Microsoft Forms from a question spec. Forms has no public API to create a form, so this drives the editor UI. The bundled scripts hold the working recipe; read UI notes before changing them.

When to Use

  • 「Forms でアンケートを作って」「事前アンケートを Forms にして」「共有範囲を外部にして」「短縮 URL がほしい」
  • A question table (Markdown, Excel, chat) must become a live Microsoft Form.
  • An existing form must become answerable by external users, with a verified anonymous link.

Not the Best Fit

  • Reading, exporting or analysing responses, quizzes, branching/sections, rating/date/ranking/file-upload questions (the scripts only build text and choice questions), Power Automate. Do those by hand or with another route.
  • Credentials, MFA and tokens stay with the user. Never type them, and never read a sign-in page's secrets.

Safety Gates

  • External respondents are a decision, not a default. The tenant default is "organisation only". Run --share anyone only after the user states that respondents are external and anonymous. Bind the approval to the form and the audience.
  • Sign in only by choosing the Windows-connected account on the account picker. If sign-in does not complete, stop and ask the user to finish it in that window.
  • Use your own Edge window (own port, throwaway profile). Never attach to another tool's CDP browser. The profile holds tokens: stop the window and delete the profile when done.
  • A test form may be deleted only if this run created it and its title matches exactly with one tile (My forms tab). Deletion goes to the Forms trash.
  • Do not click "new form" repeatedly: each click opens a new tab and leaves an empty untitled form.

Workflow

  1. Spec first. Turn the question table into spec.json (see below). Always include an optional long free-text question such as "anything else you would like to tell us?"; the validator rejects specs without one. For choice questions use other: true instead of listing "その他" as a plain option.
  2. python scripts/build_form.py spec.json --dry-run (spec check, no browser).
  3. Start the session: scripts/browser_session.ps1 -Action Start.
  4. python scripts/build_form.py spec.json --account <work account on the picker>. It creates the form, fills it, waits for "saved", reopens it and compares titles and required flags. Exit code 3 means the read-back failed.
  5. External respondents approved: python scripts/build_form.py spec.json --only-share <form id> (sets "anyone can respond", turns on a short URL, opens it in a cookie-less context). Report anonymousOk.
  6. Report the response URL (short URL when it exists), the sharing scope, and what was not checked (no test submission is made). Then browser_session.ps1 -Action Stop. If more edits are likely (user is still iterating on wording or questions), keep the session running and stop it only at the end: every Start uses a fresh profile, so each restart costs the user another sign-in.

Run Python Playwright from an interpreter that has it installed; set PYTHONUTF8=1 and write Japanese output to a UTF-8 file, because the PowerShell pipe garbles it.

spec.json

json
{ "title": "...", "description": ["line 1", "line 2"],
  "questions": [
    {"type": "text", "title": "お名前", "required": true},
    {"type": "choice", "title": "...", "multiple": true, "required": false, "options": ["A", "B"], "other": true},
    {"type": "text", "title": "自由記述", "long": true, "required": false} ] }

assets/spec.example.json is a runnable sample. Put examples inside the question title, for example "(例: ...)": the subtitle control is not scripted.

Gotchas That Cost a Rerun

  • Every typing step must select-all first, or a resumed run appends a second copy of the text.
  • Match type tiles with exact names: collapsed question cards also contain "テキスト".
  • Added options come pre-filled ("オプション 3"); a plain option named "その他" is not the free-text "Other".
  • New questions inherit the previous required switch; the script sets it explicitly.
  • Leaving the page right after the last edit can lose it. The header can already read "保存済み" before a new edit registers, so after changing text wait with wait_saved(page, expect=<snippet of the new text>), then reopen and verify (an existing form's description edit was lost this way).
  • The built-in "Other" must be added after the other options; it always renders last.

More selectors, failure signatures and the delete recipe: UI notes.

Done Criteria

  • Question titles, types, options and required flags match the spec after the editor was closed and reopened.
  • Sharing scope reported; external scope only with the user's approval, with anonymousOk: true.
  • The response link was opened in a cookie-less context and showed the title and question count.
  • The owned browser and its profile are removed; any test form created by this run is deleted.
  • Unverified items are stated: English UI, question types beyond text/choice, a real test submission.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Microsoft Forms Builder」では何ができますか?

Create and configure Microsoft Forms surveys through an owned browser session (Playwright over CDP): title, description, text/choice questions, free-text 'Other', required flags, external-respondent sharing, short URL and an anonymous-access check. Use for Microsoft Forms, forms.cloud.microsoft, アンケート作成, 事前アンケート, 事前ヒアリングフォーム, Forms の共有範囲, 短縮URL, or building a survey from a question table. Not for reading or analysing responses, quizzes, Power Automate flows or Forms Pro.

TypingMindでMicrosoft Forms Builderを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Microsoft Forms Builderはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにMicrosoft Forms Builderをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/aktsmm/Agent-Skills/tree/master/microsoft-forms-builderを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Microsoft Forms Builderを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Microsoft Forms Builderは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもMicrosoft Forms Builderを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Microsoft Forms Builder」は無料ですか?

aktsmmがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇