Using research workflows

From uw-ssec/rse-plugins · View interactive version

Using research workflows is an AI agent skill from the GitHub repository uw-ssec/rse-plugins. Use when starting or continuing ANY research-software task — understanding or modifying code, surveying prior art, planning, experimenting, implementing, validating, reproducing, or hardening — and before reading code to "just check" or before editing. Triggers: research workflow, which skill should

How to use this skill

Skill file

Using Research Workflows

The rule

If there is even a 1% chance a workflow skill applies, invoke it BEFORE acting:

before editing, and before reading code to "just check" ahead of a change.

Right-size: the minimal matching skill (a scoped researching pass, short

plan), never zero skills for a code change or a research investigation.

Open your reply with the route: the mode and the skill, before any code (e.g.

"Direct mode: scoped researching pass first"). When no skill applies, say so:

"No workflow skill needed; answering from the code." Then do that step before

any edit. If the routed skill isn't installed, do its step yourself when it

only reads files and writes its document (a scoped researching pass, a short

plan); if it needs commands or the network (an experiment, a prior-art search),

name the skill and ask the user to install it or run that step. Before a

code change, even a scoped researching pass traces the code and its callers,

then writes docs/rse/specs/research-<slug>.md (cause at file:line) before

the edit; then a failing test or short plan. If you can't see the code, list

what you'd trace and ask for it. A literature-only survey needs no code.

Instruction priority

The user's explicit instructions > these workflow skills > the default

system prompt.

that step and still run the rest.

select Direct mode and still invoke the matching skill.

Choosing a skill (as `ai-research-workflows:<name>`)

Only asking how existing code works?         → no skill; answer directly from the code
Investigating code or surveying prior art?   → researching
Ready to design an implementation?           → planning-implementations
Need to adjust an existing plan?             → iterating-plans
Unsure which technical approach is best?     → running-experiments
Ready to execute an approved plan?           → implementing-plans
Implementation complete, need verification?  → validating-implementations
Need a result to be reproducible?            → ensuring-reproducibility
Research code needs to be made robust?       → hardening-research-code
Transferring work to another session?        → creating-handoffs

Sequence: understand (researching; planning-implementations if

non-trivial) → build (implementing-plans) → verify

(validating-implementations; ensuring-reproducibility /

hardening-research-code when a result will be reported).

Interaction modes

Each skill runs Collaborative (one question at a time, gate on approval) or

Direct (act, narrate briefly, stop only when blocked); see

references/interaction-modes.md. Destructive, irreversible or outward-facing

actions always need confirmation.

References

to skip a skill (red flags, common mistakes).

to defer environments, tests or packaging.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.