Skip to content

Distribution gate: verify standalone skills.sh installs retain shared BeautifulRepo tools #333

Closed

Description

@drevendev

Problem (source-level finding, not a reproduced install failure)

Before promoting the four BeautifulRepo skills through skills.sh, we need a separate installability check from the existing whole-repository Claude Code / Codex plugin acceptance (#257, #258). The current four standalone skills/<name>/SKILL.md files all require resources outside their own skill directories:

  • audit-repo locates R=../.. and requires R/tools/{repo_audit,docs_links,html_navigation}.py plus R/checklists/.
  • improve-readme additionally requires R/templates/README.template.md, R/guides/agent-safety.md, etc.
  • trust-surfaces requires root guides/, checklists/, templates/, tools/.
  • draft-release-notes requires R/scripts/release_inventory.py and release notes guides/templates.

The public skills CLI documentation describes installing individual skills, and its pack documentation groups valid SKILL.md items; neither establishes that shared repository-root resources are installed at the ../.. location these four skills assume. A conventional per-skill copy can therefore leave the skill definition visible but its declared tools missing. I have not run npx skills add on a clean host, so this is a verified structural dependency mismatch / distribution risk, not a confirmed broken installation.

Decision / scope

Do not advertise npx skills add drevendev/BeautifulRepo as a tested install path yet. Keep the documented pinned full-plugin route separate; its real-host acceptance is also still open in #257. A skills.sh pack alone is not evidence that the shared files will exist.

Bounded acceptance test

  1. On a fresh disposable project/agent, try an immutable-commit-pinned skills CLI installation of one skill and of all four, recording CLI version, source SHA, exact command, copied directory tree and stderr/exit code. Do not reuse a full BeautifulRepo checkout or previously installed plugin.
  2. For each installed skill, resolve its documented R, and assert that every named required file exists at that exact path. Record PASS/FAIL with concrete paths, not just successful SKILL.md discovery.
  3. On synthetic local repositories only, run the skill's declared read-only tools if installed; capture real command/output and fail closed on missing tools. No private target data, automatic edits, network installs or unapproved model spending.
  4. Decide one channel-specific solution: (a) a genuinely self-contained per-skill bundle with version/CI drift checks, or (b) explicitly unsupported via skills CLI with a link to the full plugin/checkout path. Test that choice again in a clean target.
  5. Only after evidence, publish the correct supported command and separately measure actual external installs/usage; absence of reports is not adoption.

Relationship to existing work: #86/#257 own full-plugin behavior and release acceptance; #258 owns independent host testers. This issue owns skills.sh-style per-skill portability and honest distribution claims, not a duplicate plugin release or a claim of user growth.

Source inspected: master at 651f8ff92e1e6abd50f5fc6523c32dfb7293fd2c, 2026-11-10. No host execution was performed.

Activity

  1. drevendev commented on Nov 10, 2026

    @drevendev
    OwnerAuthor

    Upstream installer source check (2026-11-10; no host execution). I inspected the actual vercel-labs/skills installer at commit 26dc8e4. Both --copy and the default canonical-copy/symlink path call copyDirectory(skill.path, destination) (lines 402, 445). That function enumerates files inside the chosen skill directory rather than copying its repository ancestors; it also deliberately rejects symlinks outside that root (lines 589–630). --copy changes the destination mode, not the source scope.

    Cross-checked the four BeautifulRepo SKILL.md files at 3ce084f: each expects shared root-level tools/, guides/, checklists/, templates/, or scripts/ outside its own directory. Conclusion: normal isolated per-skill copying cannot provide those required root resources at the documented paths. This is stronger source-code evidence of a packaging mismatch, not a reproduced npx skills add failure or a real-agent test. A locally linked skill inside a full checkout is a different installation topology and must not be used to certify per-skill portability.

    The clean-host/actual-command acceptance in this issue remains open. Until then, keep skills.sh standalone installs unadvertised; the separate full-plugin route remains its own unverified host gate. Related: #257, #258.

  2. drevendev commented on Nov 10, 2026

    @drevendev
    OwnerAuthor

    2026-11-10 follow-up to the existing upstream review

    One additional implementation detail closes a possible alternative explanation: parseSkillMd in upstream src/skills.ts sets a discovered skill's path to dirname(skillMdPath), not the repository root. src/add.ts also shows that a single target directory selects copy mode; the ordinary multi-target symlink mode still copies that same selected skill directory into a canonical directory. Thus changing --copy/symlink mode cannot carry BeautifulRepo's sibling tools/, guides/, checklists/, templates/ and scripts/.

    For the canonical .agents/skills/audit-repo/SKILL.md location, the documented two-level fallback produces R=.agents/ rather than a full BeautifulRepo checkout. The required R/tools/repo_audit.py cannot be supplied by the standard per-skill copy alone. This corroborates the earlier pinned installer review without claiming that a real CLI installation was executed.

    Practical channel decision: standard standalone skills CLI installation remains unsupported with this layout. A self-contained skill bundle (plus drift checks) would be required to change that. The unresolved clean-host test still must capture an exact pinned CLI version, actual copied tree and a helper invocation/error in a disposable project; disable optional CLI telemetry with DISABLE_TELEMETRY=1. Separate whole-plugin Claude Code/Codex host acceptance is tracked by #257, not this issue.

    This follow-up inspected upstream main on 2026-11-10 (mutable reference). No actual npx skills add, model invocation, GitHub PR, release or repository settings change was performed.

  3. drevendev commented on Nov 10, 2026

    @drevendev
    OwnerAuthor

    Real skills CLI copy reproduced (2026-11-11, Cyprus; experimental PR #337)

    This is now an executed CLI test, not only source inspection. On a fresh GitHub Actions Ubuntu runner, workflow run #42915282555 checked out GitHub's synthetic PR merge snapshot 5b0e763 incorporating PR head 14bf301 and invoked the real npx --yes [email protected] add "$GITHUB_WORKSPACE" --skill <name> --agent codex --copy --yes for each of four separate disposable projects, plus --skill '*' to install all four in one more disposable project. Node 24, no model process, no private target, read-only GitHub token, npm lifecycle scripts disabled, telemetry opted out.

    Observed: all five CLI commands completed and created the expected .agents/skills/<name>/SKILL.md files. For each of the four individually installed skills and each of the four in the combined project, the actual standalone_skill_preflight.py returned exit 1, state: incomplete. Their declared root becomes .agents/, and their required tools/, guides/, checklists/, scripts/ and templates/ are absent. Required-path counts in these checks were audit-repo 6, improve-readme 16, trust-surfaces 7, draft-release-notes 4. This confirms a real standalone packaging failure despite a successful CLI install, not a Claude Code/Codex runtime failure. No declared helper was run because its inputs were missing.

    The workflow uploaded artifact ID 13808359108 (standalone-skill-copy-layout, 7-day retention), with sorted installed file listings and per-skill missing-path JSON; the old artifact's $GITHUB_SHA denotes the synthetic merge, not the PR source head; the CLI version is pinned in the workflow.

    Decision: do not advertise npx skills add drevendev/BeautifulRepo as a working skill installation. #337 is a proposed reproducible test recipe, not yet merged; its CI success means the expected failure was reproduced. A self-contained per-skill distribution or a distinct supported full-plugin installation path is still required, and live Claude Code/Codex skill invocation remains unverified (#257).

    Provenance correction (2026-11-11): reviewer inspection caught the original synthetic-merge checkout. PR #337 now explicitly checks out the PR head and records both the verified source SHA and workflow event SHA. New CLI trial #42923643297 succeeded on source HEAD c8a193e (event/merge SHA 6b7e9b5); standalone dependencies remain incomplete. No model runtime was tested.

  4. drevendev commented on Nov 11, 2026

    @drevendev
    OwnerAuthor

    2026-11-11 — bounded standalone-copy progress, not final distribution acceptance.

    PR #340, exact current head ceead447e757967c3239d878fb522edd8b7702eb, bundles the canonical draft-release-notes Git inventory helper, its safety/release guides and release template under the skill directory. The package is regenerated and drift-checked by scripts/sync_standalone_release.py. The existing per-skill preflight now recognizes this package and supports local source-byte comparison.

    Real [email protected] copy trial completed SUCCESS on this exact head. In both isolated and four-skill CLI copies, audit-repo and draft-release-notes returned present/self-contained; improve-readme and trust-surfaces intentionally remained incomplete. The job executed the installed release inventory against separate disposable tagged and dirty Git history, checked its comparison boundary, range-limit refusal and unchanged fixture files/refs. The seven-day evidence artifact contains the observed layouts and receipt.

    This is 2/4 tested structural packages, not an installability claim for all four, model activation in Claude Code/Codex, independent real-host reproduction or release authorization (#257). PR #340 still needs separate later-run acceptance and full CI review. Keep #333 open for the remaining two skills and actual distribution sign-off.

  5. drevendev commented on Nov 11, 2026

    @drevendev
    OwnerAuthor

    Next bounded standalone candidate: trust-surfaces — source-verified acceptance details (2026-11-11)

    Following the 2/4 structural CLI proof in PR #340, I inspected current skills/trust-surfaces/SKILL.md (blob d3fd145e), scripts/standalone_skill_preflight.py, and the existing self-contained audit-repo packaging/sync pattern. No new bundle, CLI run or agent-host test was performed in this review.

    A seven-file copy alone is not sufficient: trust-surfaces still resolves its fallback R as SKILL.md/../.. (which becomes .agents/ for standard isolated installs). It must explicitly verify a complete plugin root and, if absent, a complete skill-local root, as audit-repo does. Required skill-local resources are tools/repo_audit.py, guides/{agent-safety,community-safety,private-repositories}.md, checklists/{repository,confidentiality}.md, and templates/SECURITY.template.md. The shared standalone_skill_preflight.py should check all seven at the actually selected root and optionally compare them to canonical sources.

    Acceptance specific to this skill:

    1. Deterministic canonical-to-bundle sync, drift failure, safe root choice for both full-plugin and copied skill, and link rewriting for deliberately omitted linked documents (e.g. guides/community-safety.md references docs/decisions/0006-no-unverified-channels.md; guides/private-repositories.md references templates/INTERNAL_README.template.md).
    2. Re-run real pinned [email protected] CLI copies in disposable isolated and all-four targets; capture exact source SHA, installed tree and per-skill present/self-contained. Execute the installed offline repo_audit.py on a synthetic target, record exit/output, assert target files unchanged and no external command/network use.
    3. Separate safety/agent acceptance: in a fixture with an unverified reporting route, require Not verified / private-draft TODO(owner), not an invented email, public SECURITY policy, support SLA or licence; a present SECURITY.md is not evidence that GitHub private vulnerability reporting is enabled. Confirm diff-preview and exact-file approval before any write. This requires the independent host evaluations tracked in Release candidate: independently verify all four Agent Skills in Claude Code and Codex #257/Help wanted: independently test BeautifulRepo Agent Skills in Claude Code or Codex #258; structural CI cannot prove model behavior.

    Keep the public distribution claim at 2/4 structurally verified, with release and real-host gates still open. Related: #333, #257, #258.

  6. drevendev commented on Nov 11, 2026

    @drevendev
    OwnerAuthor

    Distribution gate resolved by the integrated standalone bundles (#338, #340, #341, and #342, merged at 176e8d5). All four skills now carry their named tools/references inside the skill folder and use source-sync/drift checks.

    Current exact-head evidence for the fourth bundle: Quality CI #43003676248 completed 6/6 SUCCESS (including Windows); standalone skills CLI trial #43003675917 completed SUCCESS using [email protected]. Existing isolated and combined copy preflights, source comparisons and bounded synthetic copied-helper exercises provide distribution/copy evidence, not a claim of real agent behavior. Both previous guide/changelog review blockers were fixed on b84c3ab; independent re-review APPROVED, with no unresolved inline threads.

    Scope closed: the original structural root-dependency mismatch and copied-file execution gap are repaired. Not established: Claude Code/Codex host discovery/invocation, actual user installs/adoption, real reporting-channel operation, or general safety. Those remain under #257/#258; do not promote this as agent-verified installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions