[GH-ISSUE #7375] Professor Mari: built-in skill library with on-demand retrieval #4110

Closed
opened 2026-10-21 06:10:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ATreemanDork on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7375

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Professor Mari's Home workspace prompt currently carries verbose how-to guidance — command-family reference, guided sequences, lorebook/preset authoring guides — inline on every turn, and the model has no structured way to be handed task-specific instructions.

Proposed: Ship a built-in skill library:

  • 16 built-in skill documents covering the task catalog (docs, files, commands, deps, chats, characters, lorebooks, presets, themes)
  • Compact always-in-context <skill_library> index (one line per skill)
  • New skill workspace tool: fetch full skill content by id, on demand
  • Built-in skills are user-editable in the Skills panel; Restore Default reverts to the shipped text
  • Leaner system prompt: compact <tool_inventory> replaces the multi-line command-families block; <pacing> block replaces MARI_GUIDED_SEQUENCES; lorebook/preset authoring guides move into task skills
  • All behavioral rules (read-back, apply semantics, decision authoring, MAX_COMMAND_ROUNDS) unchanged

Part of the Mari tool/skill work following the tool-registry refactor (issue #7367 / PR #7366).

Acceptance criteria

  • 16 built-in skills listed in the Skills panel with a "Built-in" badge
  • Editing a built-in persists it; "Restore Default" reverts to shipped text
  • User-authored skills remain unaffected (payloads byte-identical, no builtin key)
  • System prompt contains the compact <tool_inventory> (16 tools) and <pacing> block
  • Protocol prompt documents the skill tool schema
  • pnpm regression:prompt passes
Originally created by @ATreemanDork on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7375 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Professor Mari's Home workspace prompt currently carries verbose how-to guidance — command-family reference, guided sequences, lorebook/preset authoring guides — inline on every turn, and the model has no structured way to be handed task-specific instructions. **Proposed:** Ship a built-in skill library: - 16 built-in skill documents covering the task catalog (docs, files, commands, deps, chats, characters, lorebooks, presets, themes) - Compact always-in-context `<skill_library>` index (one line per skill) - New `skill` workspace tool: fetch full skill content by id, on demand - Built-in skills are user-editable in the Skills panel; **Restore Default** reverts to the shipped text - Leaner system prompt: compact `<tool_inventory>` replaces the multi-line command-families block; `<pacing>` block replaces `MARI_GUIDED_SEQUENCES`; lorebook/preset authoring guides move into task skills - All behavioral rules (read-back, apply semantics, decision authoring, MAX_COMMAND_ROUNDS) unchanged Part of the Mari tool/skill work following the tool-registry refactor (issue #7367 / PR #7366). ## Acceptance criteria - 16 built-in skills listed in the Skills panel with a "Built-in" badge - Editing a built-in persists it; "Restore Default" reverts to shipped text - User-authored skills remain unaffected (payloads byte-identical, no `builtin` key) - System prompt contains the compact `<tool_inventory>` (16 tools) and `<pacing>` block - Protocol prompt documents the `skill` tool schema - `pnpm regression:prompt` passes
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Closing along with #7376. On-demand skills already exist on staging as app_data skill.list / skill.get (#7312). Any follow-up should start here with agreement on the design before code.

<!-- gh-comment-id:6107209982 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Closing along with #7376. On-demand skills already exist on staging as `app_data` `skill.list` / `skill.get` (#7312). Any follow-up should start here with agreement on the design before code.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4110
No description provided.