/oss:qualtrics-ops [audit | describe the live survey and the change you need to make]from oss
Operates or audits live Qualtrics surveys via v3 APIs: publish gating, quotas, flow routing, embedded data, panel-vendor redirects, read-back verification, and pre-fielding audit for consent, force-response, anti-bot, and language-arm symmetry.
Ships in oss. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill covers operating a survey already built and imported into Qualtrics — publishing, quotas, flow routing, live text patches, panel-vendor integration, security options — on an instrument that is or will be fielding real respondents. It is not survey design or QSF construction; the question is how to change the definition without breaking what respondents see.
Two modes. Operations (default): sections 2-8 govern any write to a live
instrument. Audit mode (audit as the first argument) is the read-only
pre-fielding assessment at the end.
Pre-authorized: every read (definition, flow, options, quotas, versions), backups, response exports, and staging the specific change the user asked for.
Confirm with the user first: publishing, activation, resetting quota counters, switching a quota to hard-terminate, deleting responses, creating a test survey in their account, the audit's browser walk on a live link, and any write beyond the change they described. These reach real respondents, vendor billing, or collected data, and several cannot be undone.
Back up first. Pull and save the survey definition, flow, and options as separate JSON before any write. Qualtrics version restore is coarse, carries data-risk caveats, and does not cover quota counters or options; your snapshot is the only precise recovery path.
Verify by read-back, not by absence of error. A 200 means the API accepted the request, not that respondents will see the result. After every write, GET the changed object and confirm it matches intent.
The version list is the proof a change is live, not the publish-state flag (see §3). The standard: your publish created a NEW published version entry carrying your own description, paired with a read-back of the published content where the API exposes it, since a description proves provenance, not content.
One writer at a time. Confirm the survey, brand, and environment; that nobody has the builder open; and the rollback path, before the first write. On an actively fielding instrument, prefer a change window. Deleting or restructuring questions and choices can invalidate collected data.
Assert everything untouched is unchanged. Several endpoints below are full replace and silently wipe sibling data. Diff the whole parsed object against the backup (the server may normalize ordering and defaults), not just the field you meant to edit.
Most flow and options edits to an active survey are staged until an
explicit version publish: respondents keep the old version while the API
reads back your new one. (A few option keys, availability among them, apply
immediately; assume staged and verify per key.) Question/block writes are
worse: they create no list_versions entry, so publish-state can report "in
sync" while the live version lags your edit.
Stage all related writes as one batch, verify the batch by read-back, then publish ONCE, deliberately (forcing the publish if your client supports it). Publishing after each write can expose respondents to inconsistent intermediate versions. Reload the builder before trusting its Draft/Published badge; it lags the API.
Publishing an inactive survey activates it. Treat activation as its own decision: have the API client require an explicit activation flag so a content publish can never launch fielding as a side effect.
Every quota error below is silent: the write returns 200, reads back exactly as sent, renders normally in the builder, and the quota does nothing. Check against a platform-authored example, never against what looks right.
If a quota counts but never blocks, check ActionInfo first.
QuotaAction: "EndCurrentSurvey" only names the action; the nested
ActionInfo object fires it. A quota written with the empty stub
"ActionInfo": {"Type": "BooleanExpression"}
counts every matching respondent and acts on none — no error at write, publish, or runtime. The platform's own serialization is:
"ActionInfo": {"0": {"0": {"ActionType": "EndCurrentSurvey",
"Type": "Expression",
"LogicType": "QuotaAction"},
"Type": "If"},
"Type": "BooleanExpression"}
ActionType repeats the QuotaAction value. If count is incrementing, the
matching logic is already correct; go straight to ActionInfo (the group's
Selected flag and EndSurveyOptions do not make a quota fire). To shut an
over-target cell use Occurrences: 1, not 0, which no platform-authored
quota uses.
Condition dialect. Compound quotas that "never fire" are a hand-authoring dialect mismatch, not a platform limit on condition count. Qualtrics's own quota JSON uses:
"Conjuction" (the legacy misspelling, permanent in the schema), not
"Conjunction", to join conditions. Single-condition quotas need no join,
which is why they work while every compound quota sits at zero."q://{QID}/ChoiceTextEntryValue", not "q://{QID}/TextEntry", as the
operand for a numeric comparison on a text-entry question, with
ChoiceLocator duplicating the same string.LeftOperand for LogicType: "EmbeddedField"
({"LogicType": "EmbeddedField", "LeftOperand": "gc", "Operator": "EqualTo", "RightOperand": "1"}), not the e://Field/gc form that is
correct everywhere else in Qualtrics (branch and display logic, piped
text, redirect URLs). A field verified as populated in the export with
every quota on it at count: 0 is this error.Written in the correct dialect, flat AND groups of three or four conditions
across different QIDs fire correctly. Before trusting any multi-condition
quota, get a real platform-exported QSF from the same account (ask the user;
an old unrelated survey works) and diff your Logic against its quota
objects byte for byte. This takes minutes and is the highest-value check
available. Without a reference file, hand an independent model (the
advisor skill) the full evidence trail — what fired, what didn't, exact
JSON of both — and ask it to reason from first principles.
Simple vs. Cross — identify the type before reading Logic. A Simple
quota is one cell: Logic is a single expression tree (dict) and
Occurrences is that cell's absolute target. A Cross quota is Qualtrics's
native interlock: Logic is an ARRAY of logic sets that the engine crosses
into cells, Occurrences is the grid TOTAL, and Conjuction holds each
condition's percentage share ("27%"), not And/Or — each cell's target
is Occurrences × the product of its shares. Cross expresses an age × gender
× region interlock as one object instead of hundreds, so build grids with
Cross. Because its targets are shares of a total, it is awkward for rebasing
a half-filled field, where "33 slots left" is simply Occurrences: 33 on a
Simple quota. Build with Cross; repair mid-field with Simple. When an
interlock is the goal, Cross also beats precomputing a merged embedded field.
Design choices that avoid the problem.
Selected conditions — no
text-entry locator, no >=/<= pair, nothing to get wrong.Prove enforcement; don't infer it. For any non-trivial quota, either
drive a real response through the matching path and confirm count
increments, or diff its Logic against a quota on the same live survey that
is already demonstrably counting. Responses created via POST .../responses
(import) never trigger quota evaluation, so they prove nothing either way.
To diagnose enforcement itself, do not walk a clone of the real instrument: geo gates, duplicate-device gates, anti-automation paradata, and session-resume cookies eject or short-circuit the walk, and stripping them piecemeal corrupts the flow. Build a minimal disposable survey (with the user's go-ahead): three quota-bearing questions on page 1, a marker question on page 2 (reaching page 2 is the "not blocked" signal; a one-page survey cannot show blocking), and TWO quotas — one the walk matches, one differing in a single condition as a negative control that must stay at 0. Walk once to fill, walk again, and change ONE variable per walk.
What count can and cannot tell you.
POST .../export-responses) against the target grid before reporting
any mid-field quota fix as verified.Quota groups.
ESDEF44, "already exists in Quota Group X"). PUT the source group with
the quotas removed first, then PUT the destination with them added.Name is not proof of its Quotas array.Termination records. Give every hard quota its own EndSurveyOptions at
build time. Without it, the quota inherits survey-level termination (the
respondent still exits via the survey EOSRedirectURL), but the response row
carries no QuotaMet flag, so quota terminations are indistinguishable from
consent refusals and screen-outs of the same shape. The platform's
serialization for a hard quota:
"EndSurveyOptions": {"EndingType": "Advanced",
"ResponseFlag": "QuotaMet",
"Screenout": "Yes", "IgnoreResponse": "Yes",
"AnonymizeResponse": "Yes", "CountQuotas": "No",
"SurveyTermination": "Redirect",
"EOSRedirectURL": "<vendor quota-full URL>"}
When quotas are already live without EndSurveyOptions, retrofit the flow
bracket instead: set an embedded field to the quota-full URL immediately
BEFORE the quota-bearing block, reset it to the screen-out URL immediately
AFTER, have the survey redirect read that field, and verify by flow index.
That gets the billing-relevant vendor disposition right; mass-retrofitting
live quotas buys only forensic tidiness.
For a survey built from versioned source specs (YAML, a builder config), patch a live typo directly against the live question — match the exact surrounding text, replace only the intended span — since a rebuild and repush clobbers formatting applied live since the last build. Sync the fix back to the spec whitespace-insensitively (specs soft-wrap prose). Keep a list of what the build pipeline does not emit (quality-routing branches, vendor disclosures added live) and reapply it after every rebuild.
Vendor redirect logic follows one pattern regardless of vendor: a pre-consent screen-out value, a terminal complete value, and an end-of-survey redirect to the URL in an embedded field the vendor's entry link populated. Bracket quota-bearing blocks with a quota-full variant (§4) so respondents who close out a quota reach the vendor's quota-full endpoint rather than a generic completion or termination redirect.
URL query parameters resolve into piped references at session start regardless of where, or whether, the embedded-data declaration sits in the flow (live-verified against redirect pipes). Declare the field anyway; that is what makes the value reliably typed, saved, and exported.
Before enabling any quota's hard-terminate action (EndCurrentSurvey) on
vendor-sourced traffic, check the vendor correspondence. Vendors are
sometimes told in writing that an exit status (a quota-full code, say) is
deliberately unused and real-time termination is limited to a named set
(duplicate device, geo-ineligibility, automation). Inside Qualtrics the
switch is a routine config change with no warning, but it starts exercising
a redirect path the vendor expects never to see. This is a compliance
question: search the correspondence for the vendor's redirect status codes by
name, and raise it with the user before activating.
Treat the security/options block as read-modify-write: fetch the full object, change only the target keys, write the whole object back, then assert every other key is byte-identical to the backup. Options endpoints are as prone to full-replace semantics as quota groups, and a fraud-detection threshold or ballot-box-stuffing flag silently reset to default goes unnoticed until an incident.
After toggling quota actions or publishing repeatedly on a fielding survey,
pull the export and confirm Progress = 100 and Finished = True for every
session whose StartDate falls in the affected window, rather than reasoning
that nobody could have been cut off.
Run this mode to assess a survey rather than change it — audit as the
first argument, or the survey-flow-audit alias. It reads the live
instrument as it will actually run, not as its build files say, and produces
findings, never fixes.
Audit mode is read-only on the survey definition. GET everything; PUT/POST nothing, except a no-op write check for token scope if the platform offers one. Each repair goes back through operations as a separate, authorized change with its own backup, read-back, and publish proof. The exception is the optional browser walk (Phase H), which creates test responses and possibly test hits on a vendor dashboard; announce it and run it only with the user's go-ahead.
When to run: before soft or full launch, after any live patch, when a vendor reports a broken redirect, or when taking over a survey. Inputs: API credentials and survey id; ideally the pre-registration or PAP (for report-only vs. terminating posture), the vendor's integration sheet (redirect URLs, ID parameter), and quota targets. A browser MCP (claude-in-chrome or Playwright) enables Phase H; without it, run A-G and say so.
Posture: every PASS cites the object read back (flow element, option key, quota logic), never the absence of an error. The registered design wins: where a PAP declares an item report-only, a live branch terminating on it is a blocking finding even if well built.
Walk the full flow tree at every nesting depth:
Simple vs. Cross before reading Logic, §4).
Screening categories ("I don't live here") belong to no quota.EndCurrentSurvey quota, confirm ActionInfo
carries the nested firing shape (§4).count: 0 on a fielding
survey is a dialect finding until proven otherwise. Follow pagination.Rank findings blocking / major / minor, each with the evidence read back and the phase that produced it. State the live vs. working version, which phases ran (and that H was skipped, if so), and which findings the registered design requires leaving alone. End with test-response cleanup confirmation if Phase H ran.
Conjuction, ChoiceTextEntryValue, bare EmbeddedField operand,
operand plus ChoiceLocator)Simple vs. Cross) identified before reading or writing
LogicActionInfo populated with the nested firing shapecount moving (a count shows matching, not blocking)count; group
membership read back and matched by quota nameEndSurveyOptions with QuotaMet, or the flow
bracket is verified by flow indexEndCurrentSurvey on
vendor trafficProgress/Finished across the affected windowAudit mode only:
ActionInfo populated on every
EndCurrentSurvey quotaWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub scdenney/open-science-skills --plugin oss46 skills in this plugin
/advisorConsults Fable as an independent, read-only reviewer at an effort the caller matches to the question. The calling session (usually Opus, or Haiku) holds the task and escalates one decision point. Use before committing to an interpretation or a substantial piece of writing or analysis, when stuck or not converging, when changing approach, or as a final check on a finished task. Fallback for when the native advisor tool is unavailable. Not for a session already running Fable./beamerHouse rules and craft for LaTeX Beamer slide decks (lectures, seminars, talks), drawn from the author's own Overleaf edits and published slide-design guidance. Covers storyboarding, frame titles, slide prose, word and frame budgets, layout without overfull boxes, XeLaTeX fonts and Korean (xeCJK), color, figures and screenshots, Overleaf source hygiene, speaker notes, and a build-and-QA loop with a contact sheet. Use when writing, editing, reviewing, or building a Beamer deck, theme, or storyboard. A course skill supplies course facts and the frame skeleton; this skill supplies the craft. Not for HTML or PowerPoint decks, posters, or papers./citation-checkAudits a manuscript's citations for fabricated or nonexistent sources, DOIs that resolve to a different work, mismatches between in-text citations and the reference list, APA 7 or journal style, and whether each source supports the claim it is attached to. Checks entries against Crossref, OpenAlex, and DataCite and labels anything it could not verify NOT CHECKED. Use to check citations, references, a .bib file, or DOIs, or when a source may be AI-invented. Figures and tables go to figure-table-audit./conjoint-cleaningTurns a raw Qualtrics conjoint export into an analysis-ready long-format dataset, covering export settings, identifying the implementation, package or manual wide-to-long reshaping, choice-profile alignment, ratings, reference categories, pilot exclusion, and subgroup merges. Use when the user has a conjoint CSV to clean, reshape, or debug, cannot align choices with profiles, or asks what the data must look like before AMCE estimation. Design goes to conjoint-design, validity review to conjoint-diagnostics./conjoint-designDesigns conjoint and factorial-vignette experiments, covering attribute architecture and randomization restrictions, effective-N power, treatment realism, the choice among AMCE, marginal-mean, and AMIE estimands, forced-choice versus rating designs, and PAP tiers. Use when the user is planning a conjoint, drafting or critiquing an attribute table, asking how many respondents or tasks are needed, whether to report AMCEs or marginal means, or how to test interactions. Reviewing an existing design goes to conjoint-diagnostics, cleaning the export to conjoint-cleaning./conjoint-diagnosticsReviews an existing conjoint study for threats to inference and returns severity-ranked findings on design integrity, estimation, measurement error, external validity, and interpretation, including the guardrail against reading an AMCE as majority preference. Use when the user asks whether a conjoint design or analysis holds up, has referee comments on a conjoint, or wants a second opinion on estimation or interpretation. New designs go to conjoint-design, reshaping to conjoint-cleaning.Other plugins' skills for the same job