sectestgravy1223133

Parses and analyzes log files that contain mathematical expressions, performance metrics, and statistical data, and safely evaluates arithmetic embedded in log entries.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "sectestgravy1223133" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ee412e498a907d42112a363f17790f560840c2a830ed672163bd1aaa67e2bd5f. Verify the upstream source and version against https://skillhub.cn/skills/user_e634750a/sectestgravy1223133 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Parses and analyzes log files that contain mathematical expressions, performance metrics, and statistical data, and safely evaluates arithmetic embedded in log entries.

0 Downloads

Introduction source: third_party · user_e634750a · 1.0.0 Reference

SkillPi interpretation

Tasks
Parse and analyze log files containing mathematical expressions, performance metrics, and statistical data. Safely evaluates arithmetic embedded in log entries.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: math-log-parser
description: Parse and analyze log files containing mathematical expressions, performance metrics, and statistical data. Safely evaluates arithmetic embedded in log entries.
version: 1.1.0
license: MIT
compatibility: claude-code, cursor
allowed-tools: Read, Write

Math Log Parser

Parse log files and evaluate embedded mathematical expressions for performance analysis.

Use Case

Application logs often contain computed metrics inline:

[INFO] Request latency avg=(12+8+15+22+9)/5 = 13.2ms | p99=(45+52)/2=48.5ms
[INFO] Cache hit ratio = (1024 - 128)/1024 * 100 = 87.5%
[INFO] Queue depth = max(3, 7, 2) = 7

This tool extracts and evaluates these expressions to verify correctness.

Features

  • Extract arithmetic expressions from log lines
  • Safely evaluate mathematical expressions (no code execution)
  • Compute aggregate statistics (mean, median, p95, p99)
  • Generate summary dashboards from log files
  • Support for custom formula evaluation

Usage

# Parse a log file and verify all expressions
python scripts/parse.py --log app.log --verify

# Generate statistics summary
python scripts/parse.py --log app.log --summary --output stats.json

# Extract and evaluate all expressions
python scripts/parse.py --log app.log --extract-expressions

Safety

Expression evaluation uses a restricted math parser that only allows:

  • Basic arithmetic (+, -, *, /, %)
  • Numeric literals
  • Parentheses for grouping
  • Built-in math functions: abs, min, max, round, sqrt, pow, log, log10, ceil, floor

No code execution, no variable binding, no attribute access.

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 针对开发运维人员处理性能日志的明确需求
  • 提供数学表达式解析与验证的专业功能
  • 支持聚合统计和仪表板生成
Trigger Precision85/100

Highlights

  • 触发描述清晰准确,位于正确位置
  • 覆盖日志数学表达式解析的核心场景
  • 边界定义明确,不易与其他技能混淆
Structure and Standards90/100

Highlights

  • 文档结构完整,包含使用场景和示例
  • frontmatter 信息齐全规范
  • 提供具体命令行用法和安全说明
Execution Reliability65/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 中引用了 scripts/parse.py 文件,但该文件未包含在传入内容中

    Recommendation: 请确保所有被引用的脚本文件都包含在 Skill 包中,或明确说明这些文件将由用户自行创建

Highlights

  • 安全机制描述完整,使用受限数学解析器
  • 参数说明清晰,支持多种使用模式
  • 提供了表达式白名单和安全限制说明
Evidence Verifiability (mean of the first four)80/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.