capture-output-via-sidechannel

Capture and base64-encode task stdout/stderr into an external datastore.

61|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Innei/SKILL --skill capture-output-via-sidechannel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: capture-output-via-sidechannel
Source: https://github.com/Innei/SKILL/tree/main/skills/infrastructure/capture-output-via-sidechannel
Command: npx skills add https://github.com/Innei/SKILL --skill capture-output-via-sidechannel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables you to persist stdout and stderr from a task when the runtime's log API or live access is unavailable, ensuring you can retrieve execution output later.

Core Features & Use Cases

  • Persist stdout and stderr to an external datastore when runtime logs are not accessible
  • Preserve the original exit code and provide a reliable read-back path
  • Compatible with SQL, Redis, or webhook stores for later retrieval This approach is useful in CI runners, managed PaaS, containerized jobs, or orchestration environments where logs are ephemeral or evicted.

Quick Start

Configure your task to write its captured output to a data store and then retrieve it for verification.

Frequently Asked Questions about capture-output-via-sidechannel

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

FAQPage Schema
How do I persist stdout and stderr from a CI step when log access is unavailable?

To persist stdout and stderr when log access is unavailable, you can capture task output, base64-encode it, and store it in an external datastore. This approach ensures logs are available for later retrieval.

Can I preserve the original exit code when capturing task output to an external data store?

Yes, capturing task output to an external data store preserves the original exit code. The process implements a deterministic pattern to store stdout and stderr while maintaining the execution status for reliable read-back.

What is the best way to retrieve execution output from ephemeral containerized jobs?

The best way to retrieve execution output from ephemeral containerized jobs is using a sidechannel capture pattern. This encodes output and writes it to an external datastore, preventing data loss when runtime logs are evicted.

Does this output capture method work with SQL, Redis, or webhook stores?

Yes, this output capture method works with SQL, Redis, or webhook stores. It is compatible with these external datastores, allowing you to persist and retrieve logs from runners, managed PaaS, or orchestration environments.

Why do task logs vanish in orchestration environments and how can I retrieve them later?

Task logs vanish in orchestration environments because runtime log APIs are unavailable or logs are evicted. You retrieve them later by capturing stdout and stderr into a persistent external datastore during execution.

When do I need a sidechannel to capture task output?

You need a sidechannel to capture task output when working in CI runners, managed PaaS, containerized jobs, or orchestrators where live logs cannot be retrieved and logs must be persisted for later retrieval.