negation-prose

Search gbrain before external fallback for negation-prose compliance.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents agents from jumping to external web or fresh research before checking the brain’s existing knowledge, ensuring citations and context stay consistent.

Core Features & Use Cases

  • Brain-first compliance check: Always starts with gbrain search so existing context is resolved before any negation-based or “NOT from elsewhere” reasoning.
  • Correct fallback behavior: Uses an external fallback (e.g., perplexity) only after confirming the brain search returned empty.
  • Body-order robustness: Validates that a reference appearing earlier in the response body is treated as compliant even when negation-prose appears afterward.

Quick Start

Use the skill to answer a research request by first searching the brain and only falling back to an external source if the brain has no relevant results.

Frequently Asked Questions about negation-prose

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

FAQPage Schema
How do I ensure a research workflow checks brain context before external web search?

To ensure a research workflow checks brain context first, configure the agent to start with gbrain search before any negation reasoning. This enforces brain-reference-first behavior, preventing external web search until existing knowledge is confirmed empty.

What happens when gbrain search returns empty results during agent retrieval?

When gbrain search returns empty results, the workflow applies a fallback strategy by triggering a fresh retrieval model like perplexity. This ensures the agent can still fetch external data only after internal brain context is fully exhausted.

How does body-order compliance checking work with negation prose?

Body-order compliance checking validates that a reference appearing earlier in the response body is treated as compliant even when negation prose appears afterward. This position-relative logic ensures citations preceding negation statements resolve correctly.

Why does my agent skip existing knowledge and jump to external web search?

An agent skips existing knowledge and jumps to web search because it lacks a brain-first compliance check. By starting with gbrain search, the workflow forces the agent to resolve existing context before attempting any external research fallback.

Can I use perplexity as a fallback without checking brain context first?

You cannot use perplexity as a fallback without checking brain context first. The workflow requires confirming gbrain search returned empty before optionally falling back to a fresh retrieval model, maintaining citation compliance.