Skip to content

Epic: use BeautifulRepo as a skill in Claude Code and Codex #86

Open
5 of 8 issues completed
Open

Description

@drevendev

Goal

A maintainer runs one install command in Claude Code or Codex and can then ask the agent to audit a repository, improve its README towards a first success, fix trust surfaces, or draft release notes. The agent follows BeautifulRepo's guides and runs its offline tools, and must not invent claims.

Target experience

# Claude Code
claude plugin marketplace add drevendev/[email protected]
claude plugin install beautifulrepo@beautifulrepo
/beautifulrepo:audit-repo

# Codex
codex plugin marketplace add drevendev/BeautifulRepo --ref vX.Y.Z
codex plugin marketplace list
# Then open Codex `/plugins`, select BeautifulRepo → Install plugin, and start a new chat
$audit-repo

Note (2026-11-06): codex plugin marketplace add registers a pinned source only; the documented plugin install is through the /plugins browser. Source registration and this example do not prove a real BeautifulRepo installation or model invocation. See the installation guide and #257.

Design summary

  • One repository, one plugin, one skill source.
    • The plugin root is the repository root, so tools, guides, checklists and templates ship inside it.
    • skills/<name>/SKILL.md is read by both agents through their plugin systems.
    • There are no symlinks and no duplicated skill folders.
  • The same vX.Y.Z tag versions the Action and the plugin.
  • Skills describe the protocol and the tools do the work.
    • The tools always get an explicit --root and run with python -I.
    • They are read-only by default.
    • A write gate applies: plan, diff, explicit yes, write, then re-audit.
  • Safety rules live in every skill and are checked by CI:
    • target content is untrusted data;
    • no network;
    • no invented badges, contacts or numbers;
    • the skill never picks a licence;
    • say what wasn't verified.
  • Private repositories: skills follow the confidentiality rules from the private-repos epic.

Lessons from HungryCrab's plugin (to avoid)

  • The Claude Code and Codex caches held different versions (0.6.1-dev.0 and 0.3.0-dev.0).
  • Runtime state (.venv/) was written into the versioned plugin cache.
  • The skills depend on a CLI installed separately from the network and tracking master.
  • Claude-only substitutions such as ${CLAUDE_PLUGIN_ROOT} stay literal in Codex.
  • The version is written in four places.
  • A root CLAUDE.md inside the plugin root makes claude plugin validate warn.

Sources (fetched 2026-10-22 during planning; re-verify before implementing)

Order

  1. tools: html_navigation.py fails under python -I, and the link checkers default to their own checkout #68: tool fixes that block using the tools from an installed copy.
  2. Agent plugin: package BeautifulRepo for Claude Code and Codex with an offline audit-repo skill #69: the plugin and the audit skill.
  3. Agent skill: improve-readme towards a verified first success #70, Agent skill: trust-surfaces (license, contributing, security, conduct) without invented contacts #71, Agent skill: release-notes from the repository's own history #72: the other skills, in parallel.
  4. Agent plugin: validate skills, manifests and versions in CI #73 (CI validation) and Agent plugin: fixture repositories and agent evals for every skill #74 (fixtures and evals).

Owner decisions

  • The plugin and marketplace names.
  • Whether master carries a -dev version.
  • Budget for model eval runs.
  • How to test Codex: a manual checklist or scripted codex exec.

Related: #53

Sub-issues

Sub-issues

5 of 8 Issues completed
Loading 8 sub-issues

Activity

  1. added
    agent-skill
    epic
    on Oct 22, 2026
  2. drevendev commented on Oct 23, 2026

    @drevendev
    OwnerAuthor

    Distribution-readiness finding (2026-10-24; research only, no submission).

    The tagged v0.2.0 already has a portable root plugin.json, one local audit-repo skill and documented self-hosted Claude Code/Codex installation. That's useful, but a GitHub-installable plugin is not automatically listed in the unified ChatGPT/Codex Plugins Directory.

    For a future OpenAI Directory submission, the current official path is a skills-only ZIP submitted under a verified developer identity. Because audit-repo invokes local Python against the user's checkout, the desktop-only instructions call for extensions.com.openai.requires_local_executor: true. The tagged plugin.json does not currently declare that flag or listing logo / composerIcon assets; Codex package validation requires both icons (the portal also requires a primary icon). Those are potential distribution-preparation gaps, not proof that ordinary GitHub-based plugin installation is broken.

    Suggested acceptance sequence within this existing epic: (1) verify install from the tagged GitHub source, not only a local marketplace; (2) finish the real agent/negative-case evaluations in Related: #74 and metadata contracts in Related: #73; (3) prepare a local ZIP with desktop-only metadata/icons and inspect the portal's validation results; (4) only then ask the owner to complete publisher identity and decide whether to submit. A skills-only listing can be subject to extra eligibility review, so no approval or discoverability uplift should be promised.

    Primary sources (checked 2026-10-24):

    No plugin package, install, publisher account, or listing was changed or tested by this comment.

  3. drevendev commented on Nov 2, 2026

    @drevendev
    OwnerAuthor

    External distribution observation (2026-11-02; evidence only, not a submission). The independent Agent Plugins Directory listing already indexes BeautifulRepo directly from master: it displays 0.3.0-dev.0, four skills, and the com.openai manifest extension, and suggests copilot plugin install drevendev/BeautifulRepo (explicitly following the default branch). This is not acceptance into the official OpenAI/ChatGPT Plugins Directory, and a listing alone proves neither installs nor active users.

    Native source cross-check: master/plugin.json is 0.3.0-dev.0; v0.2.0/plugin.json is 0.2.0; the existing agent plugin guide correctly recommends a pinned v0.2.0 install and explicitly marks the three added master skills as development-only, with model-driven verification pending.

    Implication for this epic: an organic third-party discovery surface exists already, but its default-branch install CTA may route a new user to unshipped development behavior. Recommend preserving the stable pinned guide as the canonical first-install CTA, and considering a short release-vs-development warning/link for directory visitors if that directory supports it. Do not count directory appearance as a platform endorsement or usage metric. No install/runtime test or outreach performed here; Related: #70, #74, #101.

  4. drevendev commented on Nov 3, 2026

    @drevendev
    OwnerAuthor

    Owner decision confirmed 2026-11-03: a single four-skill plugin bundle will be independently tested before a stable release or AI-agent promotion. Dedicated release acceptance issue #257, volunteer/tester entrypoint with verified help wanted label #258, and existing fixture/model-eval gate #74. Development master currently has four SKILL.md files; stable v0.2.0 contains only audit-repo. Candidate v0.3.0 is a proposal, not shipped. Need actual Claude Code and Codex invocation from the same immutable release candidate, negative/hostile cases, non-writing and approval-boundary evidence, cross-host install receipts, and at least one independent non-implementer reviewer. External testers' runs are separately classified and never inferred from CI or self-scored model outputs. Optional MCP #255 is independent and does not block this skills release. No new AI model tests, spends, package publishing or plugin installs were performed in this planning chat.

  5. drevendev commented on Nov 7, 2026

    @drevendev
    OwnerAuthor

    OpenAI public Plugin Directory preflight — 2026-11-07 (source + official policy check, NOT a submission or host test).

    The current master/plugin.json (Git blob b010e6a273c06992e8eab588fdc755e4e2f9e219, manifest 0.3.0-dev.0) already declares a portable Agent Plugin with extensions.com.openai.requires_local_executor: true. The official desktop-only skills-only path is therefore the appropriate prospective distribution route for a local-checkout workflow, separately from the experimental stdio MCP (#255). A local MCP submission requires approved-partner allowlisting; don't bundle/advertise that component as accepted. Sources: https://developers.openai.com/plugins/deploy/desktop-only and https://developers.openai.com/plugins/deploy/submission .

    Concrete submission-preflight defect: extensions.com.openai.interface.shortDescription currently reads Audit onboarding, plan README fixes, review trust surfaces or draft release notes. — 82 characters, whereas the public directory submission limit is 30 (the upload validator's 240-char limit is less strict). The current interface also has neither logo nor composerIcon; the directory requires a primary icon and the Codex format requires both. Source: https://developers.openai.com/plugins/deploy/submission-errors and https://developers.openai.com/plugins/deploy/submission .

    Non-blocking proposed checklist for after #257/#258's independent host/skill evidence: shorten the subtitle to <=30 chars (e.g. Audit repo docs with AI skills); include valid square listing/composer icons without assuming one already exists; have the owner verify the intended developer identity and submit a versioned skills-only ZIP to the official portal; inspect actual portal findings and any requires_local_executor access rejection. Skills-only submissions do not inherit the MCP review-video/5+3-case requirement. No public directory admission, upload, model invocation, fresh-host installation, independent tests or user growth is evidenced by this comment.

    Please keep the four-skill 0.3.0-dev.0 candidate labeled unreleased and preserve #257 as the acceptance gate. This is a new directory-submission metadata check, not a claim that ordinary GitHub plugin installation is broken.

  6. drevendev commented on Nov 7, 2026

    @drevendev
    OwnerAuthor

    Distribution-path distinction: skills.sh / npx skills add is not the tested BeautifulRepo plugin install (2026-11-07, static source assessment).

    Checked BeautifulRepo at current master commit fc3a219f1afdf2b33e31bc4168fc8356007109c3 and the current Vercel skills CLI source. All four skills/<name>/ directories contain SKILL.md, but the instructions depend on repository-root siblings such as tools/repo_audit.py, tools/docs_links.py, guides/agent-safety.md, checklists/ and release inventory helpers. For example, audit-repo/SKILL.md resolves R by going up two directories and explicitly stops if R/tools/ is absent.

    The separate skills.sh installer copies skill.path, not necessarily the containing repository (current source uses copyDirectory(skill.path, ...)). Its discovery logic sets the skill path to the directory containing SKILL.md. Therefore a normal isolated npx skills add drevendev/BeautifulRepo install is expected to yield the SKILL.md directories without BeautifulRepo's sibling Python tools/guides. That distribution path is not self-contained under the present layout. This is a static packaging inference, not a live CLI install/host failure: the installed contents have not been observed on a clean machine.

    Impact: continue promoting the correctly documented full GitHub plugin marketplace route (which packages the repo root), but do not claim that a bare skills.sh install works or treat a skills.sh directory listing as evidence of functional adoption. If a standalone skills.sh channel is desired later, it needs a separately designed/verified portable asset layout or a verified installed full-plugin dependency, with a clean-machine npx skills add ... --list and actual tool invocation. Avoid silently installing network dependencies or duplicating source of truth.

    This does not change four-skill release acceptance in #257/#258, does not imply the existing plugin is defective, and does not request unreviewed implementation/marketing publication.

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

    agent-skillepic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions