console-message

Generate structured console progress and status output for R and Python scripts.

3|21|Updated Sep 19, 2025
One-click install
npx skills add https://github.com/timothyfraser/dsai --skill console-message-timothyfraser
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: console-message
Source: https://github.com/timothyfraser/dsai/tree/main/.cursor/skills/console-message
Command: npx skills add https://github.com/timothyfraser/dsai --skill console-message-timothyfraser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many R and Python scripts produce noisy, inconsistent, or uninformative console output that makes debugging, log review, and AI-assisted troubleshooting difficult; this Skill standardizes console messaging so logs are human-readable and machine-parseable.

Core Features & Use Cases

  • Structured Banners and Steps: Clear top-level banners and step dividers so each phase of a script is obvious when scanning logs.
  • Status Lines and Emoji: Concise status lines with Unicode emoji and indents that summarize actions (e.g., loads, writes, API calls) and make logs scannable.
  • Observability Details: Print workspace-relative paths, data dimensions (nrow, ncol, length), small previews, and a final summary block listing artifacts, counts, and configuration.
  • Language-Specific Guidance: R and Python patterns for controlled printing, previews, and logging best-practices while avoiding secrets and log flooding.
  • Use Case: Improve debuggability of ETL scripts so a pasted log in an AI chat contains the context needed to triage failures.

Quick Start

Add structured console output to the end of your script that prints a banner, step headers, emoji-prefixed status lines with row/column counts and paths, a short head/preview of data, and a final summary block.

Frequently Asked Questions about console-message

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

FAQPage Schema
How do I add readable console logging to Python and R scripts?

You can improve console logging in Python and R by applying structured banners, step dividers, and emoji-prefixed status lines. This standardizes output to include workspace-relative paths, data dimensions, and previews, making logs scannable and parseable.

Why does my script console output make AI debugging difficult?

Unstructured or noisy console output lacks the context needed for AI-assisted troubleshooting. Standardizing your logs with clear step headers and data dimensions ensures a pasted log contains the necessary details to triage failures effectively.

What is the best way to format status lines during data loads and writes?

The best way to format status lines during data loads and writes is using concise, indented messages with Unicode emoji. This approach summarizes actions clearly while printing data dimensions and avoiding excessive per-iteration noise or secrets.

Does structured console logging work for both R and Python data pipelines?

Yes, structured console logging works for both R and Python data pipelines by applying language-specific patterns for controlled printing and previews. This ensures ETL scripts in either language produce a final summary block with artifacts and counts.

How can I print data previews without flooding the console log?

You can print data previews without flooding the console log by using small, controlled head previews and avoiding excessive per-iteration noise. This observability approach focuses on workspace-relative paths and data dimensions rather than raw data dumps.

What limitations should I consider when adding observability to script logs?

When adding observability to script logs, you must avoid printing secrets and excessive per-iteration noise. Limitations include ensuring Unicode emoji render correctly in your terminal and keeping small previews concise to maintain human-readable output.