Skip to content

Validate skills workflow fails on ANSI-colored Skills CLI output #7

Closed

Description

@wwwMalcolm

Problem

Recent Validate skills workflow runs, including runs on main and pull requests, consistently fail during the skill-structure job.

Skills CLI successfully discovers the skill, but adds ANSI color codes around the count:

Found <ANSI>1</ANSI> skill

The workflow checks for an exact uncolored string:

grep -F "Found 1 skill" <<< "$output"

This causes grep to return exit code 1 and the job to fail even though discovery succeeded.

Suggested fix

Disable colored CLI output or strip ANSI escape codes before checking the output.

Activity

  1. added theissue type on Aug 17, 2026
  2. homeyong commented on Aug 18, 2026

    @homeyong
    Collaborator

    Fix through PR #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions