Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. Wraps the gstack-gbrain-sync orchestrator with state probing, native code-surface registration, capability checks, and a verdict block. Re-runnable, idempotent. Use when: "sync gbrain", "refresh gbrain", "re-index this repo", "gbrain search isn't finding things". (gstack)
Security
1 medium severity finding. This skill can be installed but you should review these findings before use.
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
Third-party content exposure detected (high risk: 0.90). This skill explicitly fetches and merges remote repo data (git fetch/merge in the ~/.gstack repo), reads a brain-remote URL (~/.gstack-brain-remote.txt) and runs the gbrain CLI (put/search/sources list) to read page_counts and search results, and then uses those remote/user-generated artifacts to decide whether to reindex, update CLAUDE.md, or change sync behavior—i.e., it ingests untrusted third-party repo/brain content that can materially influence subsequent actions.
db9447c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.