본문으로 건너뛰기
cccskills
무료GitHub에 공개

scan-logs

Use scripts/logscan.py only when explicitly requested to scan an oversized log or to perform Gemini-backed log analysis.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구Gemini
설치 방법 보기

포함된 파일(1)

  • SKILL.md1.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Scan large logs

grep finds matching original lines; summarize produces a Markdown report. They can run independently or as a pipeline.

Prerequisites

GEMINI_API_KEY must be set. The log is sent to an external Gemini API and incurs model usage; do not send secrets or sensitive logs without approval.

Modes

grep — find matching lines

Returns line-numbered original lines matching a natural-language query.

uv run scripts/logscan.py grep <logfile> "<query>"

summarize — produce a markdown report

Summarizes the log around the query, hierarchically reducing large inputs.

uv run scripts/logscan.py summarize <logfile> "<query>"

Output is a markdown report on stdout.

Piping modes together

Narrow first, then summarize through --stdin:

uv run scripts/logscan.py grep log.txt "errors" \
  | uv run scripts/logscan.py summarize --stdin "summarize these errors"

Behavior-changing options are --chunk-tokens, --concurrency, --model, --stdin, and --verbose. The defaults are 5,000-token grep chunks, 50,000-token hierarchical summarize chunks, concurrency 16, and gemini-2.5-flash-lite. Smaller grep chunks favor precise line matching; large logs need no manual pre-split. Inspect --help before overriding them.

Output

  • grep: Line-numbered matching lines to stdout. Progress to stderr.
  • summarize: Markdown report to stdout. Progress and token usage to stderr.

Both modes report progress and token usage to stderr. Read the matched source lines before accepting a generated diagnosis.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Run an explicitly requested Zephyr control/treatment benchmark on the same pre-normalized sample and compare Finelog stage metrics.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

Register a named Hugging Face dataset for Marin by inspecting its schema and adding the appropriate experiments/datasets module.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

add-grant

무료

Implement a fully specified request for a GCP IAM resource grant or Cloud Run IAP viewer in marin-iac.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

Add or change a named Pallas/Mosaic kernel, including its reference implementation, correctness tests, wrapper, or requested tuning.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

Archive explicitly named legacy experiment files by publishing a dated tag and canonical issue breadcrumbs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

Launch or continuously monitor a specified Zephyr pipeline on Iris only when asked to babysit it; restart only after explicit approval.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

marin-community/marin4천2026년 10월 19일 업데이트

marin-community의 스킬 모두 보기

이 스킬의 문제 신고