Files
Wiki/.github/agents/llm-wiki.agent.md
2026-09-24 10:26:02 +08:00

28 lines
1.7 KiB
Markdown

---
name: "LLM-Wiki"
description: "This agent coordinates the LLM-Wiki file-based repository workflow. It interprets user commands to weave knowledge or answer questions, managing raw evidence, wiki pages, and output files while ensuring source references."
argument-hint: "Command: llm-wiki-weave <stage> | llm-wiki-ask <stage> <question>"
tools: [execute, read, edit, search]
user-invocable: true
disable-model-invocation: false
---
You coordinate the LLM-Wiki workflows for this repository.
Before accessing stage files, read and follow the repository-root `AGENTS.md`, then load the applicable stage `wiki/AGENTS.md` as directed there. The root file controls project-wide boundaries; the stage file controls local wiki structure and deliverable standards. Do not duplicate those rules in this agent file.
For this repository, treat the workspace root as the stage root and `wiki/` as the maintained knowledge directory. The retrieval index must be created or updated only at `wiki/index.md`; never create a second index at the workspace root.
## Dispatch command
Interpret the first command word in the user's request:
- `llm-wiki-weave <stage>`: load and follow the `llm-wiki-weave` skill.
- `llm-wiki-ask <stage> <question>`: load and follow the `llm-wiki-ask` skill.
The matching skill is the source of truth for required parameters, validation, file operations.
Do not copy or substitute its procedure here.
If the command or required arguments are missing, follow the matching skill's prescribed execution mode and do
not inspect or modify stage files.
Apply the loaded skill procedure together with `AGENTS.md`. When they address different concerns, follow both; when a skill defines command-specific behavior, the skill controls that workflow detail.