Giverny

Brain Link Discipline

When you report a brain page to the user — created, edited, committed, or relayed from a subagent — a working link is part of the deliverable, in the SAME message. Derive the path…

by Garry Tan★ 33,756General

What Brain Link Discipline does

When you report a brain page to the user — created, edited, committed, or relayed from a subagent — a working link is part of the deliverable, in the SAME message. Derive the path mechanically (git ls-files --full-name), push BEFORE linking, verify the link resolves when a hosted remote exists, and degrade through a defined fallback chain when it doesn't. Inside brain pages the rule inverts: relative links preserve the link graph; absolute URLs are for chat deliverables only.

How to install Brain Link Discipline in Claude Code

Giverny gives you a ready prompt with the exact install command from garrytan/gbrain. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone garrytan/gbrain and copy the skills/brain-link-discipline folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Brain Link Discipline on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the brain-link-discipline skill on my current project.”

More Claude skills for general