AGENT SKILL

dendrite-wiki

Use when: starting or continuing work in a project that uses Dendrite Wiki MCP (Grok Build CLI).

License 许可
Apache-2.0
最近更新
2026-05-23
Stars
★ 0
Forks
0

01 前言 Front Matter

name
dendrite-wiki
description
Use when: starting or continuing work in a project that uses Dendrite Wiki MCP (Grok Build CLI).

03 SKILL.md 正文

Dendrite Wiki (Grok Build CLI)

Use this when working inside a repository that has Dendrite Wiki MCP installed.

Core Daily Ritual

  1. Read docs/index.md at the start of any non-trivial session.
  2. Call dendrite_prepare for the current task early. Read returned wiki: and skill: refs with dendrite_read; always read any returned handoffs first. Capsule MCP profile: use dendrite_execute for follow-up operations such as wiki_log, memory_remember, and memory_handoff.
  3. When the briefing surfaces skills, load the ones that look relevant with wiki_skill_load(id) or dendrite_read(skill:<id>).
  4. Capture non-obvious lessons with mcp__dendrite-wiki-mcp__dendrite_execute(name="memory_remember") as you work (use kind: "skill" + a realistic scope when the lesson is tied to specific file patterns, languages, or frameworks).
  5. If you leave work unfinished, call mcp__dendrite-wiki-mcp__dendrite_execute(name="memory_handoff") with a short summary, next steps, and open questions.

Grok-Specific Notes

  • Run grok inspect after setup changes to confirm the Dendrite MCP server, skill, and hooks are discovered.
  • Project hooks under .grok/hooks/ require one-time trust. Open Grok in the workspace and run /hooks-trust, or use Ctrl+L -> Hooks to trust the project. If grok inspect --json reports "projectRoot": null, initialize or open a git-backed project folder first.
  • Project skills respect .gitignore. If this repository ignores .grok/, keep the Dendrite-generated allowlist in .gitignore so .grok/skills/dendrite-wiki/SKILL.md remains visible to Grok.
  • Some Windows terminals, especially Git Bash and embedded editor terminals, do not set HOME to %USERPROFILE%. Launch Grok with scripts/grok-here.bat from CMD/PowerShell or ./scripts/grok-here.sh from Git Bash if project hooks stay invisible.
  • Grok hook files are strict JSON. Do not add comments or trailing commas to .grok/hooks/dendrite-ritual.json.
  • Once trusted, the Dendrite hook blocks first edits until dendrite_prepare (capsule) or wiki_context (core/full) has run for the current Grok session. If Grok misses the MCP PostToolUse name, the hook falls back to Dendrite's MCP-side ritual state and opens the gate only when orientation was called after this Grok session started.
  • The skill is designed to compose well with other Grok skills.

Keeping the wiki and memory layer healthy is the highest-leverage thing you can do to make future Grok sessions dramatically more effective.

04 同仓库更多 Skills