Agent skill

ralph-session-ops-reference

Ralph-v2 session operations reference for schema validation, timeout recovery, and timestamp commands. Use when validating Ralph session artifacts, reconstructing malformed state, enforcing retry timing, or generating Ralph session timestamps.

Stars 2
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/arisng/github-copilot-fc/tree/main/skills/ralph-session-ops-reference

SKILL.md

Ralph Session Operations Reference

Use this skill when a Ralph-v2 agent needs deterministic session-level reference material instead of improvising it from memory.

Use Cases

  • Validate metadata.yaml or iterations/<N>/progress.md
  • Repair malformed Ralph session state
  • Apply the standard subagent timeout recovery ladder
  • Generate Ralph session IDs or ISO8601 timestamps

Schema Validation Rules

iterations/<N>/progress.md must include

  • # Progress
  • ## Legend with [ ], [/], [P], [x], [F], [C]
  • ## Planning Progress (Iteration N)
  • ## Implementation Progress (Iteration N)

metadata.yaml must include

  • version, session_id, created_at, updated_at, iteration
  • orchestrator.state
  • tasks.total, tasks.completed, tasks.failed, tasks.pending
  • session_review.cycle
  • session_review.issue_severity_threshold
  • session_review.max_critique_cycles

Timeout Recovery Policy

Apply this to any Ralph-v2 subagent call that times out or fails unexpectedly.

  1. Retry the same single-mode invocation immediately.
  2. Retry after 30 seconds.
  3. Retry after 60 seconds.
  4. Retry after another 60 seconds.
  5. If still failing:
    • If TASK_ID exists, invoke Planner with MODE: SPLIT_TASK and continue with the replacement tasks.
    • If no TASK_ID exists, stop and ask for a narrower scope.

Sleep Commands

  • Windows PowerShell: Start-Sleep -Seconds 30 or Start-Sleep -Seconds 60
  • Linux/WSL: sleep 30 or sleep 60

Local Timestamp Commands

Session ID format <YYMMDD>-<hhmmss>

  • Windows PowerShell: Get-Date -Format "yyMMdd-HHmmss"
  • Linux/WSL: TZ=Asia/Ho_Chi_Minh date +"%y%m%d-%H%M%S"

ISO8601 local timestamp

  • Windows PowerShell: Get-Date -Format "yyyy-MM-ddTHH:mm:ssK"
  • Linux/WSL: TZ=Asia/Ho_Chi_Minh date +"%Y-%m-%dT%H:%M:%S%z"

Expand your agent's capabilities with these related and highly-rated skills.

arisng/github-copilot-fc

openspec-propose

Propose a new change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation.

2 0
Explore
arisng/github-copilot-fc

openspec-archive-change

Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.

2 0
Explore
arisng/github-copilot-fc

openspec-explore

Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.

2 0
Explore
arisng/github-copilot-fc

openspec-apply-change

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

2 0
Explore
arisng/github-copilot-fc

fleet

Multi-iteration parallel subagent orchestrator for Kimi Code CLI with streamlined observability, automated documentation, and atomic commits. Use when orchestrating complex work across multiple subagents, enabling parallel execution, or when explicitly requesting fleet mode with '/flow:fleet'. Integrates diataxis documentation and git-atomic-commit workflow.

2 0
Explore
arisng/github-copilot-fc

github-pages-deploy

Deploy a static HTML file or static site directory to GitHub Pages. Use when the user wants a durable GitHub-hosted URL for a static page, diagram, report, or generated site, and can provide GitHub authentication via GITHUB_TOKEN or GH_TOKEN.

2 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results