Sync registry

From indigoai-us/hq-core · View interactive version

Sync registry is an AI agent skill from the GitHub repository indigoai-us/hq-core. Rebuild a company resource registry index.

How to use this skill

Skill file

/sync-registry

Regenerate a company's resource-registry index (registry.yaml) from its resources/*.yaml files.

Usage

/sync-registry [company-slug] — slug optional; falls back to cwd / handoff context when omitted.

Workflow

COMPANY="${1:-$(jq -r '.active.slug // empty' workspace/threads/handoff.json 2>/dev/null)}"
[ -z "$COMPANY" ] && echo "no company resolved" && exit 1
cd "companies/$COMPANY/registry" && bash scripts/generate-index.sh

Writes the regenerated registry.yaml and exits. See companies/{co}/registry/scripts/generate-index.sh for the index shape.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.