Skip to main content

Managing Sources

Sources are repositories hosting prompt bundles.

Automatic Source Setup

On first launch, AI Primitives Hub automatically adds the Awesome Copilot source (github/awesome-copilot). This gives you immediate access to community-curated collections without manual configuration.

If you select a hub during first-run setup, all sources defined in that hub are also automatically synced.

Source Types

TypeUse CaseStatus
awesome-copilotCommunity collections (GitHub-hosted)Active
local-awesome-copilotLocal collection development/testingActive
githubGitHub repository releasesActive ( Recommended )
localFile system directoriesActive
apmAPM package repositoriesActive
local-apmLocal APM packagesActive
skillsGitHub repository with skillsActive
local-skillsLocal filesystem skills directoryActive

Adding a Source

Ctrl+Shift+P → "AI Primitives Hub: Add Source"

Managing Sources

In Registry Explorer:

  • Sync — Right-click → Sync Source
  • Edit — Right-click → Edit Source
  • Toggle — Right-click → Toggle Enabled/Disabled
  • Remove — Right-click → Remove Source
  • Open Repository — Right-click → Open Repository

Command Palette:

  • Sync All SourcesCtrl+Shift+P → "AI Primitives Hub: Sync All Sources"

Skill Update Detection

  • Remote skills (anthropic/skills): each skill version is derived from a content hash. If any file in the skill directory (including assets/, references/, etc.) changes, the Marketplace shows Update after you sync the source.
  • Local skills (local-skills): installations are symlinked to your filesystem. Running Sync Source updates the recorded version automatically—no manual update button—so the UI reflects the latest hash without touching the symlink.

Tip: if a skill doesnt show the expected update, run Sync Source and check the logs for hash calculation warnings.

Private Repositories

Authentication tries in order:

  1. VS Code GitHub Auth — Check bottom-left for GitHub avatar
  2. GitHub CLI — Run gh auth login
  3. Explicit Token — Add when editing source (needs repo scope)

Verify: Ctrl+Shift+P → "AI Primitives Hub: Validate Repository Access"

See Also