Skip to content
Back to skills

Explain

ASecurity

Inline self-comprehension adapter. Calls the distill engine to extract the essence of long text and renders it as inline markdown. audience=me is auto-fixed. Output only — no file generation. Triggers: "설명해", "이해하게", "explain", "정리해서 보여줘", "readme 읽고", "shrink", "줄여줘", "압축"

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
documentationbash

Security analysis

A100/100

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

Scanned May 27, 2026

npx -y skills add jazz1x/galmuri --skill explain --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Explain?

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

Security grade badge for Explain
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jazz1x-explain/badge)](https://www.skillsdirectory.com/skills/jazz1x-explain)

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: explain
description: >
  Inline self-comprehension adapter. Calls the distill engine to extract the essence of long text and renders it as inline markdown.
  audience=me is auto-fixed. Output only — no file generation.
  Triggers: "설명해", "이해하게", "explain", "정리해서 보여줘", "readme 읽고", "shrink", "줄여줘", "압축"
version: 0.0.4
ssl:
  scheduling:
    anti_triggers:
      - "Inputs under ~30 tokens (use chat directly)"
      - "When the user wants a saved file (use doc instead)"
  structural:
    scenes: [Alias detection + Input Capture, Engine Invoke, Render, Output]
    resumable: false
    branches:
      - "shrink alias + source_tokens < 80 → explain handles it"
      - "shrink alias + source_tokens ≥ 80 → delegate to doc/pitch (see pitch routing)"
  logical:
    tools: [Bash, Skill]
    side_effects:
      reads: ["{input}"]
      writes: [".galmuri/tmp/source-{slug}.txt", ".galmuri/tmp/.warned-shrink"]
      deletes: []
      network: []
    idempotent: false
    rollback: ".galmuri/tmp/source-{slug}.txt is cleaned by the session-end hook; mid-flow LLM failure → re-run from Step 1."
---

# galmuri:explain — Inline reader-side summary

## Prerequisites
- `scripts/preflight.sh` passes (jq, bats, bash).
- `skills/distill/` engine is installed.

## Step 1: Alias detection + Input Capture

When triggered via `shrink` / `줄여줘` / `압축`:
```bash
if [ ! -f ".galmuri/tmp/.warned-shrink" ]; then
  echo "[deprecated] the 'shrink' trigger is routed to a context-based adapter. Scheduled for removal in a future release." >&2
  touch ".galmuri/tmp/.warned-shrink"
fi
# source_tokens < 80 → explain runs; otherwise → delegate to another adapter
```

- Pipe user input (a file path or stdin) into `.galmuri/tmp/source-{slug}.txt`.
  If no path is provided: "Tell me a file path or some text to explain. e.g. `README.md` — what should I explain?"
- audience is locked to `me` automatically (no separate prompt).

## Step 2: Engine Invoke

Call the `galmuri:distill` skill via the **Skill tool** with these arguments:

```
--mode reduce --ratio 0.2 --audience me --input {tmp file path from Step 1}
```

The engine returns an EngineOutput JSON. Pass it directly to Step 3.

Do **not** attempt to inline the distill logic here — always delegate to the skill.

## Step 3: Render
- EngineOutput.units → inline markdown:
  - First unit's `claim` becomes the top-line summary.
  - Each unit's `essence` is listed as a bullet.

## Step 4: Output
- Emit markdown to stdout. **No file-generation step** (by design).
- On session end, `.galmuri/tmp/source-{slug}.txt` is cleaned up automatically (hook).

## Output Schema
Markdown body only. No JSON output.

Files in this skill

  • SKILL.jp.md2.9 KB
  • SKILL.ko.md2.6 KB
  • SKILL.md2.7 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.

Comments

Loading comments…

Newsletter

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