session-startup

Run a PowerShell startup detector once before the first agent reply.

3|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/Grimblaz/agent-orchestra --skill session-startup-grimblaz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: session-startup
Source: https://github.com/Grimblaz/agent-orchestra/tree/main/skills/session-startup
Command: npx skills add https://github.com/Grimblaz/agent-orchestra --skill session-startup-grimblaz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automatic startup guard for the session-cleanup detector to run at most once per conversation, preventing repeated startup actions and preserving startup state.

Core Features & Use Cases

  • Run-once startup detector orchestration wired into Copilot and Claude Code startup paths.
  • Prompted cleanup when stale-state artifacts are detected, with safe fallbacks if prerequisites fail.
  • Plugin-driven wrapper that sources the detector from skills/session-startup/scripts and respects fail-open behavior.

Quick Start

Run the session startup detector before the first agent reply to ensure a single startup cleanup pass.

Frequently Asked Questions about session-startup

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

FAQPage Schema
How do I run a startup cleanup detector only once per conversation session?▼

A startup cleanup detector runs once per conversation by using a PowerShell-based wrapper that enforces run-once semantics, preventing repeated startup actions while preserving initial session state across workflows.

What does a session startup guard do for stale-state artifacts in new conversations?▼

A session startup guard detects stale-state artifacts before the first agent reply and prompts a cleanup pass, applying safe fallbacks if prerequisites fail to ensure a clean conversation startup state.

Can I use a PowerShell startup cleanup script with both Copilot and Claude Code workflows?▼

Yes, the PowerShell startup cleanup detector is wired into both Copilot and Claude Code startup paths, sourcing its logic from a scripts directory to orchestrate a single detector run before the first agent reply.

How do I automate prompted cleanup when stale-state artifacts are detected at conversation startup?▼

You automate prompted cleanup by deploying a plugin-driven wrapper that triggers the detector at conversation startup, executing a single cleanup pass while respecting fail-open behavior if script prerequisites are missing.

What happens if the startup cleanup detector prerequisites fail during a new conversation session?▼

If startup cleanup detector prerequisites fail, the plugin wrapper applies fail-open behavior, allowing the conversation to proceed safely without blocking the first agent reply or forcing a repeated cleanup attempt.

When do I need a run-once startup guard for agent conversation workflows?▼

You need a run-once startup guard when automatic session-cleanup actions must execute at most once per conversation, preventing duplicate cleanup passes and maintaining consistent startup state across agent orchestration workflows.