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

71%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Fix and improve this skill with Tessl

tessl review fix ./skills/brain-pdf/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

73%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 is a strong, operational skill document: an executable invocation script, explicit workflow sequencing with validation at every step, and a clear failure protocol. Its main weakness is token efficiency — a duplicated rule statement, boilerplate Contract/Output Format stubs, and a version-sensitive roadmap note could all be trimmed without losing operational value.

Suggestions

Remove the duplicated source-of-truth statement (keep either the opening blockquote or '## The rule', not both) and delete the '## Contract' and '## Output Format' boilerplate sections that reference nonexistent section names.

Replace the 'brain-pdf <slug>' pseudo-command in Common patterns with the actual invocation (the bash script or a defined wrapper) so every example is executable.

Move the 'v0.25.1 / future v0.26+' version note into a prerequisite or deprecation note so time-sensitive details do not penalize the main flow.

DimensionReasoningScore

Conciseness

The body is mostly efficient but contains several trimmable blocks: the source-of-truth rule is stated twice nearly verbatim (the opening blockquote and '## The rule'), the '## Contract' and '## Output Format' sections are boilerplate stubs referencing sections that do not exist by those names, and the 'A future v0.26+ ... for v0.25.1' version note is time-sensitive without a deprecated section. This matches anchor 3 rather than 4 because there are multiple distinct instances of padding, not minor ones.

3 / 5

Actionability

The Invocation section is a complete, copy-paste-ready bash script with error handling, and Common patterns gives concrete flag variants (watermark, cover/toc, title/author). It falls short of 5 only because 'brain-pdf <slug>' in Common patterns is a pseudo-command with no such binary or wrapper defined anywhere in the skill.

4 / 5

Workflow Clarity

The RESOLVE → STRIP → RENDER → DELIVER workflow is explicitly sequenced with validation checkpoints at each step (page-existence check, non-empty output check after stripping, make-pdf success plus '[ -s "$OUT" ]' size check), a dedicated failure protocol with error-specific recovery (page_not_found → title search before reporting), and an anti-patterns checklist. This matches the anchor 5 example's validate-fix-proceed structure.

5 / 5

Progressive Disclosure

No bundle files exist; the single SKILL.md is well-sectioned with one-level-deep, clearly signaled references to conventions files and related skills, matching anchor 4 ('good structure; most content appropriately placed'). It is not 5 because the file exceeds the ~50-line simple-skill threshold and includes boilerplate Contract/Output Format sections plus relative references (../conventions/*.md) that add navigation noise.

4 / 5

Total

16

/

20

Passed

Description

58%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 concrete and action-oriented, clearly communicating a four-step rendering pipeline with a well-defined niche. Its main weaknesses are the missing 'use when' guidance within the description itself (covered only by the separate triggers list) and the absence of natural synonyms like 'export' or 'convert' that users would say when needing this skill.

Suggestions

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

Work natural synonyms into the description — 'export', 'convert', 'document' — so trigger term quality covers the phrases users actually say, rather than relying solely on the frontmatter triggers list.

Mention the gstack co-installation prerequisite in one clause (e.g., 'requires the gstack make-pdf binary') so the description's capability claims are self-contained.

DimensionReasoningScore

Specificity

The description lists four concrete actions ('Generate a publication-quality PDF', 'Strips private sections the way gbrain publish does', 'sanitizes emoji', 'applies running headers and page numbers'), matching the 'several specific actions; minor gaps' anchor. It is not 5 because prerequisites, delivery behavior, and output options are not covered.

4 / 5

Completeness

The 'what' is clearly and concretely stated, but the description field contains no 'Use when...' clause or equivalent explicit trigger guidance, which caps completeness at 3 per the rubric guidelines. The frontmatter 'triggers:' list covers this, but it is not part of the description being evaluated.

3 / 5

Trigger Term Quality

'PDF', 'brain page', and 'publish' are relevant keywords, but the natural variations users would say for this task — 'export', 'convert', 'document' — are absent from the description. This matches anchor 3 ('some relevant keywords but missing common variations or synonyms') rather than 4.

3 / 5

Distinctiveness Conflict Risk

'from any brain page via the gstack make-pdf binary' carves a clear niche with minimal conflict risk, but 'Strips private sections the way gbrain publish does' shares the 'publish' trigger space with sibling publishing skills, matching anchor 4 ('mostly distinct; minor overlap risk').

4 / 5

Total

14

/

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

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.