ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Ms Forms Auto

Skill by claireaicodes

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/claireaicodes/ms-forms-auto
Or

name: ms-forms-auto description: Automate Microsoft Forms submission with dual-calendar integration and M365 MFA support. Use when: automating daily productivity log submissions, submitting Microsoft Forms with calendar-based auto-fill, setting up scheduled form submissions with training/content-dev/learning hour calculations, or working with org MS Forms that require M365 number-matching MFA. Triggers on phrases like "fill out MS form", "automate form submission", "daily form report", "submit Microsoft form", "daily productivity log", "training hours form".

MS Forms Auto

Automate Microsoft Forms submission with Playwright, dual-calendar auto-fill, and M365 number-matching MFA support.

Quick Start

1. Install Dependencies

cd <skill-directory>
npm install
npx playwright install chromium

2. Set Up Credentials (one-time)

node scripts/setup-credentials.js

Creates config/credentials.json (gitignored) with M365 email/password.

3. First Login with MFA

xvfb-run --auto-servernum node scripts/mfa-login.js

When prompted, enter the 6-digit code from your Authenticator app. Saves auth state to config/storageState.json for headless reuse.

4. Fetch Calendar Data

node scripts/calendar-fetch.js              # Today (SGT)
node scripts/calendar-fetch.js --date 2026-03-18  # Specific date

Returns JSON with all form fields auto-populated from both calendars.

5. Submit the Form

node scripts/submit-daily.js

Reads today's entry from daily-entries/YYYY-MM-DD.json and submits.

Architecture

Dual Calendar System

CalendarURL SourcePurpose
Training (TMS)Built into scriptTraining Hours (source of truth)
OutlookBuilt into scriptContent Dev Hours, Other Items

Field Logic

#FieldSource
1DateToday (M/d/yyyy)
2Training HoursTraining calendar events
3Content Dev HoursOutlook calendar (content dev blockouts)
4Content Dev TopicEvent description from Outlook
5Learning Hoursmax(0, 8 - training - contentDev)
6Learning Topic2-3 random topics + any KT Sessions
7Other Items"Preparation, testing, and rehearsal for my next class" + Outlook events (excludes KT Sessions, training duplicates)
8Team HoursBlank
9Team DescriptionBlank

Fallback Defaults (if calendars fail)

FieldFallback
Training Hours0
Content Dev Hours0
Content Dev TopicNA
Learning Hours8
Learning Topic3 random topics from pool
Other Items"Preparation, testing, and rehearsal for my next class"

Scripts

Metadata

Stars3562
Views0
Updated2026-03-29
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-claireaicodes-ms-forms-auto": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.