feat(page-ai): add skill context and agent profile policy

This commit is contained in:
lix-2026
2026-05-29 21:57:29 +08:00
parent 631205ba2f
commit 49a0545148
18 changed files with 3478 additions and 259 deletions
+10
View File
@@ -0,0 +1,10 @@
# MNote current page
Use this skill only when the user asks about the current MNote page or explicitly says to use the current page.
Rules:
- Do not read the current page for greetings, acknowledgements, or generic chat.
- First call `mnote.context.snapshot` or `mnote.context.resolve_target` when you need target metadata.
- Call `mnote.context.read_current_page` only when page content is actually needed.
- Treat the returned Markdown as local-first page truth for this run.
- If the page is dirty or in conflict, report that instead of silently overwriting it.