ClaudeCodeMod

All shelves / Marketplaces

matbeedotcom/cargo-log-parser

matbeedotcom/cargo-log-parser · 0 stars · 1 plugin

Marketplace A Claude Code skill for parsing and filtering cargo build logs. Extract errors, warnings, and diagnostics with regex-based filtering by file path, message, or error code.

Install

In Claude Code
/plugin marketplace add matbeedotcom/cargo-log-parser

Run inside Claude Code, then install plugins from it. Check the repo's README before you run it.

Open the repo

Plugins 1

After adding the marketplace, install one with /plugin install <name>@cargo-log-parser-marketplace.

  1. 1cargo-log-parserParse and filter cargo build logs with regex-based filtering for errors, warnings, and diagnostics/plugin install cargo-log-parser@cargo-log-parser-marketplacev1.0.0development

Files

README.md

Cargo Log Parser

A Claude Code skill for parsing and filtering cargo build logs. Extract errors, warnings, and diagnostics with regex-based filtering by file path, message, or error code.

Installation

Method 1: Plugin Marketplace (Recommended for Claude Code)
# Add this repo as a marketplace
/plugin marketplace add YOUR_USERNAME/cargo-log-parser

# Install the plugin
/plugin install cargo-log-parser@cargo-log-parser-marketplace
Method 2: Direct Plugin Install
# Clone and install directly
git clone https://github.com/YOUR_USERNAME/cargo-log-parser.git
/plugin add ./cargo-log-parser
Method 3: Simple Skill (Manual)
# Clone to your skills directory
git clone https://github.com/YOUR_USERNAME/cargo-log-parser.git ~/.claude/skills/cargo-log-parser
Method 4: Project-Level Skill
# Add to your project's skills
git clone https://github.com/YOUR_USERNAME/cargo-log-parser.git .claude/skills/cargo-log-parser

Usage

Once installed, Claude automatically uses this skill when you're debugging Rust/cargo build errors.

CLI Examples
# Pipe from cargo build
cargo build 2>&1 | python scripts/cargo_log_parser.py --errors

# Filter by file pattern
cargo build 2>&1 | python scripts/cargo_log_parser.py --errors --file "tests/.*"

# Filter by error message
cargo build 2>&1 | python scripts/cargo_log_parser.py --message "cannot find"

# Filter by error code
cargo build 2>&1 | python scripts/cargo_log_parser.py --code "E0425"

# Compact stream output
cargo build 2>&1 | python scripts/cargo_log_parser.py --errors --stream

# JSON output for programmatic use
cargo build 2>&1 | python scripts/cargo_log_parser.py --errors --json
Key Flags
Flag Description
-e, --errors Show only errors
-w, --warnings Show only warnings
-f, --file PATTERN Filter by file path regex
-m, --message PATTERN Filter by message regex
-c, --code PATTERN Filter by error code regex
--stream Compact one-line output
--raw Raw log text only
--json JSON output
--group-by-file Group by source file
--group-by-code Group by error code
Common Regex Patterns
Pattern Matches
tests/.* Test files
src/.* Source files
.*/mod\.rs Module files
E03\d\d Borrow checker errors
E04\d\d Name resolution errors
unused_.* Unused warnings

Repository Structure

cargo-log-parser/
├── .claude-plugin/
│   ├── plugin.json         # Plugin manifest
│   └── marketplace.json    # Marketplace config
├── SKILL.md                # Skill instructions
├── scripts/
│   └── cargo_log_parser.py # The parser tool
└── README.md

License

MIT

Facts

Kind
Marketplace
Repo
matbeedotcom/cargo-log-parser
Group
Uncategorized
Stars
0
Marketplace name
cargo-log-parser-marketplace
Owner
Mathieu Gosbee
License
MIT
Language
Python
Created
2025-11-27
Last push
2025-11-27
Plugins
1

Next on this shelf

  1. 2367mattjoyce/claude-pluginsmattjoyce/claude-plugins0
  2. 2368maxamillion/skill-oss-project-kpi-evaluationmaxamillion/skill-oss-project-kpi-evaluation0
  3. 2369MaxBoiko21/claude-plugins-marketplaceMaxBoiko21/claude-plugins-marketplace0
  4. 2370maxgent-ai/maxgent-pluginmaxgent-ai/maxgent-plugin0
  5. 2371MaxGhenis/namecastMaxGhenis/namecast0
  6. 2372mcfearsome/cc-marketplacemcfearsome/cc-marketplace0