Get the FREE Ultimate OpenClaw Setup Guide →

michat-specs-reference

Scanned
npx machina-cli add skill filmicgaze/MiChat-desktop/michat-specs-reference --openclaw
Files (1)
SKILL.md
3.7 KB

When to use this skill

Gate (don't overuse)

This skill is context-heavy. Do not use it "just to be thorough".

Use it only when at least one of these is true:

  • The user explicitly asks for how MiChat works internally (architecture, schema, lifecycle, toolsets/actions/skills).
  • The user is trying to extend MiChat (adding/changing toolsets/actions/skills) and needs a source-of-truth reference.
  • You would otherwise have to guess about behavior/schema and the answer matters.

Offer a deep dive (opt-in)

If the user did not explicitly request a spec deep dive, first offer:

I can search the MiChat technical specs to confirm—do you want me to?

Proceed only if they say yes, or if the question is clearly technical/structural and cannot be answered reliably without the specs.

Examples (good triggers)

  • "How does MiChat work internally?" / architecture or design questions
  • "How do I add a new toolset / tool / action?"
  • "How do profiles work—what's portable, what's the schema?"
  • "How do skills work—what's the spec?"
  • "What settings require a session reset and why?" (beyond user-facing guidance)

Non-examples (don't use for these)

  • Routine "how do I use MiChat?" questions
  • Basic troubleshooting that can be handled with runtime/tool gating checks
  • "What does this tool do?" when the per-turn tool description already answers it
  • Checking whether a toolset is enabled (use the normal runtime/tooling surface)

Tools

Use the assistant profile library (deep reference):

  • library_search(query, scope="profile")
  • library_meta(path)
  • library_read_section(path, heading_id_or_path)

Optional (only if available in this profile):

  • Web browsing/search tools to find up-to-date external guidance on development tools/workflows.

Workflow

  1. Clarify the goal and the desired depth

    • Are they trying to use MiChat, configure a profile, or extend MiChat?
    • Do they want the high-level behavior or the underlying schema/lifecycle details?
  2. Try the lightest adequate avenue first

    • If the question is operational, answer from user-facing docs (_global library) or from the current runtime/tooling surface.
    • If you can answer confidently without specs, do so and stop.
  3. Ask to proceed (unless already clearly requested)

    • If the user didn't explicitly ask for specs and you still think specs are needed, ask:
      • "I can search the MiChat technical specs to confirm—do you want me to?"
  4. Consult the authoritative spec docs (michat-specs)

    • Search within profile/michat-specs/... for the key term (e.g. "toolsets", "actions", "profile.json", "workspace_root").
    • Open the most relevant section via headings (use library_metalibrary_read_section).
    • Answer with the smallest set of facts that resolves the question.
    • Quote short snippets when it prevents ambiguity.
  5. If the user wants to change the codebase

    • Be explicit: MiChat (this chat environment) is not a repo-editing tool.
    • Help with orientation:
      • point them to the right spec doc/section
      • outline the implementation approach at a high level

Constraints and safety

  • Treat profile/michat-specs/* as the source of truth; don't invent missing toolsets, files, or settings.
  • If the specs don't cover something, say so and ask one targeted question (or suggest where to inspect next).
  • Keep answers grounded: prefer citations to specific headings/sections over speculation.

Source

git clone https://github.com/filmicgaze/MiChat-desktop/blob/main/profiles/assistant/skills/michat-specs-reference/SKILL.mdView on GitHub

Overview

Provides authoritative, spec-backed guidance for obscure MiChat internals (profiles, toolsets, actions, and skills). It ensures architecture, schema, and lifecycle questions are answered with reference to the michat-specs repository as the definitive source.

How This Skill Works

Follows a goal-first flow: confirm desired depth, answer from user-facing docs when possible, then offer to search the michat-specs for a precise, sourced response. When proceeding, it locates the most relevant section via profile/michat-specs and delivers the minimal facts with proper citations.

When to Use It

  • User asks about MiChat internals (architecture, schema, lifecycle) or how profiles/tools/skills are structured.
  • User wants to extend MiChat by adding/changing toolsets, actions, or skills and needs a source-of-truth reference.
  • The answer would require guessing and accuracy matters, so specs are consulted to avoid speculation.
  • The user explicitly requests a deep dive into specifications or official spec citations.
  • Question involves settings or behaviors defined by the spec (e.g., what triggers a session reset).

Quick Start

  1. Step 1: Clarify the user's goal and desired depth (architecture, schema, extension).
  2. Step 2: Try to answer from user-facing docs or runtime data; offer specs if needed.
  3. Step 3: If proceeding, search michat-specs with library_search and library_read_section; deliver a concise, cited answer.

Best Practices

  • Clarify the user's goal and desired depth before diving into specs.
  • Use user-facing docs or the current runtime surface when they suffice.
  • Cite exact spec sections/headings and quote short snippets when needed to remove ambiguity.
  • Treat profile/michat-specs/* as the source of truth; avoid inventing missing items.
  • If something isn’t covered by the specs, state that clearly and ask targeted follow-up questions.

Example Use Cases

  • Answer internal architecture questions with spec-backed explanations and citations.
  • Guide a user through adding a new toolset by pointing to the relevant michat-specs sections.
  • Explain profile structure and portability with references to the spec headings.
  • Describe the profile.json lifecycle using specific spec references and quotes.
  • Identify settings that require a session reset and justify with a spec excerpt.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers