CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

brain-pdf

Generate a publication-quality PDF from any brain page via the gstack make-pdf binary. Strips private sections the way gbrain publish does, sanitizes emoji, applies running headers and page numbers. Brain page is always the source of truth; PDF is a rendering.

Quality

81%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Medium

Suggest reviewing before use

The canonical home for this skill is brain-pdf in garrytan/gbrain

SKILL.md
Quality
Evals
Security

Quality

Content

81%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers an executable, well-validated workflow with excellent error handling and concrete commands, and its structure is easy to navigate as a single-file skill. Its weaknesses are the boilerplate Contract/Output Format filler sections and unquarantined version-speculation notes, plus a couple of dangling convention references without paths.

Suggestions

Delete the 'Contract' and 'Output Format' sections — they point to sections that don't exist and restate that the body itself is the documentation.

Move version-specific notes ('v0.25.1 soft prereq', 'future v0.26+ fallback') into a short 'Version notes' or 'Deprecated/old patterns' section so they don't penalize conciseness.

Give 'brain-first.md' and '_brain-filing-rules.md' explicit relative links (like quality.md and agent-operator-protocol.md already have) in the Contract section.

DimensionReasoningScore

Conciseness

The body is mostly efficient commands and terse comments, but the 'Contract' and 'Output Format' sections are pure filler ('The full behavior contract is documented in the body sections above', 'see "Output", "Brain page format", or equivalent' — no such section exists), and unquarantined version-sensitive speculation ('A future v0.26+ may bundle a fallback', 'for v0.25.1 gstack is a soft prereq') pads tokens, fitting 'mostly efficient but could be tightened'.

3 / 5

Actionability

The invocation script is fully executable and copy-paste ready, handling real edge cases (guest-page attribution line stripped via awk, 0700 mktemp workdir, empty-after-strip guard, non-empty output check), and the Common patterns section gives concrete variant commands covering the common cases.

5 / 5

Workflow Clarity

The RESOLVE → STRIP → RENDER → DELIVER sequence is explicit with validation at every step (page existence check, non-empty clean output, render success plus file-size verification) and a dedicated 'When it fails' error-recovery section, matching the top anchor's feedback-loop pattern.

5 / 5

Progressive Disclosure

With no bundle files, the single ~190-line file is legitimately self-contained and well-sectioned, and external references (../conventions/quality.md, agent-operator-protocol.md) are one level deep and clearly signaled; however 'brain-first.md' and '_brain-filing-rules.md' are named in the Contract section without paths or links, a minor organization gap that keeps it below a 5.

4 / 5

Total

17

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is highly specific and distinctive, naming concrete actions and a clear niche, but it omits an explicit 'when to use' clause within the description field itself (trigger guidance sits only in a separate when_to_use field) and lacks a few natural trigger synonyms like 'export' or 'convert'.

Suggestions

Append a 'Use when...' sentence to the description field itself (e.g., 'Use when the user asks to make a PDF from a brain page, export or convert a brain page to PDF') so completeness is not capped at 3.

Add natural user synonyms such as 'export', 'convert to PDF', or 'save as PDF' to the description's trigger vocabulary.

DimensionReasoningScore

Specificity

The description lists four concrete actions — 'Generate a publication-quality PDF', 'Strips private sections', 'sanitizes emoji', 'applies running headers and page numbers' — which is comprehensive coverage of the skill's capabilities, matching the top anchor rather than the 'minor gaps' of a 4.

5 / 5

Completeness

The 'what' is explicit and concrete, but the description field itself contains no 'Use when...' clause or equivalent trigger guidance — that lives in a separate frontmatter field — so per the judging guideline completeness is capped at 3 ('clear what but when missing or only weakly implied').

3 / 5

Trigger Term Quality

Natural terms like 'PDF', 'brain page', 'publish', and 'rendering' are present and would be said by users of this system, but common trigger verbs such as 'export', 'convert', or 'save as PDF' are missing from the description itself (they appear only in the separate when_to_use field), fitting 'good keyword coverage; a few natural terms missing'.

4 / 5

Distinctiveness Conflict Risk

'Generate a publication-quality PDF from any brain page via the gstack make-pdf binary' carves out a clear niche with domain-specific triggers (brain page, gstack, gbrain publish) and minimal conflict risk with other skills.

5 / 5

Total

17

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 2 suspicious

Warning

Total

14

/

16

Passed

Repository

garrytan/gbrain

Path

plugin/skills/brain-pdf/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.