/ppp:ppp-office-scriptsfrom ppp
Office Scripts that flows run with Excel Online (Business) "Run script from SharePoint library" - import adapters for files the platform cannot read (PDF, text, CSV), reading or writing a whole table in one call, reports into template workbooks, calculations a flow does badly (regex, grouping, working days); ppp osts check, run, new and pack; the card for the script library; environment variables for script and host workbook. Use before writing, changing, checking, running or delivering an Office Script, or a flow step that runs one.
Ships in ppp. 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.
Read when SKILL.md points to them.
Status per statement: [B] observed in the tenant (or, where marked, locally on real files), [D] Microsoft documentation, not yet confirmed here, [O] open; a community report stays [O] until observed here. Facts with sources: references/platform.md.
An Office Script is one TypeScript file with function main(workbook: ExcelScript.Workbook, …). A flow runs it in its own Excel session against a workbook in a SharePoint library and gets its return value as result. It is a standard connector: no premium licence, no PC with Python.
components/office-scripts/<name>.ts, one row per script in its README.md (file in the library, parameters, returns, since which package). ppp osts new <name> --pattern adapter|table-read|table-write|compute creates both; ppp check reports a script without a row and a row without a file.error and the reason, so a changed format is noticed and never read half. [B, BRRP 001 locally]ppp osts check until it reports no ERROR, then ppp osts run on real input (--file <param>=<path> passes a file as base64 as "Get file content" does, --workbook an .xlsx), compared with the reference: a Python reference implementation or fixed expected values. Each WARN is fixed or its reason is named in the README. (references/local.md)main: parameters and return value of the types Power Automate can describe (string, number, boolean, unknown, object, arrays of them, unions of literals of one type, interfaces of the script) [D]. The script returns a typed result with status and message instead of throwing; the flow branches on the status. A changed signature needs the action removed and added again, because it keeps the signature it was created with [D]; tell the user on the tenant-step card. ppp verify C15 reports parameters that fit no script.A script does what a flow does badly or not at all: parse a file, regular expressions, sort or group objects, write or read many rows in one call, format a report. It cannot reach the network from a flow [D] and is no place for logic a standard action covers in one step. The four patterns and further jobs: references/patterns.md.
| Topic | File |
|---|---|
| Language rules, types, what fails in a flow, limits, availability, sources | references/platform.md |
| Card: create or replace a script in the library, host workbook, script ID, upload of an .osts | references/library.md |
| The flow: action, environment variables, parameters, result, errors, batches, simulation, C15 | references/flow.md |
| Which job suits a script, the four patterns, adapters, dates and numbers, performance | references/patterns.md |
ppp osts check, run, new, pack, unpack, the local workbook and its limits, tests against a reference | references/local.md |
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub portolasas/ppp-plugin --plugin ppp17 skills in this plugin
/ppp-app-walkWalk through a running canvas app or click mock-up in Edge with automated clicks - pictures, layout and usability review, expected values in scenarios, reproducing errors, load times, comparison with the last run, illustrated Word guides per role, training videos. Use when a screen should be checked visually, a critical scenario tested, an app error reproduced, or a guide, screenshots or a video of the app are needed./ppp-auditIndependent audit of the plan or of a package proposal by a read-only subagent never weaker than the chat's model - contradictions, gaps, unconfirmed assumptions, testability. Use when the user picks "Audit first" on the confirmation card of the plan or of a risky package, or asks for an audit or a second opinion on specs, plan or proposal./ppp-clarifyClarification of requirements in card rounds until nothing is assumed silently, then planning of the packages in ROADMAP.md; results in specs/, decisions/ and ROADMAP.md. Use after intake, when new material or a new requirement arrives, when a questionnaire for someone else is needed, when the specs are settled and the work has to be cut into packages, or when the plan changes./ppp-copilot-studioCopilot Studio and AI Builder prompts - prompts called from flows, structured output, prompt text rules, validation, model choice, test hub, agents in a solution export. Use before building, changing or testing a prompt or an agent./ppp-diagnoseDiagnosis of errors in the tenant - a failing flow run, wrong data, an app that misbehaves, an import that is rejected. Use when the user reports something broken, failing, wrong or slow./ppp-docsDocuments for people outside development - handbook, training, Six Sigma documents, questionnaires and project material in docs/. Use when a handbook, training, user guide, in-app help, DMAIC document or presentation is needed.