Skip to content
Back to skills

Compost

ASecurity

Run long or repetitive commands (builds, pytest/ctest, SLURM jobs, solver logs) through a clustering summarizer instead of reading raw output; re-runs show only what changed. Use for output likely over ~100 lines or fix-test-fix loops.

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 23, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 11, 2026

npx -y skills add oliverweissl/context-garden --skill compost --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compost?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compost
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oliverweissl-compost/badge)](https://www.skillsdirectory.com/skills/oliverweissl-compost)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compost
description: Run long or repetitive commands (builds, pytest/ctest, SLURM jobs, solver logs) through a clustering summarizer instead of reading raw output; re-runs show only what changed. Use for output likely over ~100 lines or fix-test-fix loops.
allowed-tools: Bash(${CLAUDE_SKILL_DIR}/bin/compost *), Bash("${CLAUDE_SKILL_DIR}/bin/compost" *)
---

# compost

!`"${CLAUDE_SKILL_DIR}/bin/compost" mode --banner`

Agents that do not expand the line above (e.g. Codex): run
`<this-skill-dir>/bin/compost mode --banner` first and follow it.

Offline, deterministic: output is parsed and clustered by script (no LLM);
the full raw output is always kept on disk. Skip it for short output --
just read that directly.

`compost` is not on PATH: always use the full `<this-skill-dir>/bin/compost`
path (or `python3 <this-skill-dir>/scripts/compost.py` if executables are
not permitted).

1. Run: `<this-skill-dir>/bin/compost run -- <command...>`
   (pipes/redirects need `bash -c '...'`). Prints the root error (first
   error in user code), secondary failure groups with counts, warnings,
   numerical summary, and a `raw_output_id`.
2. Read the summary, not the raw log.
3. Re-run the same command the same way: only new/resolved errors and
   count deltas are printed ("No structural changes." if none).
4. Only if the summary is insufficient, use the printed
   `retrieval_handles` (`get <id> --lines A:B`, `event <id> --event N`,
   `grep <id> '<pattern>'`, `show <id> --json`). They never re-run the
   command; they read the already-stored raw output.
5. Existing log file: `bin/compost ingest --file <path>` (or `--stdin`).
6. The plugin's Bash hook may deny a raw build/test command and name the
   compost command to run instead: run that. Need raw output (e.g. to show
   the user)? Append `# raw` to the command.

Profiles (auto-detected, `--profile` to override): pytest, ctest, gcc/clang,
cmake, python_traceback, slurm, numerical_solver, generic.

Output fields, statuses, storage and retention: `references/schema.md`.
Per-profile detection: `references/profiles.md`.

Files in this skill

  • .gitignore29 B
  • SKILL.md1.9 KB
  • bin/compost660 B
  • references/profiles.md2.1 KB
  • references/schema.md3.8 KB
  • scripts/cg_mode.py5.2 KB
  • scripts/co_cluster.py5.3 KB
  • scripts/co_hook.py5.3 KB
  • scripts/co_profiles.py23 KB
  • scripts/co_store.py10.4 KB
  • scripts/compost.py29 KB
  • tests/fixtures/ansi_clang.log699 B
  • tests/fixtures/clean_pass.log352 B
  • tests/fixtures/gcc_errors.log37 KB
  • tests/fixtures/ninja_cmake_build.log698 B
  • tests/fixtures/opaque_fail.log141 B
  • tests/fixtures/pytest_assert.log1.5 KB
  • tests/fixtures/pytest_diff_1.log398 B
  • tests/fixtures/pytest_diff_2.log398 B
  • tests/fixtures/pytest_fail.log12.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.