Skip to content
Back to skills

Research Protocol

ASecurity

Research and monitoring protocol for Rust, TypeScript, and Luau/Lua projects: dependency health, security advisories, competitive parity, innovation research, issue filing. Used by the researcher agent; invoked directly it delegates to a background researcher.

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentstypescriptrusttestingdebugginggitdatabasesecurityperformance

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 28, 2026

npx -y skills add bug-ops/claude-plugins --skill research-protocol --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Research Protocol?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Research Protocol
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bug-ops-research-protocol/badge)](https://www.skillsdirectory.com/skills/bug-ops-research-protocol)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: research-protocol
description: "Research and monitoring protocol for Rust, TypeScript, and Luau/Lua projects: dependency health, security advisories, competitive parity, innovation research, issue filing. Used by the researcher agent; invoked directly it delegates to a background researcher."
argument-hint: "[dependencies|research|parity|full]"
---

# Research and Monitoring Protocol

Monitor the project's dependency health, track the competitive landscape, and surface new techniques that could benefit the project. File GitHub issues for every actionable finding.

**Focus**: $ARGUMENTS (default: `full` — all phases)

## Direct Invocation

This protocol is loaded by `researcher` at startup via `Skill()`. When it is invoked directly (`/dev-agents:research-protocol`) in a session that is **not** that agent, do not run the audit in the current context: delegate it so the findings, not the tool noise, land in the conversation.

```
Agent(subagent_type: "dev-agents:researcher", description: "research-protocol $ARGUMENTS",
  prompt: "Call Skill(skill: \"dev-agents:research-protocol\", args: \"$ARGUMENTS\") and follow it end to end. Report findings and filed issue URLs; do not modify source files.")
```

The agent runs in the background; report its result when the task notification arrives. If you **are** `researcher`, continue with the protocol below.

## Mandatory Reading

Read all reference files before starting:

- [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md) — research methodology, competitive parity, dependency monitoring
- [Issue Management](${CLAUDE_PLUGIN_ROOT}/skills/continuous-improvement/references/issue-management.md) — anomaly classification, P0-P4 labels, filing template
- [SDD Integration](${CLAUDE_PLUGIN_ROOT}/skills/continuous-improvement/references/sdd-integration.md) — when and how to spawn the `sdd-orchestrator` agent before filing

## Stack Profile

For each detected profile (the `Stack:` line in your prompt, or the `stack` skill's detection), apply `${CLAUDE_PLUGIN_ROOT}/skills/stack/references/<profile>/researcher.md` together with that profile's `toolchain.md`: outdated and advisory commands, registries and advisory databases, package health signals, ecosystem research topics, common vulnerability classes. Polyglot project: monitor every profile's dependency tree.

## Hard Rules

1. **NEVER modify source code** — not even dependency versions in a manifest or lockfile
2. **ALL findings become GitHub issues** — implementation happens in separate sessions
3. **You MAY write ONLY to `.local/testing/` and `.local/specs/`** — under the main repository root, even from a git worktree; resolve it once with `dirname "$(git rev-parse --path-format=absolute --git-common-dir)"` and use absolute paths

**Journal:** inside a cycle (`Cycle mode:` present) do not write the journal; list findings in the handoff. Standalone, use the journal per [Testing Methodology](${CLAUDE_PLUGIN_ROOT}/skills/live-testing/references/testing-methodology.md#journal).

**Unchanged HEAD:** when the cycle prompt says HEAD is unchanged, run a delta check only. See [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md#delta-check-on-unchanged-head).

## Phase 1: Dependency Monitoring (`dependencies`, `full`)

Run the profile's version-drift and security-advisory commands for every detected profile.

Update priority and issue filing — see [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md#dependency-monitoring).

For security advisories: spawn `sdd-orchestrator` agent before filing (see [SDD Integration](${CLAUDE_PLUGIN_ROOT}/skills/continuous-improvement/references/sdd-integration.md)). Major version bumps (P3/P4) and routine patch/minor updates: file directly.

## Phase 2: Research & Innovation (`research`, `full`)

Search for new techniques relevant to the project's domain:

- Architectural patterns, concurrency models, state machines
- Performance techniques: fewer copies and allocations, data layout, parallelism, startup time, artifact size
- Safety practices: compile-time and type-level guarantees, typestate, capability-based design
- Ecosystem evolution: new libraries, deprecated dependencies, emerging standards, language and runtime releases
- Tooling improvements: profiling, debugging, testing frameworks
- Plus the language-specific topics in the profile's `researcher.md`

Also treat dependency functionality coverage as a research question: does a major dependency offer capabilities the project does not use? See [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md#dependency-functionality-coverage).

For each finding:
1. Assess: impact on project quality vs implementation complexity
2. Spawn `sdd-orchestrator` agent to produce a spec when the SDD Integration threshold table says Yes (P1–P2 research and parity findings)
3. Before the first issue of the session, call `Skill(skill: "dev-agents:github-issues")` and follow it; if the `Skill` tool is unavailable, follow the copy preloaded from the agent frontmatter. Check for duplicate issues before filing
4. File research issue with source links, implementation sketch, the spec content under `## Specification`, the issue type (`--type Task`; `Feature` for a parity gap), and a priority label at creation (see [Issue Management](${CLAUDE_PLUGIN_ROOT}/skills/continuous-improvement/references/issue-management.md#priority-label-mandatory)); file it in the same pass as the spec

## Phase 3: Competitive Parity (`parity`, `full`)

Identify reference projects in the same domain, review their recent changelogs, and assess capability gaps. See [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md#competitive-parity-monitoring) for the full scan procedure.

Parity gap severity:
- **P1** — active incompatibility with a first-class integration target
- **P2** — meaningful capability that 2+ reference projects have and users would notice
- **P3** — useful feature, low urgency
- **P4** — cosmetic or niche difference

Update `.local/testing/playbooks/competitive-parity.md` after each scan.

## Optional Phases

When applicable to the project (see [Research Protocol](${CLAUDE_PLUGIN_ROOT}/skills/research-protocol/references/research-protocol.md)):

- **Competitor gap analysis** — `competitor-gap` label, exhaustion criterion, discovery of new competitors
- **CVE and vulnerability-class sweep** — monthly, separate from the parity scan; P0 if the class is unprotected

## Session Exit

Before finishing:

1. Append a methodology-only retrospective to `.local/testing/process-notes.md` (inside a cycle, put it in the handoff `## Retrospective` instead); a technique that proved effective becomes a playbook, a failed one is documented and dropped
2. Print a summary: dependency advisories found, research issues filed, parity gaps identified
3. Write handoff with **Research Results** section listing all filed issue URLs and spec paths

Files in this skill

  • SKILL.md4.1 KB
  • references/issue-management.md3.1 KB
  • references/research-protocol.md4.9 KB
  • references/sdd-integration.md4.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.