name: openclaw-knowledge-coach description: Build and operate an OpenClaw-based local knowledge assistant that imports personal/local documents into a knowledge base and creates practice exercises during import. Use when users ask to set up OpenClaw knowledge workflows, ingest local notes/files, structure chunks and tags, or generate retrieval practice (quiz, flashcards, recall prompts) to master stored knowledge.
Create a local knowledge workflow in OpenClaw where importing knowledge also produces practice material for retention. OpenPraxis is on PyPI: use pip install openpraxis to get the praxis CLI.
Use OpenPraxis CLI as the default execution path.
Install from PyPI (recommended):
pip install openpraxis
praxis --help
Or install from source for development:
git clone https://github.com/Sibo-Zhao/OpenPraxis.git
cd OpenPraxis
pip install -e ".[dev]"
praxis --help
Configure provider/model/API key before ingestion/practice:
praxis llm setup
praxis llm show
Use environment variables when needed (higher priority than config file):
export OPENAI_API_KEY="your_key_here"
# or ARK_API_KEY / MOONSHOT_API_KEY / DEEPSEEK_API_KEY based on provider
Confirm whether to preserve existing metadata (tags, dates, project names).
Define import contract
doc_id, title, source_path, tags, created_at, and content.Split long content into chunks with stable IDs such as doc_id#chunk-001.
Import into OpenClaw
Keep a deterministic mapping between source file and imported IDs for later updates.
Generate exercises at import time
free-recall: ask the user to explain from memory.qa: ask direct question-answer pairs.application: ask scenario-based transfer questions.Save answer keys and concise grading rubrics.
Build review queue
Schedule spaced review windows (for example: day 1, day 3, day 7, day 14).
Validate quality
doc_id and chunk_id.Run this sequence when the user asks to import local knowledge and create practice:
praxis add "/absolute/path/to/note.md" --type report
input_idpraxis list --limit 20
praxis practice <input_id>
praxis answer <scene_id> --file "/absolute/path/to/answer.md"
praxis show <input_id>
praxis insight <input_id>
praxis export --format md --output "/absolute/path/to/insights.md"
praxis export --format json --output "/absolute/path/to/insights.json"
praxis add for import and initial exercise generation.praxis practice and praxis answer.praxis answer --file instead of interactive stdin in automation flows.praxis add ... --force when user wants reprocessing.praxis --provider openai --model gpt-4.1-mini add "/absolute/path/to/note.md"
praxis add; OCR extraction is built in.praxis show plus praxis insight or praxis export so user gets concrete output artifacts.When executing tasks with this skill, always provide these outputs:
source -> doc_id -> chunk_id -> exercise_id.Use this compact JSON-like structure per exercise:
{
"exercise_id": "ex-...",
"doc_id": "...",
"chunk_id": "...",
"type": "free-recall | qa | application",
"question": "...",
"answer_key": "...",
"rubric": ["point 1", "point 2"],
"difficulty": "easy | medium | hard",
"next_review": "YYYY-MM-DD"
}
For more generation patterns, read references/exercise-patterns.md.
这个 Skill 质量中等偏上。它将知识存储和复习练习结合起来的设计思路不错,文档层次分明,命令说明也比较详细。但它依赖一个叫 OpenPraxis 的外部工具,且没有明确说明这个工具怎么安装、有什么限制,使用时可能遇到问题。另外文档缺少实用例子和错误处理指南,新手上手可能有难度。如果你需要管理本地文档并生成练习,它的核心理念可行,但需要一定的技术基础来填补文档未覆盖的部分。