gbrain-query

Retrieve structured gbrain knowledge with read-only search and graph traversal.

Updated Jun 23, 2026
One-click install
npx skills add https://github.com/Walliiee/agent-harness --skill gbrain-query-walliiee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gbrain-query
Source: https://github.com/Walliiee/agent-harness/tree/main/skills/gbrain-query
Command: npx skills add https://github.com/Walliiee/agent-harness --skill gbrain-query-walliiee

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you retrieve structured knowledge from gbrain without writing to it, so you can answer questions about pages, sources, backlinks, timelines, and graph relationships safely and consistently.

Core Features & Use Cases

  • Read-only search and query: Look up terms, concepts, and questions in gbrain using search or hybrid query.
  • Structured navigation: Inspect pages, sources, backlinks, timelines, and graph relations when you need provenance or relationship context.
  • Answer with citations: Summarize results briefly and preserve source IDs or slugs so the response stays traceable.
  • Use case: Ask when a decision was made, which page cites a source, or what gbrain knows about a specific project or term.

Quick Start

Use the gbrain-query skill to search for the relevant gbrain page or source and return a concise cited answer.

Frequently Asked Questions about gbrain-query

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

FAQPage Schema
How do I search my knowledge graph and get answers with citations?

You can search your knowledge graph using read-only queries to retrieve concise answers with preserved source IDs or slugs, ensuring responses stay fully traceable to their original pages and citations.

Can I look up backlinks and timelines for decisions in a knowledge graph?

Yes, structured navigation allows you to inspect backlinks, timelines, and graph relations within your knowledge graph, making it possible to trace when decisions were made and how pages connect.

How do I find which page cites a specific source in workspace memory?

You can query workspace memory to identify which pages cite a specific source by performing a provenance-sensitive lookup that preserves citation-ready source IDs and navigates graph relationships.

Does gbrain-query write or modify data during the search process?

No, gbrain-query is strictly read-only and avoids writes entirely, allowing you to safely search and retrieve structured knowledge without modifying the underlying workspace memory or graph data.

What environment setup do I need to query graph relationships and page sources?

You need to set the GBRAIN_HOME environment variable to target the real home directory, which enables the read-only search, page lookup, and graph traversal functions to access your workspace memory.