·
Last changedVersion:
This version passed the hardening gate. Hardening applied 6 targeted changes and preserved all other text. Classified findings before hardening: 1. Classified findings closed: 0. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 3. Review findings remaining: 13.
1
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
SKILL.md | Tool & MCP Manipulation | MCP over-permissioning | Medium | Open |
1 finding
This skill provides the capability to parse Simplicité logs from a raw .txt file, filter fields to reduce noise, and output the result as structured JSON. This is critical for optimizing AI context size (saving ~56% of tokens) and providing structured, predictable data for troubleshooting.
Use this skill when you need to:
.txt format.timestamp, level, body) from verbose multi-line log output.IMPORTANT: Instead of directly reading a raw .txt log file provided by the user using file read tools, you must use one of the log converter scripts (PowerShell or Python) to parse the file into a JSON format first, optionally extracting only the fields needed.
scripts/SimpliciteLog2Json.ps1) or the Python script (scripts/simplicite-log2json.py).Reduces the tokens consumed by large Simplicité logs by extracting only relevant log fields (e.g. body, timestamp, level) and discarding non-relevant structural log data (like app, endpoint, contextPath).
Properly captures stack traces and multiline errors inside the body field of the JSON structure, which a simple text search might miss.
After processing, the tool prints a summary to stderr (or console):
Convert a log file to JSON, keeping only the most important fields:
After generating the <output.json>, you can read the resulting file to perform your analysis.
.txt log files from Simplicité using standard text reading tools. Always convert them to JSON using the available scripts.--include (Python) or -Include (PowerShell) to restrict fields to what is absolutely necessary to diagnose the issue (usually timestamp,level,body).timestamp, app, level, endpoint, contextPath, event, user, class, function, rowId, body.Get started with chainctlchainctl skill install public/github/optimize-simplicite-logs:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.cgr.dev/public/github.com/github/skills/optimize-simplicite-logs:latest
MIT
HARDENING.md
LICENSE
SKILL.md
scripts/SimpliciteLog2Json.ps1
scripts/simplicite-log2json.py