compliant-position

Run gbrain search before external web_search for compliant retrieval ordering.

1|Updated May 9, 2026
One-click install
npx skills add https://github.com/weiping/gbrain-cn --skill compliant-position
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compliant-position
Source: https://github.com/weiping/gbrain-cn/tree/main/test/fixtures/brain-first-skills/compliant-position
Command: npx skills add https://github.com/weiping/gbrain-cn --skill compliant-position

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents premature external lookups by ensuring the agent consults existing brain knowledge before reaching out to the web, improving citation consistency and compliance with expected call ordering.

Core Features & Use Cases

  • Brain-first retrieval: Runs a gbrain search for a topic before any external web_search is performed, enforcing position-relative compliance.
  • Adaptive fallback: Uses external lookup only when the brain answer is thin, so you get freshness without wasting calls.
  • Use Case: When answering questions about an organization, product, or person, start with your internal brain pages to provide grounded answers and only supplement externally if needed.

Quick Start

Ask your agent to look up a topic and require that gbrain search runs before any external web_search.

Frequently Asked Questions about compliant-position

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce internal knowledge retrieval before external web search in my agent workflow?

To enforce internal knowledge retrieval before external web search, configure your agent to run a gbrain search for any topic before initiating a web_search. This ensures the agent checks existing brain pages first, maintaining compliant retrieval ordering and consistent citations.

What is brain-first retrieval compliance for citation ordering?

Brain-first retrieval compliance for citation ordering requires an agent to consult internal gbrain pages before looking outward to external web sources. This approach grounds answers in established organizational knowledge and prevents premature external lookups.

How do I configure an adaptive fallback to external web search when internal brain answers are thin?

You can configure an adaptive fallback by instructing your agent workflow to evaluate the sufficiency of the initial gbrain search results. If the internal brain answer is thin, the agent then conditionally triggers an external web_search to supplement with fresh information.

Why does my agent perform external web searches before checking internal brain pages?

Your agent performs external web searches before checking internal brain pages due to a lack of enforced position-relative compliance in the workflow. Applying a brain-first retrieval rule ensures gbrain search runs before any external web_search to fix this call ordering issue.

Do I need specific dependencies to maintain compliant retrieval ordering in agent workflows?

No specific dependencies are required to maintain compliant retrieval ordering in agent workflows. The behavior enforces first-brain-reference-before-first-external-reference logic natively by applying the gbrain search rule before external web_search calls.