[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EXEATV4PK77PDGC1YHD9ND":3,"skill-same:01M7EXEATV4PK77PDGC1YHD9ND":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":44,"updatedAt":45,"install":46,"resources":58},"01M7EXEATV4PK77PDGC1YHD9ND","brain-link-discipline",null,"When you report a brain page to the user — created, edited, committed, or\nrelayed from a subagent — a working link is part of the deliverable, in the\nSAME message. Derive the path mechanically (git ls-files --full-name), push\nBEFORE linking, verify the link resolves when a hosted remote exists, and\ndegrade through a defined fallback chain when it doesn't. Inside brain\npages the rule inverts: relative links preserve the link graph; absolute\nURLs are for chat deliverables only.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fbrain-link-discipline\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: brain-link-discipline\nversion: 1.0.0\ndescription: |\n  When you report a brain page to the user — created, edited, committed, or\n  relayed from a subagent — a working link is part of the deliverable, in the\n  SAME message. Derive the path mechanically (git ls-files --full-name), push\n  BEFORE linking, verify the link resolves when a hosted remote exists, and\n  degrade through a defined fallback chain when it doesn't. Inside brain\n  pages the rule inverts: relative links preserve the link graph; absolute\n  URLs are for chat deliverables only.\ntriggers:\n  - \"give me the link\"\n  - \"where is the page\"\n  - \"why does this link 404\"\n  - \"brain link discipline\"\n  - \"rewrite subagent paths\"\n  - \"report the pages you created\"\n  - \"send me a clickable link\"\n  - \"link the page in the same message\"\nmutating: true\nwrites_pages: false\nupstream: brain-link-on-commit@fc834ee + brain-link-report@fc834ee\n# brain_first: exempt — this skill governs outbound-message link formatting\n# and performs no entity\u002Ffact lookups. Its only network call is an HTTP\n# existence check against the user's own hosted git remote (link\n# verification, not data retrieval). Declarative opt-out.\nbrain_first: exempt\n---\n\n# brain-link-discipline — The Link Is Part of the Deliverable\n\n> **Convention:** see [_output-rules.md](..\u002F_output-rules.md) — the\n> Deterministic Links section carries the cross-skill canon (in-page relative\n> vs in-message verified, plus the fallback chain). This skill carries the\n> mechanics: path derivation, push-before-link ordering, verification, the\n> subagent-relay rewrite, and bulk-list formatting.\n>\n> **Convention:** [conventions\u002Fbrain-first.md](..\u002Fconventions\u002Fbrain-first.md)\n> states the one-line principle (\"every brain page reference in output should\n> use a clickable link format appropriate to the deployment\"). This skill is\n> that line's full expansion.\n\nThis is a reporting convention the harness routes brain-page delivery\nmessages through — a standing rule to apply when composing such messages,\nnot a mechanical guarantee enforced by tooling.\n\n## The rule (same message)\n\nIf you commit and push a brain page, the link goes in the SAME message that\nreports the work. Every time. No \"let me commit and push\" without the link\nlanding in that same reply once the push succeeds. The user should never\nhave to ask \"give me the link\" or \"where is the page.\"\n\nThis applies to:\n\n- Any message reporting a created or edited brain page\n- Bulk reports (\"5 pages created\" — every page gets its own link line)\n- Referencing a brain page in normal conversation\n- Relaying subagent results that mention brain paths (rewrite first — see below)\n\nThe most common link bug is committing a brain page and forcing the user to\ngo find it. The link is a deliverable, not a follow-up.\n\n## Scope split: in-message vs in-page (the inversion)\n\nThe two output surfaces take OPPOSITE link forms:\n\n| Surface | Link form | Why |\n|---|---|---|\n| Chat message to the user | Absolute, verified URL (or the fallback chain below) | Repo-relative paths aren't clickable in chat surfaces |\n| Inside a brain page body | RELATIVE markdown link: `[Alice Example](..\u002Fpeople\u002Falice-example.md)` | gbrain's link extraction builds the links\u002Fbacklinks graph — which powers relational retrieval — from filesystem-relative links. An absolute URL between two brain pages is invisible to that graph |\n\n**Never write absolute URLs for page-to-page references inside a brain\npage.** Absolute URLs in a page body are for genuinely external targets\nonly. Frontmatter `related:` \u002F `people:` keys stay bare relative paths\n(machine-parsed, not rendered prose). After a link-heavy write,\n`gbrain check-backlinks check` audits the graph and `gbrain sync --no-pull`\nmakes the pages searchable.\n\n## Deriving the path mechanically\n\nThe repo-relative path a hosted git remote serves is relative to the **git\nrepo root** (`git rev-parse --show-toplevel`), NOT your current working\ndirectory. When the repo root sits above your working directory, hand-\nstripping your cwd prefix silently drops the intermediate directory segment\nand every link you build 404s. Never hand-strip a prefix. Derive:\n\n```bash\n# From anywhere inside the repo, prints the EXACT path the remote serves:\ncd \"$(dirname \u003Cfile>)\" && git ls-files --full-name \"$(basename \u003Cfile>)\"\n# e.g. people\u002Falice-example.md\n```\n\nThen assemble:\n\n```\nhttps:\u002F\u002F\u003Chost>\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002F\u003Cbranch>\u002F\u003Cthat-exact-path>\n```\n\n- `\u003Chost>\u002F\u003Cowner>\u002F\u003Crepo>` from `git remote get-url origin`\n- `\u003Cbranch>` from `git rev-parse --abbrev-ref HEAD` (or the remote's default branch)\n- `\u002Fblob\u002F` for files, `\u002Ftree\u002F` for directories (GitHub-style hosts)\n\n## Sequence (push BEFORE link)\n\n1. Write\u002Fedit the brain file.\n2. `git add \u003Cfile> && git commit -m \"...\" && git push`\n3. **Verify the push landed** — the push output must show the ref update\n   (e.g. `abc123..def456  main -> main`). A hosted URL 404s until the push\n   completes.\n4. **In the SAME message that reports the commit, output the link** — as a\n   clickable markdown link or bare URL, never a backticked code span.\n\n## Verify before linking (when a hosted remote exists)\n\nBefore including a hosted-remote link in a user-facing message, confirm the\npath exists on the remote. GitHub example (private repos need a token):\n\n```bash\ncurl -sf -o \u002Fdev\u002Fnull -w '%{http_code}' \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002F\u003Crepo-relative-path>\"\n```\n\nOnly send the link on `200`. If you just pushed and the host API is lagging,\nthe push output proving the ref moved is sufficient evidence — but never\ninvent or guess a URL.\n\n**Send the token only to its issuing host.** The `Authorization: token` header\nabove targets `api.github.com` because the remote is a github.com remote. Never\nsend `$GITHUB_TOKEN` to a host you derived from `git remote get-url origin`\nwithout confirming it is the token's issuing host: a doctored or unexpected\nremote (`origin` pointed at an attacker's host, an enterprise\u002Fself-hosted host\nthe token isn't scoped to) would harvest the credential. For a github.com\nremote, use `api.github.com`. For any other remote, verify UNAUTHENTICATED (a\npublic-repo existence check needs no token) or skip verification and fall back\nto the ref-update evidence from the push. When in doubt, don't send the token.\n\n## Fallback chain (in order)\n\n1. **Hosted git-remote URL (verified).** The brain repo has a remote on a\n   host that renders files → build and verify as above.\n2. **Repo-relative path + scope note.** No hosted remote (the default PGLite\n   brain often has none, or the repo is local-only) → give the repo-relative\n   path (`people\u002Falice-example.md`) and say plainly that it's a local path\n   in the brain repo.\n3. **`gbrain publish` output as an attachable HTML ARTIFACT.** `gbrain\n   publish \u003Cpage-path>` emits a self-contained LOCAL HTML file (its output\n   line is `Published: \u003Clocal-path>`). Offer to attach or send that file —\n   NEVER present it as a URL, because it isn't one. Use `--password` for\n   sensitive content.\n\n## Subagent-relay rewrite rule\n\nSubagents run in local context and return LOCAL paths. Relaying a subagent\ncompletion verbatim is the #1 source of link bugs: the subagent reports\n`media\u002Fbooks\u002Fwidget-co-notes.md` (or an absolute path into the brain\ncheckout) and the relay parrots it. Before converting a subagent completion\ninto a user-facing reply, rewrite every brain-page path through the same\nderivation + fallback chain above.\n\nWhen spawning subagents that will write brain pages, include in their task\nprompt:\n\n> Report brain pages as repo-relative paths from `git ls-files --full-name`.\n> The parent rewrites them into links before relaying.\n\n## Bulk lists\n\nOne link per line, full URL (or fallback form), no backticks:\n\n```\nCreated 3 pages:\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fpeople\u002Falice-example.md\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fpeople\u002Fcharlie-example.md\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fcompanies\u002Facme-example.md\n```\n\n## Scope note: links resolve for repo members only\n\nHosted-remote links into a private brain repo open only for people with\nrepo access. That's fine for the user's own chat surface; it is NOT a\nshareable link for an outside audience. For outside sharing, fall through\nto the `gbrain publish` artifact (step 3 of the fallback chain).\n\n## Contract\n\nThis skill guarantees:\n\n- Every outbound message reporting a brain-page write carries the link (or\n  fallback form) in that same message — the user never has to ask.\n- Links are built mechanically from git data (`git ls-files --full-name`,\n  `git remote get-url origin`), never composed from memory.\n- No hosted URL is sent before the push lands; verification (or ref-update\n  evidence) precedes the link.\n- Subagent relays are rewritten before delivery.\n- In-page cross-references stay relative, preserving the links\u002Fbacklinks\n  graph.\n- Routing matches the canonical triggers in the frontmatter.\n- Privacy contract preserved: no real names, no fork-specific filesystem\n  path literals, no upstream-fork references.\n\n## Output Format\n\nHosted remote (verified):\n\n> Done — pushed.\n> https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fconcepts\u002Fwidget-co-pricing.md\n>\n> Changes committed ([abc1234](https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcommit\u002Fabc1234)):\n> - concepts\u002Fwidget-co-pricing.md (edit) — reworked the pricing section\n\nNo hosted remote (fallback steps 2–3):\n\n> Saved `concepts\u002Fwidget-co-pricing.md` in the brain repo (local path — this\n> brain has no hosted remote). Want a shareable HTML render? I can generate\n> one with `gbrain publish` and attach the file.\n\n## Anti-Patterns\n\n- ❌ \"Committed and pushed.\" — no link.\n- ❌ \"The page is live at `\u002Fabsolute\u002Flocal\u002Fpath\u002F...`\" — local absolute path\n  instead of a link or repo-relative fallback.\n- ❌ Committing, then waiting for the user to ask for the link.\n- ❌ Relaying a subagent result containing local brain paths verbatim.\n- ❌ Outputting hosted URLs BEFORE `git push` has landed (they 404 until the\n  push completes — push first, verify the ref moved, then link).\n- ❌ Presenting `gbrain publish` output as a URL. It emits a local HTML file\n  path; offer it as an attachable artifact.\n- ❌ Hand-stripping a cwd prefix to build the repo-relative path. Use\n  `git ls-files --full-name`.\n- ❌ Absolute URLs for page-to-page references INSIDE a brain page — breaks\n  the links\u002Fbacklinks graph that relational retrieval depends on.\n- ❌ Backticked paths in chat where a clickable link was possible.\n- ❌ Guessing or reconstructing a URL from memory.\n\n## Dedup (sharp boundaries)\n\n- `skills\u002Fpublish\u002FSKILL.md` — owns HOW to generate a shareable HTML\n  artifact (stripping, encryption, output options). brain-link-discipline\n  only decides WHEN to fall back to it, and forbids promising its output as\n  a URL.\n- `skills\u002F_output-rules.md` (Deterministic Links) — carries the cross-skill\n  CANON: deterministic construction, the in-page\u002Fin-message scope split, the\n  fallback chain. This skill carries the per-message MECHANICS: derivation,\n  ordering, verification, relay rewriting, bulk formatting.\n- `skills\u002Fconventions\u002Fbrain-first.md` — states the one-line clickable-link\n  principle inside the lookup convention; this skill is its expansion for\n  delivery messages.\n- `skills\u002Fconventions\u002Fsubagent-routing.md` — how to route work to\n  subagents. This skill adds the path-rewrite obligation at the relay\n  boundary; subagent-routing says nothing about link\u002Fpath rewriting.\n- `skills\u002Fcitation-fixer\u002FSKILL.md` — fixes broken citations INSIDE existing\n  brain pages. Not about outbound message links.\n- `skills\u002Freports\u002FSKILL.md` — saves\u002Floads report pages. When a report\n  delivery message references brain pages, that message follows this\n  discipline; the reports skill itself carries no link rules.\n","# brain-link-discipline — The Link Is Part of the Deliverable\n\n> **Convention:** see [_output-rules.md](..\u002F_output-rules.md) — the\n> Deterministic Links section carries the cross-skill canon (in-page relative\n> vs in-message verified, plus the fallback chain). This skill carries the\n> mechanics: path derivation, push-before-link ordering, verification, the\n> subagent-relay rewrite, and bulk-list formatting.\n>\n> **Convention:** [conventions\u002Fbrain-first.md](..\u002Fconventions\u002Fbrain-first.md)\n> states the one-line principle (\"every brain page reference in output should\n> use a clickable link format appropriate to the deployment\"). This skill is\n> that line's full expansion.\n\nThis is a reporting convention the harness routes brain-page delivery\nmessages through — a standing rule to apply when composing such messages,\nnot a mechanical guarantee enforced by tooling.\n\n## The rule (same message)\n\nIf you commit and push a brain page, the link goes in the SAME message that\nreports the work. Every time. No \"let me commit and push\" without the link\nlanding in that same reply once the push succeeds. The user should never\nhave to ask \"give me the link\" or \"where is the page.\"\n\nThis applies to:\n\n- Any message reporting a created or edited brain page\n- Bulk reports (\"5 pages created\" — every page gets its own link line)\n- Referencing a brain page in normal conversation\n- Relaying subagent results that mention brain paths (rewrite first — see below)\n\nThe most common link bug is committing a brain page and forcing the user to\ngo find it. The link is a deliverable, not a follow-up.\n\n## Scope split: in-message vs in-page (the inversion)\n\nThe two output surfaces take OPPOSITE link forms:\n\n| Surface | Link form | Why |\n|---|---|---|\n| Chat message to the user | Absolute, verified URL (or the fallback chain below) | Repo-relative paths aren't clickable in chat surfaces |\n| Inside a brain page body | RELATIVE markdown link: `[Alice Example](..\u002Fpeople\u002Falice-example.md)` | gbrain's link extraction builds the links\u002Fbacklinks graph — which powers relational retrieval — from filesystem-relative links. An absolute URL between two brain pages is invisible to that graph |\n\n**Never write absolute URLs for page-to-page references inside a brain\npage.** Absolute URLs in a page body are for genuinely external targets\nonly. Frontmatter `related:` \u002F `people:` keys stay bare relative paths\n(machine-parsed, not rendered prose). After a link-heavy write,\n`gbrain check-backlinks check` audits the graph and `gbrain sync --no-pull`\nmakes the pages searchable.\n\n## Deriving the path mechanically\n\nThe repo-relative path a hosted git remote serves is relative to the **git\nrepo root** (`git rev-parse --show-toplevel`), NOT your current working\ndirectory. When the repo root sits above your working directory, hand-\nstripping your cwd prefix silently drops the intermediate directory segment\nand every link you build 404s. Never hand-strip a prefix. Derive:\n\n```bash\n# From anywhere inside the repo, prints the EXACT path the remote serves:\ncd \"$(dirname \u003Cfile>)\" && git ls-files --full-name \"$(basename \u003Cfile>)\"\n# e.g. people\u002Falice-example.md\n```\n\nThen assemble:\n\n```\nhttps:\u002F\u002F\u003Chost>\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002F\u003Cbranch>\u002F\u003Cthat-exact-path>\n```\n\n- `\u003Chost>\u002F\u003Cowner>\u002F\u003Crepo>` from `git remote get-url origin`\n- `\u003Cbranch>` from `git rev-parse --abbrev-ref HEAD` (or the remote's default branch)\n- `\u002Fblob\u002F` for files, `\u002Ftree\u002F` for directories (GitHub-style hosts)\n\n## Sequence (push BEFORE link)\n\n1. Write\u002Fedit the brain file.\n2. `git add \u003Cfile> && git commit -m \"...\" && git push`\n3. **Verify the push landed** — the push output must show the ref update\n   (e.g. `abc123..def456  main -> main`). A hosted URL 404s until the push\n   completes.\n4. **In the SAME message that reports the commit, output the link** — as a\n   clickable markdown link or bare URL, never a backticked code span.\n\n## Verify before linking (when a hosted remote exists)\n\nBefore including a hosted-remote link in a user-facing message, confirm the\npath exists on the remote. GitHub example (private repos need a token):\n\n```bash\ncurl -sf -o \u002Fdev\u002Fnull -w '%{http_code}' \\\n  -H \"Authorization: token $GITHUB_TOKEN\" \\\n  \"https:\u002F\u002Fapi.github.com\u002Frepos\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcontents\u002F\u003Crepo-relative-path>\"\n```\n\nOnly send the link on `200`. If you just pushed and the host API is lagging,\nthe push output proving the ref moved is sufficient evidence — but never\ninvent or guess a URL.\n\n**Send the token only to its issuing host.** The `Authorization: token` header\nabove targets `api.github.com` because the remote is a github.com remote. Never\nsend `$GITHUB_TOKEN` to a host you derived from `git remote get-url origin`\nwithout confirming it is the token's issuing host: a doctored or unexpected\nremote (`origin` pointed at an attacker's host, an enterprise\u002Fself-hosted host\nthe token isn't scoped to) would harvest the credential. For a github.com\nremote, use `api.github.com`. For any other remote, verify UNAUTHENTICATED (a\npublic-repo existence check needs no token) or skip verification and fall back\nto the ref-update evidence from the push. When in doubt, don't send the token.\n\n## Fallback chain (in order)\n\n1. **Hosted git-remote URL (verified).** The brain repo has a remote on a\n   host that renders files → build and verify as above.\n2. **Repo-relative path + scope note.** No hosted remote (the default PGLite\n   brain often has none, or the repo is local-only) → give the repo-relative\n   path (`people\u002Falice-example.md`) and say plainly that it's a local path\n   in the brain repo.\n3. **`gbrain publish` output as an attachable HTML ARTIFACT.** `gbrain\n   publish \u003Cpage-path>` emits a self-contained LOCAL HTML file (its output\n   line is `Published: \u003Clocal-path>`). Offer to attach or send that file —\n   NEVER present it as a URL, because it isn't one. Use `--password` for\n   sensitive content.\n\n## Subagent-relay rewrite rule\n\nSubagents run in local context and return LOCAL paths. Relaying a subagent\ncompletion verbatim is the #1 source of link bugs: the subagent reports\n`media\u002Fbooks\u002Fwidget-co-notes.md` (or an absolute path into the brain\ncheckout) and the relay parrots it. Before converting a subagent completion\ninto a user-facing reply, rewrite every brain-page path through the same\nderivation + fallback chain above.\n\nWhen spawning subagents that will write brain pages, include in their task\nprompt:\n\n> Report brain pages as repo-relative paths from `git ls-files --full-name`.\n> The parent rewrites them into links before relaying.\n\n## Bulk lists\n\nOne link per line, full URL (or fallback form), no backticks:\n\n```\nCreated 3 pages:\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fpeople\u002Falice-example.md\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fpeople\u002Fcharlie-example.md\n- https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fcompanies\u002Facme-example.md\n```\n\n## Scope note: links resolve for repo members only\n\nHosted-remote links into a private brain repo open only for people with\nrepo access. That's fine for the user's own chat surface; it is NOT a\nshareable link for an outside audience. For outside sharing, fall through\nto the `gbrain publish` artifact (step 3 of the fallback chain).\n\n## Contract\n\nThis skill guarantees:\n\n- Every outbound message reporting a brain-page write carries the link (or\n  fallback form) in that same message — the user never has to ask.\n- Links are built mechanically from git data (`git ls-files --full-name`,\n  `git remote get-url origin`), never composed from memory.\n- No hosted URL is sent before the push lands; verification (or ref-update\n  evidence) precedes the link.\n- Subagent relays are rewritten before delivery.\n- In-page cross-references stay relative, preserving the links\u002Fbacklinks\n  graph.\n- Routing matches the canonical triggers in the frontmatter.\n- Privacy contract preserved: no real names, no fork-specific filesystem\n  path literals, no upstream-fork references.\n\n## Output Format\n\nHosted remote (verified):\n\n> Done — pushed.\n> https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fblob\u002Fmain\u002Fconcepts\u002Fwidget-co-pricing.md\n>\n> Changes committed ([abc1234](https:\u002F\u002Fgithub.com\u002F\u003Cowner>\u002F\u003Crepo>\u002Fcommit\u002Fabc1234)):\n> - concepts\u002Fwidget-co-pricing.md (edit) — reworked the pricing section\n\nNo hosted remote (fallback steps 2–3):\n\n> Saved `concepts\u002Fwidget-co-pricing.md` in the brain repo (local path — this\n> brain has no hosted remote). Want a shareable HTML render? I can generate\n> one with `gbrain publish` and attach the file.\n\n## Anti-Patterns\n\n- ❌ \"Committed and pushed.\" — no link.\n- ❌ \"The page is live at `\u002Fabsolute\u002Flocal\u002Fpath\u002F...`\" — local absolute path\n  instead of a link or repo-relative fallback.\n- ❌ Committing, then waiting for the user to ask for the link.\n- ❌ Relaying a subagent result containing local brain paths verbatim.\n- ❌ Outputting hosted URLs BEFORE `git push` has landed (they 404 until the\n  push completes — push first, verify the ref moved, then link).\n- ❌ Presenting `gbrain publish` output as a URL. It emits a local HTML file\n  path; offer it as an attachable artifact.\n- ❌ Hand-stripping a cwd prefix to build the repo-relative path. Use\n  `git ls-files --full-name`.\n- ❌ Absolute URLs for page-to-page references INSIDE a brain page — breaks\n  the links\u002Fbacklinks graph that relational retrieval depends on.\n- ❌ Backticked paths in chat where a clickable link was possible.\n- ❌ Guessing or reconstructing a URL from memory.\n\n## Dedup (sharp boundaries)\n\n- `skills\u002Fpublish\u002FSKILL.md` — owns HOW to generate a shareable HTML\n  artifact (stripping, encryption, output options). brain-link-discipline\n  only decides WHEN to fall back to it, and forbids promising its output as\n  a URL.\n- `skills\u002F_output-rules.md` (Deterministic Links) — carries the cross-skill\n  CANON: deterministic construction, the in-page\u002Fin-message scope split, the\n  fallback chain. This skill carries the per-message MECHANICS: derivation,\n  ordering, verification, relay rewriting, bulk formatting.\n- `skills\u002Fconventions\u002Fbrain-first.md` — states the one-line clickable-link\n  principle inside the lookup convention; this skill is its expansion for\n  delivery messages.\n- `skills\u002Fconventions\u002Fsubagent-routing.md` — how to route work to\n  subagents. This skill adds the path-rewrite obligation at the relay\n  boundary; subagent-routing says nothing about link\u002Fpath rewriting.\n- `skills\u002Fcitation-fixer\u002FSKILL.md` — fixes broken citations INSIDE existing\n  brain pages. Not about outbound message links.\n- `skills\u002Freports\u002FSKILL.md` — saves\u002Floads report pages. When a report\n  delivery message references brain pages, that message follows this\n  discipline; the reports skill itself carries no link rules.\n",{"name":5,"version":24,"mutating":25,"triggers":26,"upstream":35,"brain_first":36,"description":37,"writes_pages":20},"1.0.0",true,[27,28,29,30,31,32,33,34],"give me the link","where is the page","why does this link 404","brain link discipline","rewrite subagent paths","report the pages you created","send me a clickable link","link the page in the same message","brain-link-on-commit@fc834ee + brain-link-report@fc834ee","exempt","When you report a brain page to the user — created, edited, committed, or\nrelayed from a subagent — a working link is part of the deliverable, in the\nSAME message. Derive the path mechanically (git ls-files --full-name), push\nBEFORE linking, verify the link resolves when a hosted remote exists, and\ndegrade through a defined fallback chain when it doesn't. Inside brain\npages the rule inverts: relative links preserve the link graph; absolute\nURLs are for chat deliverables only.\n","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fbrain-link-discipline",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":25},[48,51,54],{"tool":49,"command":50},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill brain-link-discipline",{"tool":52,"command":53},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill brain-link-discipline",{"tool":55,"command":56},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill brain-link-discipline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fbrain-link-discipline\u002FSKILL.md",[],[60,68,73,80,87,94],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":69,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":67},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":67},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":67},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":67},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":67},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]