Skill: Export-Context
Purpose
Collects and packages all AI-related "Long-Term Memory" (rules, skills, blueprints) into a single portable zip file for context hydration in new sessions.
Logic
- •Target Identification: Identify the
moqui-aicomponent and any user-specified custom components (e.g.,huddle). - •Directory Scan: - Locate all
.agent/directories within the target components.- •Filter for
rules/,skills/, andblueprints/.
- •Filter for
- •Exclusion Filter: Ignore all non-agent artifacts (
.xml,.groovy,.java,build/,node_modules/). - •Execution:
- •Execute a shell command (via MCP) to
zipthe selected directories. - •Name the output:
[component]-ai-context-[timestamp].zip.
- •Execute a shell command (via MCP) to
- •Output: Provide the file path to the user for download/upload.