← Back to PRs

#3642: Add repository metadata field for skill transparency

by ADITYABHURAN open 2026-01-28 23:55 View on GitHub →
app: web-ui cli agents
Hey! This PR adds support for a repository field in skill metadata, making it easier for users to trace skills back to their source code. ## What's Changed - Added repository field to skill metadata types - Parse repository URL from skill frontmatter - Display repository link in the web UI (with a nice GitHub icon) - Include repository in CLI output (moltbot skills list --json and moltbot skills info) - Added unit tests for the new parsing ## Why Per #3532, users should be able to see where a skill comes from before installing it. This helps with: - Auditing what code you're running - Checking if a skill is actively maintained - Contributing back to skill repos ## Scope Note This PR covers the **client-side** changes. The ClawdHub registry and CLI are separate packages, so displaying repository in search results/install prompts would need changes there too. <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR extends skill metadata to include a `repository` URL and threads it through the agent status report, CLI output (`skills list --json` and `skills info`), and the web UI. The status builder now prefers `metadata.repository` and falls back to frontmatter keys (`repository`/`repo`), and the UI renders a “Source” link with a GitHub icon when present. <h3>Confidence Score: 3/5</h3> - Not safe to merge as-is due to a failing test/import mismatch. - Main feature wiring (status/CLI/UI) is straightforward, but the new unit test references a resolver that does not exist in the skills frontmatter module, which should break CI. No other definite runtime issues were found in the reviewed changes. - src/agents/skills/frontmatter.test.ts, src/agents/skills/frontmatter.ts <!-- greptile_other_comments_section --> **Context used:** - Context from `dashboard` - CLAUDE.md ([source](https://app.greptile.com/review/custom-context?memory=fd949e91-5c3a-4ab5-90a1-cbe184fd6ce8)) - Context from `dashboard` - AGENTS.md ([source](https://app.greptile.com/review/custom-context?memory=0d0c8278-ef8e-4d6c-ab21-f5527e322f13)) <!-- /greptile_comment -->

Most Similar PRs