workflow-logging

Automate structured JSONL and text logging for Swiss Army Knife plugin workflows.

2|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/penkzhou/swiss-army-knife-plugin --skill workflow-logging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workflow-logging
Source: https://github.com/penkzhou/swiss-army-knife-plugin/tree/main/swiss-army-knife/skills/workflow-logging
Command: npx skills add https://github.com/penkzhou/swiss-army-knife-plugin --skill workflow-logging

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

工作流执行中的日志分散且缺乏统一格式,导致难以追踪阶段、代理和决策过程。

Core Features & Use Cases

  • JSONL 和文本两种日志格式的定义与写入模式。
  • 会话、阶段、代理和决策等事件的结构化日志记录,支持审计和故障分析。
  • 适用于插件执行全流程的可观测性改进与问题定位。

Quick Start

Run the logging module at each workflow phase to produce standardized JSONL and text logs.

Frequently Asked Questions about workflow-logging

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

FAQPage Schema
How do I implement structured logging for agent workflows?

Structured logging for agent workflows automates recording session, phase, and agent events into standardized JSONL and text outputs for audit and fault analysis.

What is the best way to trace workflow phases and decisions in JSONL format?

Tracing workflow phases and decisions in JSONL format requires emitting log events with defined schema fields like ts, level, type, session_id, phase, agent, and context.

Can I generate both text and JSONL logs simultaneously for plugin workflows?

Yes, you can generate both text and JSONL logs simultaneously for plugin workflows to support observability and problem localization across development and operations scenarios.

How does session tracing work for multi-agent workflow observability?

Session tracing for multi-agent workflow observability works by logging structured events tied to a session_id, enabling you to track execution paths and decisions across phases.

Do I need specific dependencies to enable audit trail logging for workflows?

No specific dependencies are required to enable audit trail logging for workflows; the module operates independently to produce phase summaries and structured event logs.