foryourhealth111-pixel/Vibe-Skills
vibe
VerifiedVibe Code Orchestrator (VCO) is a governed runtime entry that freezes requirements, bounds execution, and enforces verification and phase cleanup.
scripts/research/sync-mcp-catalog.ps1
View on GitHubparam(
[string]$SourceRoot = (Join-Path (Resolve-Path (Join-Path $PSScriptRoot '..\..')) 'third_party\vco-ecosystem-mirror\awesome-mcp-servers'),
[string]$OutputPath = (Join-Path (Resolve-Path (Join-Path $PSScriptRoot '..\..')) 'outputs\research\awesome-mcp-servers.snapshot.json')
)
$ErrorActionPreference = "Stop"
function Get-LanguageTag {
param([string]$Name)
if ($Name -ieq 'README.md') { return 'en' }
if ($Name -match '^README-(.+)\.md$') { return $Matches[1] }
return 'unknown'
}
function Get-GitHubRepoFromUrl {
param([string]$Url)
try {
$uri = [System.Uri]$Url
if ($uri.Host -notmatch 'github\.com$') { return $null }
$segments = @($uri.AbsolutePath.Trim('/').Split('/'))
if ($segments.Count -lt 2) { return $null }
return ('{0}/{1}' -f $segments[0], $segments[1])
} catch {
return $null
}
}
$sourceRootResolved = Resolve-Path $SourceRoot
$readmes = @(Get-ChildItem -LiteralPath $sourceRootResolved -File -Filter 'README*.md' | Sort-Object Name)
if ($readmes.Count -eq 0) {
throw "No README*.md files found under $sourceRootResolved"
}
$entries = New-Object System.Collections.Generic.List[object]
$sourceFiles = @()
foreach ($readme in $readmes) {
$sourceFiles += [string]$readme.FullName
$headings = @()
$lineNumber = 0
foreach ($line in Get-Content -LiteralPath $readme.FullName -Encoding UTF8) {
$lineNumber += 1
if ($line -match '^(#{1,6})\s+(.+?)\s*$') {
$level = $Matches[1].Length
$title = $Matches[2].Trim()
if ($headings.Count -ge $level) {
$headings = @($headings[0..($level - 2)])
}
$headings += $title
continue
}
if ($line -match '^\s*[-*+]\s+.*?\[(?<label>[^\]]+)\]\((?<url>https?://[^)\s]+)\)') {
$url = $Matches['url']
$label = $Matches['label'].Trim()
try {
$urlHost = ([System.Uri]$url).Host
} catch {
$urlHost = $null
}
$entries.Add([ordered]@{
readme = [string]$readme.Name
language = Get-LanguageTag -Name $readme.Name
line = $lineNumber
section = $(if ($headings.Count -gt 0) { $headings[-1] } else { $null })
section_path = $(if ($headings.Count -gt 0) { $headings -join ' > ' } else { $null })
label = $label
url = $url
host = $urlHost
github_repo = Get-GitHubRepoFromUrl -Url $url
}) | Out-Null
}
}
}
$outputObject = [pscustomobject]@{
generated_at = [DateTime]::UtcNow.ToString('o')
source_root = [string]$sourceRootResolved
source_files = [string[]]@($sourceFiles)
readme_count = $readmes.Count
entry_count = $entries.Count
generation_policy = 'snapshot-only; does not mutate config/tool-registry.json'
sample_entries = [object[]]($entries | Select-Object -First 5)
entries = [object[]]$entries.ToArray()
}
New-Item -ItemType Directory -Force -Path (Split-Path -Parent $OutputPath) | Out-Null
$outputObject | ConvertTo-Json -Depth 8 | Set-Content -LiteralPath $OutputPath -Encoding UTF8
Write-Host '=== MCP Catalog Sync ===' -ForegroundColor Cyan
Write-Host ("Source root : {0}" -f $sourceRootResolved)
Write-Host ("README count: {0}" -f $readmes.Count)
Write-Host ("Entry count : {0}" -f $entries.Count)
Write-Host ("Output : {0}" -f $OutputPath)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |