diff --git a/personal/NOTICE b/personal/NOTICE index 41e540d..3883494 100644 --- a/personal/NOTICE +++ b/personal/NOTICE @@ -20,11 +20,15 @@ files/home/.agents/licenses/ in this directory. Every difference is listed in docs/vendored-skills.md. Matt Pocock did not make or review these changes and is not responsible for them. -2. HumanLayer's show-me skill, inside Matt Pocock's pr skill +2. HumanLayer's show-me skill - The "Summary" section of the pr skill (its menu of visuals and placement guidance) is - adapted from the show-me skill by Dex Horthy of HumanLayer, as the pr skill's own - CREDITS.md and SKILL.md metadata say. Comparing non-blank lines when this notice was + The complete `show-me` skill is copied from https://github.com/humanlayer/skills at + commit 4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329. Its two shipped files and their + SHA-256 hashes are pinned in vendor/humanlayer-show-me.json. + + The "Summary" section of Matt Pocock's `pr` skill (its menu of visuals and placement + guidance) is also adapted from show-me by Dex Horthy of HumanLayer, as the pr skill's + own CREDITS.md and SKILL.md metadata say. Comparing non-blank lines when this notice was written, 88 of the 93 lines of the pr skill's "### Summary" section (its heading through the line before "### Evidence") are identical to a line of show-me at https://github.com/humanlayer/skills (commit 4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329). diff --git a/personal/README.md b/personal/README.md index 77a7525..3b82cfa 100644 --- a/personal/README.md +++ b/personal/README.md @@ -21,10 +21,11 @@ network hosts, `github.com` and `registry.npmjs.org`, for that command. assets/first-mate-wait.sh background wait loop around the detector; one loop per FIRST_MATE_DIR, owned by the starting agent (flock) <27 skills from mattpocock/skills> vendored at a pinned commit, see below + show-me/ HumanLayer visual communication skill, pinned and vendored diagram-design/ offline editorial diagram guidance and guarded export ~/.agents/licenses/ MIT notices for the third-party material mattpocock-skills-LICENSE Matt Pocock (the vendored skills) - humanlayer-skills-LICENSE HumanLayer (show-me, adapted in the pr skill) + humanlayer-skills-LICENSE HumanLayer (show-me and adapted pr content) diagram-design-LICENSE Cathryn Lavery (Diagram Design) ``` @@ -66,7 +67,7 @@ each new sandbox installs them again. | Plugin | Source | Pin (sha512s are recorded for reviewers; nothing checks them at install) | Notes | | --- | --- | --- | --- | | [`quote-notes`](https://paseo.sh/plugins/xzthemeofsss/quote-notes) ("Codex Style Annotations", 0.2.2) by xzthemeofsss | `git:xzthemeofsss/paseo-plugins` | `5ce92527c99a328b28775c7d745f324f2cc84309` | Client plus a one-line settings registration; no server handlers. Needs Paseo 0.11.4 or later. Disable the older `quote` plugin first if you add it. Some labels are in Chinese. | -| [`skills`](https://paseo.sh/plugins/gpambrozio/skills) ("Skills", 0.4.0) by gpambrozio | `npm:@gpambrozio/paseo-skills` | `0.4.0` (sha512 `zMgP2U/vrRsLkKhoQICkN52+YoDy2WkkYymEDmruduKxf4Dq99Ct8Pk3xqJyAzijq2oprMFYLbj/wT6XepBLeA==`) | Lists the skills each agent session can use, renders each `SKILL.md`, and can invoke one. Reads the skill directories under `~/.claude`, `~/.codex` (or `$CODEX_HOME`) and `~/.agents`, and the project-level ones for the agent's working directory; writes nothing; no network or subprocess. Shows this kit's 29 skills in the Paseo UI. Needs Paseo 0.9 or later. | +| [`skills`](https://paseo.sh/plugins/gpambrozio/skills) ("Skills", 0.4.0) by gpambrozio | `npm:@gpambrozio/paseo-skills` | `0.4.0` (sha512 `zMgP2U/vrRsLkKhoQICkN52+YoDy2WkkYymEDmruduKxf4Dq99Ct8Pk3xqJyAzijq2oprMFYLbj/wT6XepBLeA==`) | Lists the skills each agent session can use, renders each `SKILL.md`, and can invoke one. Reads the skill directories under `~/.claude`, `~/.codex` (or `$CODEX_HOME`) and the project-level ones for the agent's working directory; writes nothing; no network or subprocess. Shows this kit's 30 skills in the Paseo UI. Needs Paseo 0.9 or later. | | [`mermaid`](https://paseo.sh/plugins/dutchakdev/mermaid) (0.5.0) by dutchakdev | `npm:paseo-plugin-mermaid` | `0.5.0` (sha512 `vNVNE1b0z7HJ1093jT1Cz/f3QYXFKg6yTfdqTHeFqaa9Ks437b0nrmQRdY/tWC9XDdXvgjWCCS1v9CsYYsCOhg==`) | Draws `mermaid` code blocks in chat as diagrams (flowcharts and sequence diagrams itself, other types through Paseo's Markdown on 0.13 or later), and opens `.mmd` files as diagrams. Runs only in the app: no server code, network or subprocess. Needs Paseo 0.11 or later. If you install Better Paseo, turn off its "Plugin markdown for replies" setting. | | [`beautiful-chat`](https://paseo.sh/plugins/aborakati/beautiful-chat) (0.1.0) by ABorakati | `git:ABorakati/beautiful-chat` | `42b61d8301b5400a67821bbbfcf99fa8b681dc37` | Redraws chat timeline items (tool calls, reasoning, checklists, prompts, errors, replies) as typed, syntax-highlighted cards that follow the Paseo theme, with its own settings page and chat find. The code does not gate on provider, so it applies to every agent; only the OMP-specific parts (job and IRC envelopes) are provider specific. Its manifest runs `npm ci --include=dev` during install, so the daemon needs `npm` on its PATH and `registry.npmjs.org`. Its server spawns `xdg-open` for "reveal path", which does nothing useful in a headless sandbox. **Conflicts with `mermaid` by default, see below.** | | [`emoji`](https://paseo.sh/plugins/yoseptf/emoji) (0.1.0) by YoseptF | `git:YoseptF/paseo-emoji` | `425e37563234d05a3ceaf15040db221625537db9` | Adds Slack-style `:emoji:` autocomplete to the composer using a bundled dictionary. Client-only; no server entry, runtime dependencies, network requests, or build commands. Uses the composer's DOM on desktop/web and intercepts Enter/Tab to accept a suggestion; native mobile is a no-op. Needs Paseo 0.8.0 or later. | @@ -198,9 +199,9 @@ number of `code-review` references in any file differs from what it expects. ## Credit and licences - **Matt Pocock**: the 27 skills above. MIT, Copyright (c) 2026 Matt Pocock. -- **Dex Horthy, HumanLayer**: the `pr` skill's menu of visuals is adapted from - HumanLayer's `show-me` skill, as that skill's own `CREDITS.md` says. MIT, Copyright (c) - 2026 HumanLayer. +- **Dex Horthy, HumanLayer**: the complete `show-me` skill is vendored at commit + `4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329`; the `pr` skill's menu of visuals is also + adapted from it. MIT, Copyright (c) 2026 HumanLayer. - **Cathryn Lavery**: Diagram Design, MIT, Copyright (c) 2025 Cathryn Lavery. The separate lock and local adaptations are described above. - **Mine**: `paseo-first-mate` and the scripts in this directory, written with AI @@ -305,6 +306,6 @@ drops files and starts one plugin installer that needs the separate paseo kit, s ## License MIT — see the repository [`LICENSE`](../LICENSE). The vendored skills are -Copyright (c) 2026 Matt Pocock, and the `pr` skill's adapted section is Copyright (c) -2026 HumanLayer, both also MIT; the notices ship at +Copyright (c) 2026 Matt Pocock. `show-me` and the `pr` skill's adapted section are +Copyright (c) 2026 HumanLayer, both also MIT; the notices ship at `files/home/.agents/licenses/`. See [`NOTICE`](NOTICE). diff --git a/personal/docs/decisions/0005-vendor-humanlayer-show-me.md b/personal/docs/decisions/0005-vendor-humanlayer-show-me.md new file mode 100644 index 0000000..8e3b775 --- /dev/null +++ b/personal/docs/decisions/0005-vendor-humanlayer-show-me.md @@ -0,0 +1,46 @@ +--- +title: "Vendor HumanLayer's show-me skill" +description: "Ship a pinned, hash-verified visual communication skill in the personal kit" +status: draft +tier: 2 +date: "2026-11-26" +last_updated: "2026-11-26" +decision_makers: ["Bret Mogilefsky"] +nist_controls: ["CM-3", "SA-11", "SR-3"] +impact_level: "Moderate" +ato_relevance: "no" +risk_treatment: "mitigate" +--- + +# Vendor HumanLayer's show-me skill + +## Context and problem statement + +The personal kit already carries an adapted `show-me` visual-guidance section inside +Matt Pocock's `pr` skill. The user requested the complete skill for use across agent +conversations. A mutable runtime installation would not reproduce the reviewed content +in fresh sandboxes. + +## Decision outcome + +On 2026-11-26, the user approved shipping the unmodified `show-me` skill from +`humanlayer/skills` at commit `4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329`. The kit +ships `SKILL.md` and its OpenAI invocation policy at `~/.agents/skills/show-me/`. +The existing MIT notice travels with the copy. `vendor/humanlayer-show-me.json` records +the full commit SHA, source path, licence hash, and hashes of every shipped file; +`scripts/verify` fails on missing, extra, or modified files. + +## Consequences and limitations + +- The skill is user-invoked and does not run implicitly. +- It adds no dependency installation, startup command, network permission, or provider + configuration. +- The skill can recommend creating an HTML artifact and opening it. The agent must still + obtain any approvals required by its governing instructions before executing commands. +- The record is AI-authored and remains draft pending human review. + +## Verification and rollback + +Run `personal/scripts/verify` and `python3 scripts/run-kit-tests.py personal`. Human +review is required before deployment. Roll back through a reviewed revert of this +decision, the payload, lock, spec records, and attribution updates. diff --git a/personal/docs/vendored-skills.md b/personal/docs/vendored-skills.md index f429ee1..91d1db0 100644 --- a/personal/docs/vendored-skills.md +++ b/personal/docs/vendored-skills.md @@ -54,12 +54,20 @@ authored here. takes bug reports with a real failing session, and no pull requests or new-skill proposals from outside. A change that only suits this kit belongs here. +### HumanLayer's show-me + +`show-me` is a separate, unmodified MIT skill by Dex Horthy / HumanLayer. It is +copied from `humanlayer/skills` at commit `4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329`. +`vendor/humanlayer-show-me.json` pins the source, licence, shipped file set, and +SHA-256 hashes; `scripts/verify` checks it offline. To update it, review the upstream +diff and licence, update the pin and hashes together, then run the standard kit checks. + ## Credit | Work | Author | Licence | Where the notice lives | | --- | --- | --- | --- | | The 27 skills (`ask-matt`, `tdd`, `triage`, ...) | Matt Pocock | MIT, Copyright (c) 2026 Matt Pocock | `files/home/.agents/licenses/mattpocock-skills-LICENSE` | -| The visuals menu in the `pr` skill, adapted from `show-me` | Dex Horthy, HumanLayer | MIT, Copyright (c) 2026 HumanLayer | `files/home/.agents/licenses/humanlayer-skills-LICENSE` | +| The `show-me` skill and the visuals menu in the `pr` skill adapted from it | Dex Horthy, HumanLayer | MIT, Copyright (c) 2026 HumanLayer | `files/home/.agents/licenses/humanlayer-skills-LICENSE` | | `paseo-first-mate`, and this kit's scripts, tests and docs | Bret Mogilefsky, with AI assistance | MIT, this repository | [`../../LICENSE`](../../LICENSE) | `NOTICE` has the full provenance, including how closely the `pr` section matches @@ -171,4 +179,4 @@ with `git ls-tree --name-only .agents/skills/` in the playbook repository. ## What is not verified No live sandbox run, on either backend. On msb every `files[]` record is copied -separately; the effect of 84 records on creation time has not been measured. +separately; the effect of 86 records on creation time has not been measured. diff --git a/personal/files/home/.agents/skills/show-me/SKILL.md b/personal/files/home/.agents/skills/show-me/SKILL.md new file mode 100644 index 0000000..f0ccd04 --- /dev/null +++ b/personal/files/home/.agents/skills/show-me/SKILL.md @@ -0,0 +1,128 @@ +--- +name: show-me +description: Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts. +disable-model-invocation: true +--- + +Help the user understand the current topic of conversation visually. Skip the preamble and keep prose brief. Pick the smallest view that makes the key point clear. + +- Show logic or an algorithm as pseudocode: + +```text +on(save) + if content is unchanged + return cached result + write new content + return fresh result +``` + +- Show runtime control flow as a call tree: + +```text +submitForm + createSession + persistPrompt + launchAgent + navigateToSession +``` + +- Show UI structure as a component tree, including state and module boundaries that matter: + +```tsx + (apps/example/src/routes/session.tsx) + useSessionEvents() + + (packages/ui) +``` + +- Show file responsibility or a broad refactor as a shallow file tree: + +```text +src/ +├── commands/ # parses user actions +├── sessions/ # owns session state +└── transport/ # sends API requests +``` + +- Show component interaction, control flow, or data flow with Mermaid: + +```mermaid +sequenceDiagram + participant User + participant UI + participant Daemon + User->>UI: choose command + UI->>Daemon: send expanded prompt + Daemon-->>UI: stream result +``` + +- Use `diff` when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic. + +For a component change: + +```diff + + useSessionEvents() + ++ + ++ +``` + +For a file-layout change: + +```diff + src/ + ├── commands/ ++│ └── show-me.ts # expands the slash command + ├── sessions/ +-└── transport.ts ++└── transport/ ++ ├── client.ts ++ └── stream.ts +``` + +For a call-tree or call-stack change: + +```diff + submitForm + createSession + persistPrompt ++ expandSkillMention + launchAgent +- navigateToSession ++ navigateToSession ++ subscribeToEvents +``` + +For a state or control-flow change: + +```diff + on(save) +- write content ++ if content is unchanged ++ return cached result ++ write new content ++ invalidate cache +``` + +- Show the whole block when most of it is new, when omitted context would hide ownership or order, or when the user needs a copyable target shape: + +```ts +function expandSkill(command: string): string { + const skillName = command.slice(1) + return `use the ${skillName} skill` +} +``` + +- For a visual UI, layout, state comparison, or concept too dense for Mermaid, write one focused HTML file — a diagram, an infographic, or a short slide deck, whichever fits the point. Match the product's colors, type, spacing, and components; use real labels and data; support desktop and mobile. Then open it for the user: + +``` +Bash(open path/to/show-me-{description}.html) +``` + +### guidance + +Place each visual next to the short text it supports. Keep only the calls, files, props, states, and boundaries needed to answer the user's current question or the options to resolve the current discussion point. + +You may use one of these, you may use several, it is unlikely you will use all of them. Use your judgement and don't overwhelm the user. diff --git a/personal/files/home/.agents/skills/show-me/agents/openai.yaml b/personal/files/home/.agents/skills/show-me/agents/openai.yaml new file mode 100644 index 0000000..5b1f887 --- /dev/null +++ b/personal/files/home/.agents/skills/show-me/agents/openai.yaml @@ -0,0 +1,2 @@ +policy: + allow_implicit_invocation: false diff --git a/personal/scripts/verify b/personal/scripts/verify index f5713fb..d459667 100755 --- a/personal/scripts/verify +++ b/personal/scripts/verify @@ -133,7 +133,8 @@ for rel, digest in sorted(locked.items()): elif hashlib.sha256(open(path, "rb").read()).hexdigest() != digest: errors.append("differs from lock: " + rel) own = ("files/home/.agents/skills/paseo-first-mate/", "files/home/paseo-plugins-install.sh", - "files/home/.agents/skills/diagram-design/", "files/home/.agents/licenses/diagram-design-LICENSE") + "files/home/.agents/skills/diagram-design/", "files/home/.agents/licenses/diagram-design-LICENSE", + "files/home/.agents/skills/show-me/") for item in lock.get("thirdParty", []): path = os.path.join(kit, item["licenseFile"]) if not os.path.isfile(path): @@ -162,6 +163,65 @@ else skip "$PYTHON_BIN not installed" fi +info "3b1. Vendored HumanLayer show-me matches its lock file" +# show-me is a separately pinned third-party snapshot. Its lock covers the complete +# shipped set, source commit, and the MIT licence so a local edit or added payload +# file cannot silently become part of the kit. +HUMANLAYER_LOCK="$KIT_DIR/vendor/humanlayer-show-me.json" +if [ ! -f "$HUMANLAYER_LOCK" ]; then + bad "vendor/humanlayer-show-me.json missing" +elif command -v "$PYTHON_BIN" >/dev/null 2>&1; then + if "$PYTHON_BIN" - "$KIT_DIR" "$HUMANLAYER_LOCK" >"$WORK/humanlayer.log" 2>&1 <<'PY' +import hashlib, json, os, re, sys + +kit, lock_path = sys.argv[1], sys.argv[2] +lock = json.load(open(lock_path, encoding="utf-8")) +errors = [] +if not re.fullmatch(r"[0-9a-f]{40}", lock.get("ref", "")): + errors.append("lock ref is not a full commit SHA") +expected_path = "plugins/show-me/skills/show-me" +if lock.get("skillPath") != expected_path: + errors.append("unexpected source skill path: " + repr(lock.get("skillPath"))) +files = lock.get("files") +if not isinstance(files, dict) or not files: + errors.append("lock has no files") + files = {} +for rel, digest in sorted(files.items()): + path = os.path.join(kit, rel) + if not re.fullmatch(r"[0-9a-f]{64}", digest): + errors.append("invalid hash: " + rel) + elif not os.path.isfile(path): + errors.append("missing: " + rel) + elif hashlib.sha256(open(path, "rb").read()).hexdigest() != digest: + errors.append("differs from lock: " + rel) +root = os.path.join(kit, "files/home/.agents/skills/show-me") +on_disk = set() +for current, _, names in os.walk(root): + for name in names: + on_disk.add(os.path.relpath(os.path.join(current, name), kit).replace(os.sep, "/")) +for rel in sorted(on_disk - set(files)): + errors.append("not in lock: " + rel) +license_path = lock.get("attribution", {}).get("licenseFile") +license_hash = lock.get("licenseSha256", "") +if not isinstance(license_path, str) or not os.path.isfile(os.path.join(kit, license_path)): + errors.append("missing third-party licence") +elif not re.fullmatch(r"[0-9a-f]{64}", license_hash): + errors.append("invalid licence hash") +elif hashlib.sha256(open(os.path.join(kit, license_path), "rb").read()).hexdigest() != license_hash: + errors.append("third-party licence differs from lock") +print("\n".join(errors)) +sys.exit(1 if errors else 0) +PY + then + ok "every HumanLayer show-me file and its licence match vendor/humanlayer-show-me.json" + else + bad "HumanLayer show-me and vendor/humanlayer-show-me.json disagree" + sed 's/^/ | /' "$WORK/humanlayer.log" >&2 + fi +else + skip "$PYTHON_BIN not installed" +fi + info "3b2. Vendored spec records mirror their source and are declared 0644" # The generated block holds only plain 0644 records whose guest path is the source # path under /home/agent. A hand edit to a mode or path cannot pass. diff --git a/personal/spec.yaml b/personal/spec.yaml index de0e34c..21c67fd 100644 --- a/personal/spec.yaml +++ b/personal/spec.yaml @@ -10,7 +10,9 @@ # paseo-first-mate the author's own skill plus two helper scripts # 27 skills by Matt Pocock (mattpocock/skills, MIT), vendored at a pinned commit, # listed in the generated block below and in vendor/mattpocock-skills.json. -# Credit, licences and every local difference: NOTICE and docs/vendored-skills.md. +# show-me by HumanLayer (MIT), vendored at a pinned commit and recorded in +# vendor/humanlayer-show-me.json. Credit, licences and local differences: +# NOTICE and docs/vendored-skills.md. # Upstream's code-review is installed as pocock-code-review because the # playbook kit ships a different skill named code-review into the same # directory. @@ -38,7 +40,7 @@ name: personal displayName: Personal kit description: > The author's personal layer for coding agents in the sandbox: the Paseo - First Mate skill and a vendored copy of Matt Pocock's engineering skills, + First Mate skill plus pinned vendored skills from Matt Pocock and HumanLayer, dropped into ~/.agents/skills, plus a startup step that installs pinned Paseo plugins into the Paseo daemon when the paseo kit is also applied. Opt-in mixin; egress to github.com and registry.npmjs.org only; no ports. @@ -89,7 +91,15 @@ files: - path: /home/agent/.agents/licenses/humanlayer-skills-LICENSE mode: "0644" source: files/home/.agents/licenses/humanlayer-skills-LICENSE - description: MIT notice for HumanLayer's show-me skill, adapted inside the pr skill + description: MIT notice for HumanLayer's vendored show-me skill and adapted pr content + - path: /home/agent/.agents/skills/show-me/SKILL.md + mode: "0644" + source: files/home/.agents/skills/show-me/SKILL.md + description: HumanLayer show-me visual communication skill at its reviewed pin + - path: /home/agent/.agents/skills/show-me/agents/openai.yaml + mode: "0644" + source: files/home/.agents/skills/show-me/agents/openai.yaml + description: OpenAI invocation policy for the vendored show-me skill - path: /home/agent/paseo-plugins-install.sh mode: "0755" source: files/home/paseo-plugins-install.sh diff --git a/personal/vendor/humanlayer-show-me.json b/personal/vendor/humanlayer-show-me.json new file mode 100644 index 0000000..72bda6c --- /dev/null +++ b/personal/vendor/humanlayer-show-me.json @@ -0,0 +1,16 @@ +{ + "attribution": { + "author": "Dex Horthy / HumanLayer", + "copyright": "Copyright (c) 2026 HumanLayer", + "licenseFile": "files/home/.agents/licenses/humanlayer-skills-LICENSE", + "notice": "NOTICE", + "source": "https://github.com/humanlayer/skills" + }, + "files": { + "files/home/.agents/skills/show-me/SKILL.md": "434a2346cc95e313b0d367d477dda2e23ba642dd2181757415a09500664af100", + "files/home/.agents/skills/show-me/agents/openai.yaml": "a1499d95abd8447558c535fe5554adcc3c9b988a0a39264a6283d430effe1e94" + }, + "licenseSha256": "5f13c18ea00ea5c1384f41745feeca774079164f7f59a92e4ac0899ad217b26f", + "ref": "4d69d20f6e9b57b4fcf0d501ccfb1be961f0f329", + "skillPath": "plugins/show-me/skills/show-me" +}