You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opencode install missing /graphify skill trigger instruction in AGENTS.md #827
graphify opencode install writes AGENTS.md with rules about reading GRAPH_REPORT.md and using graphify query, but omits the critical /graphify skill trigger instruction. This means typing /graphify in OpenCode does nothing — the skill is never loaded.
What graphify opencode install currently writes
## graphify
This project has a knowledge graph at graphify-out/ with god nodes, community structure, and cross-file relationships.
Rules:
- ALWAYS read graphify-out/GRAPH_REPORT.md before reading any source files, running grep/glob searches, or answering codebase questions. The graph is your primary map of the codebase.
- IF graphify-out/wiki/index.md EXISTS, navigate it instead of reading raw files
- For cross-module "how does X relate to Y" questions, prefer `graphify query "<question>"`, `graphify path "<A>" "<B>"`, or `graphify explain "<concept>"` over grep — these traverse the graph's EXTRACTED + INFERRED edges instead of scanning files
- After modifying code, run `graphify update .` to keep the graph current (AST-only, no API cost).
What it should also write
-**When the user types `/graphify`, invoke the Skill tool with `skill: "graphify"` before doing anything else.** This loads the full graphify pipeline instructions from `~/.config/opencode/skills/graphify/SKILL.md`.
Why this matters
OpenCode and Claude Code have different skill triggering mechanisms:
Platform
Mechanism
What graphify install does
Claude Code
PreToolUse hook in settings.json
✅ Intercepts Glob/Grep calls, auto-triggers skill
OpenCode
AGENTS.md only (no PreToolUse hook for skills)
❌ Missing trigger instruction
The tool.execute.before plugin (graphify.js) only injects a bash echo reminder — it does not trigger the skill. Without the explicit trigger instruction in AGENTS.md, the agent has no way to know that /graphify should invoke the skill tool.
Fix
Add the trigger instruction to the AGENTS.md template in the opencode install command, matching the same pattern already used in claude install (which writes a similar trigger to CLAUDE.md).
Fixed in v0.7.16 — the /graphify skill trigger instruction is now included in _AGENTS_MD_SECTION, affecting all 7 AGENTS.md platforms. Run graphify opencode install (or your platform's install command) to pick up the updated AGENTS.md.
Activity
fix #832 #831 #828 #826 #827: encoding, uv fallback, path scoring, ca…
safishamsi commentedon May 12, 2026
Fixed in v0.7.16 — the
/graphifyskill trigger instruction is now included in_AGENTS_MD_SECTION, affecting all 7 AGENTS.md platforms. Rungraphify opencode install(or your platform's install command) to pick up the updated AGENTS.md.fix Graphify-Labs#832 Graphify-Labs#831 Graphify-Labs#828 Graphify-La…
fix Graphify-Labs#832 Graphify-Labs#831 Graphify-Labs#828 Graphify-La…