/clio-performance-skills:log-searchfrom clio-performance-skills
Narrows large application logs by timestamp, level, keyword, or error pattern. Provides sort, filter, analyze, and export tools for distributed job logs without reading the full file into context.
Ships in clio-performance-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Most tools on this server take the file as log_file, not file_path. The
four export tools are the exception: export_to_csv, export_to_json,
export_to_text and generate_summary_report take data, the result of a
filter, because they export findings rather than re-reading the log.
filter_by_log_level also wants log_levels, not levels.
The kit is not consistent about this across servers, so carrying the habit
over from the data-file servers produces a missing-argument error that reads
as a missing file.
The failure mode here is reading the file into context. A job log can be hundreds of megabytes; these tools exist so you never have to hold it.
1. Sort if the timestamps are out of order.
Parallel output interleaves. clio-parallel-sort:sort_log_by_timestamp expects
YYYY-MM-DD HH:MM:SS. For anything large, use
clio-parallel-sort:parallel_sort_large_file, which chunks instead of holding the
file in memory.
Skip this when the log is already ordered — sorting a large ordered file is pure cost.
2. Narrow before you read.
clio-parallel-sort:filter_by_time_range when you already know roughly when.clio-parallel-sort:filter_by_log_level for ERROR/WARN.clio-parallel-sort:filter_by_keyword for a known string, with multiple
keywords combined logically.clio-parallel-sort:filter_logs when the condition needs several fields at once.clio-parallel-sort:apply_filter_preset for the common shapes (errors_only,
connection_issues) — cheaper than reconstructing them by hand.3. Get the shape before the detail.
clio-parallel-sort:analyze_log_statistics gives temporal patterns and per-level
counts. clio-parallel-sort:detect_log_patterns finds anomalies and error
clusters. Both answer "where should I look" without reading anything.
An error cluster is worth far more than the first error: the first error in a distributed run is frequently a symptom of a rank that failed earlier.
4. Take the result out.
export_to_json, export_to_csv, export_to_text, or
generate_summary_report. Exporting to CSV is what lets the analysis servers pick
it up — see results-summary.
When narrowing down a performance problem, the time window comes from the
profiler and the explanation comes from the log. Get the spike from
clio-darshan:get_timeline_analysis, then filter the log to that window. See
job-diagnose.
detect_log_patterns for the cluster."error" matches
prose that is not an error line.The level filter accepts bare ERROR and bracketed [ERROR] tokens after
a supported timestamp, including tab-separated and lowercase levels. Inspect
a short sample and verify a known matching line before interpreting zero
matches: other log layouts still need validation. Preserve the original file
if a normalized working copy is needed, and record the normalization.
Names such as clio-hdf5:open_file identify a server and its tool in this
guide. Your agent may expose a different prefix. Match the server and tool
against its live MCP inventory, then use the advertised name and input schema.
If a required server is unavailable, report it before attempting the workflow.
Report original and derived paths, timestamp format/timezone, filters, match count and truncation. Verify the filter against a known matching line before accepting an empty result; preserve the original log.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub iowarp/clio-kit --plugin clio-performance-skills4 skills in this plugin
/io-performanceUse when interpreting bandwidth, IOPS, request sizes and MPI-IO counters already provided. Triggers on "is 40 MB/s bad", "small writes", "collective versus independent". Calls no tools. Not for loading a profile; use job-diagnose./job-diagnoseUse when investigating I/O bottlenecks using a genuine Darshan profile and application logs. Triggers on "Darshan log", "why was this job slow", "I/O bottleneck". Not for metric interpretation alone; use io-performance./session-recordUse when explicitly recording or retrieving a research decision trail with ChronoLog. Triggers on "record this session", "ChronoLog", "retrieve our decisions". Not for job execution profiling; use job-diagnose.Other plugins' skills for the same job