Repository navigation
Description
I’m using Graphify 0.9.65 with OpenCode and an existing graph. I cannot determine which query workflow an agent is supposed to follow because its instructions point in different directions:
- The generated
AGENTS.mdguidance and the skill’s fast path say to rungraphify query "<question>"directly. - The skill’s
references/query.mdsays vocabulary expansion is required before traversal, then instructs the agent to query with the expanded terms. LoadingSKILL.mdlists this reference but does not load its contents. I tested the ordinary skill workflow with both Qwen 3.8 and Claude Sonnet 5; neither agent loaded the query reference on its own. I had to explicitly tell an agent to read it. - The reference regenerates
graphify-out/.vocab.txtby reading all ofgraph.jsonas part of each query. The vocabulary is derived from node labels, so it should change only when the graph changes; selecting terms from it is the per-question step. On my ~670 MB graph, this makes every query repeat a large read and vocabulary build. I could find no CLI/MCP code that uses.vocab.txtor generates it during graph build/update. Is this file meant to be a persistent, graph-versioned artifact? If not, why must it be regenerated for every query, and how should agents tell whether an existing copy is current? - The reference says to read
LESSONS.mdat the start and begin with preferred sources, but does not explain how those sources affect query selection. - The reference describes CLI commands; the MCP server instead exposes
query_graphand related tools, without vocabulary,reflect, orsave-resulttools. The skill does not say whether an agent should combine MCP calls with CLI steps or choose one interface.
This leaves an agent choosing between its AGENTS.md instructions, the main skill, a reference it does not reliably read, and the MCP tool schema. The website’s direct natural-language query examples add to the uncertainty. The query reference itself says the CLI has no stemming or synonyms; without its vocabulary procedure, ordinary natural-language wording that differs from graph labels can miss the relevant nodes. I do not yet know whether following the procedure consistently produces accurate results either. Could you explain what retrieval quality users should expect in both cases, and how to verify that a query started from the right nodes?
What is the intended flow for an agent answering a question against an existing graph? Please specify the order of skill/reference loading, vocabulary expansion, lessons, query, source checking, and feedback. In particular, where and how should lessons learned influence future queries? Are they intended to affect seed selection automatically, or must the agent apply them manually? Is the Graphify MCP server currently supported by this skill’s query workflow? If so, how should an MCP-based agent perform the CLI-only steps? If not, should the skill explicitly direct agents to use the CLI?
The separate OpenCode /graphify slash-command issue is already tracked in #2709.
Activity
docs: make query workflow rule consistent and describe matching accur…
docs: describe query fallback accurately and align merged-graph query…
docs: align remaining query rules and describe match tiers accurately
docs: make aider/devin query note follow the vocabulary/lessons rule …
docs: prefer exact-ID start nodes over exact-label hits in sample que…
docs: prefer exact node ID in inline query fallback and regenerate sk…
docs: make the agent query workflow consistent and prefer exact node IDs