cli-anything
CommandBuild a complete, stateful CLI harness for any GUI application.
Analyze claudish debug logs from a failed model run. Extracts SSE fixtures, diagnoses failures, adds regression tests.
$ npx -y skills add MadAppGang/claudish --agent claude-code
description: Analyze claudish debug logs from a failed model run. Extracts SSE fixtures, diagnoses failures, adds regression tests.
Analyze the claudish debug log at: $ARGUMENTS
Read the log file. Look for these patterns:
Summarize what happened:
1. **Model & Provider**: Which model, which provider(s) handled it, any fallback chain 2. **API turns**: How many turns, which succeeded/failed (HTTP status) 3. **Text content**: How many text chunks, total characters, did text reach output? 4. **Tool calls**: How many, which tools, did finish_reason=tool_calls occur? 5. **Stop reason**: What was the final stop_reason? (end_turn vs tool_use vs unexpected) 6. **Root cause hypothesis**: Based on the patterns, what went wrong?
If the log contains `[SSE:openai]` or `[SSE:anthropic]` lines:
1. Run the extractor: `bun run packages/cli/src/test-fixtures/extract-sse-from-log.ts <log-path>` 2. Report which fixture files were created 3. Show a summary of each fixture (event count, text chunks, tool calls)
If the log does NOT contain raw SSE lines (older claudish version without `[SSE:*]` logging):
If fixtures were extracted, add a new `describe()` block to `packages/cli/src/format-translation.test.ts` for this specific failure. Use the template at the bottom of that file. The test should assert what SHOULD work (e.g., text content > 0 bytes, correct stop_reason).
Run `bun test packages/cli/src/format-translation.test.ts` to see if the new regression test passes or fails. Report the result.
If it fails — that's the regression test capturing the bug. Propose a fix in the relevant parser or adapter. If it passes — the issue may be upstream (Claude Code behavior, not claudish translation).
Claude Code. Any Model. The most powerful AI coding agent now speaks every language.
Build a complete, stateful CLI harness for any GUI application.
Spawn interactive terminal canvases for calendars, documents, and flight booking
Summarize completed work, current risks, and next actions.