.agents/skills/company-creator/references/from-repo-guide.md
When a user provides a git repo (URL, local path, or tweet linking to a repo), analyze it and create a company package that wraps its content.
git clone for URLs, read directly for local pathsMany repos already contain skills (SKILL.md files). When you find them:
Default behavior: use references, not copies.
Instead of copying skill content into your company package, create a source reference:
metadata:
sources:
- kind: github-file
repo: owner/repo
path: path/to/SKILL.md
commit: <get the current HEAD commit SHA>
attribution: <repo owner or org name>
license: <from repo's LICENSE file>
usage: referenced
To get the commit SHA:
git ls-remote https://github.com/owner/repo HEAD
Only vendor (copy) skills when:
If the repo has agent configs (CLAUDE.md, .claude/ directories, codex configs, etc.):
When a repo contains only skills and no agents:
Example: A repo with code-review, testing, and deployment skills might become: