#3642: Add repository metadata field for skill transparency
app: web-ui
cli
agents
Cluster:
Skill Documentation and Enhancements
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
#15803: fix(skills/github): add GraphQL introspection guidance
by rixau · 2026-02-13
77.0%
#8873: fix: document skill loading locations in system prompt
by ytfh44 · 2026-02-04
76.3%
#5273: fix: skill frontmatter fixes + description improvements (35 skills)
by Terwox · 2026-01-31
76.1%
#19664: fix(skills): log skill YAML parsing diagnostics with skill name
by orchidsun · 2026-02-18
74.4%
#15115: fix: pre-load skill docs in cron sessions to prevent hallucinated syn…
by joaolcorreia · 2026-02-13
74.4%
#8075: fix(skills): add --ignore-scripts to all package managers
by yubrew · 2026-02-03
74.1%
#22410: docs: Add Agent Cloud Memory to community skills
by lilyjazz · 2026-02-21
73.3%
#9221: fix(skills): use skillKey for env config lookup in snapshots
by gavinbmoore · 2026-02-05
73.3%
#23371: chore: add agentlint/prguard/secretmap skills + gitignore restart.sh
by alexmelges · 2026-02-22
73.3%
#21308: feat(skills): add ClawTrust — reputation engine & gig marketplace f...
by clawtrustmolts · 2026-02-19
73.2%