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
Medium

E004: Prompt injection in skill

What this means

Detected a prompt injection in the skill instructions. The skill contains hidden or deceptive instructions that fall outside its stated purpose and attempt to override the agent’s safety guidelines or intended behavior.

Why it was flagged

The skill renders a brain page to PDF with privacy stripping and confirms before sending, but its awk step silently drops the guest-page attribution warning from the rendered output, which hides provenance information from the recipient.

Report incorrect finding
Low

W011: Exposure to untrusted third-party content

What this means

The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.

Why it was flagged

The required workflow runs `gbrain get <slug>` on a user-selected brain page, and the skill explicitly handles "outside guest" pages, which means outsider-authored text can reach the brain and be ingested. Because the agent must fetch a specific page by slug rather than read an outsider-writable queue, this fits the low tier, though the guest-page path makes it borderline.

Repository

garrytan/gbrain

Path

plugin/skills/brain-pdf/SKILL.md

Audited
Security analysis
Snyk

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.