completion-marker-enforcement

Enforce strict `<ralph>COMPLETE</ralph>` marker output compliance in assistant responses.

2|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/pmarashian/cursor-agent-skills --skill completion-marker-enforcement
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: completion-marker-enforcement
Source: https://github.com/pmarashian/cursor-agent-skills/tree/main/completion-marker-enforcement
Command: npx skills add https://github.com/pmarashian/cursor-agent-skills --skill completion-marker-enforcement

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the critical issue of inconsistent and non-compliant output formatting when marking tasks as complete, which can lead to orchestrator detection failures and parsing errors.

Core Features & Use Cases

  • Protocol Enforcement: Guarantees the completion marker <ralph>COMPLETE</ralph> is output correctly.
  • Validation Patterns: Provides pre-output and response structure validation to prevent violations.
  • System Workarounds: Offers strategies to mitigate streaming and other output issues.
  • Use Case: When an AI assistant finishes a task, this Skill ensures the completion marker is sent as a single, atomic string at the very end of the response, preventing downstream processing failures.

Quick Start

Use the completion-marker-enforcement skill to ensure the output format for task completion markers is strictly adhered to.

Frequently Asked Questions about completion-marker-enforcement

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my orchestrator fail to detect task completion markers during streaming?▼

Orchestrator detection fails when completion markers are output incrementally during character-by-character streaming. Enforcing strict protocol compliance ensures the marker is sent as an atomic, single string at the response end, preventing parsing issues.

How do I format completion markers to prevent orchestrator parsing errors?▼

To format completion markers correctly, output the marker as a single atomic string at the very end of the assistant response. Protocol enforcement validates the response structure to prevent shell commands or tool calls after the marker.

What is protocol enforcement for task completion markers?▼

Protocol enforcement for task completion markers guarantees strict compliance for outputting designated tags like `<ralph>COMPLETE</ralph>`. It provides pre-output validation to prevent orchestrator detection failures and downstream processing errors.

Can I execute tool calls after outputting a completion marker?▼

Executing tool calls after outputting a completion marker violates protocol enforcement. Validation patterns ensure no shell commands or tool calls occur after the marker, guaranteeing the marker remains the final output to prevent parsing issues.

How do I stop incremental output from breaking completion marker detection?▼

To stop incremental output from breaking detection, apply system workarounds that enforce atomic, single-string output of the completion marker. This mitigates character-by-character streaming issues and ensures proper orchestrator detection.

Does completion marker validation work without external dependencies?▼

Yes, completion marker validation works without external dependencies. The enforcement mechanism uses internal references to validate response structures and ensure protocol compliance natively, requiring no additional environment setup.