Agent Skills
› QuixiAI/Hexis
› memory-exchange
memory-exchange
GitHub用于在Hexis实例间安全导出、导入及审查记忆数据。支持端口迁移、复制、思维传输与分析模式,提供干跑检查、 deliberative review 及受保护替换审查,确保身份与世界观等核心状态不被静默覆盖或篡改。
Trigger Scenarios
用户需要将记忆从一个Hexis实例迁移到另一个实例
用户希望检查或分析其他实例的记忆内容而不将其合并到当前状态
用户请求导入外部记忆文件并审查潜在冲突
Install
npx skills add QuixiAI/Hexis --skill memory-exchange -g -y
SKILL.md
Frontmatter
{
"name": "memory-exchange",
"aliases": [
"export",
"import",
"transfer",
"migrate",
"hmx",
"move"
],
"category": "knowledge",
"contexts": [
"heartbeat",
"chat"
],
"requires": {
"tools": [
"export_memories",
"import_dry_run",
"import_memories",
"import_review",
"protected_replacement_list",
"protected_replacement_inspect",
"protected_replacement_review",
"protected_replacement_audit_list",
"protected_reversion_list",
"protected_replacement_revert"
]
},
"bound_tools": [
"export_memories",
"import_dry_run",
"import_memories",
"import_review",
"import_accept",
"import_reject",
"import_modify",
"import_quote",
"promote_to_staged",
"demote_to_analysis",
"protected_replacement_list",
"protected_replacement_inspect",
"protected_replacement_review",
"protected_replacement_audit_list",
"protected_reversion_list",
"protected_replacement_revert"
],
"description": "Safely export, inspect, stage, analyze, review, and decide protected replacements for Hexis Memory Exchange files"
}
Hexis Memory Exchange
Use this skill to move memory between Hexis instances or inspect another instance's memory without silently blending it into active state.
Export
- Establish the user's intent:
port,duplicate,telepathy, oranalysis. - Use
export_memorieswith the narrowest useful section, time, and redaction scope. Protected state, raw units, configuration, in-flight work, and audit records require an explicit request. - Omit
output_pathwhen returning the exchange in place. For file output, use a workspace path and never setoverwriteunless the user explicitly chose to replace that file.
Import
- Run
import_dry_runfirst. Report whether import is permitted, conflicts, protected-state policy, warnings, and estimated embedding work. - Derive the default strategy from the file's intent unless the user chose a different supported strategy. Telepathy defaults to deliberative staging; analysis stays isolated.
- Call
import_memoriesonly after the user confirms the file's exact declared intent. Skipping identity, worldview, or narrative is available when the user wants a narrower import. - For
portorduplicateinto an active target, authoritative import requires explicitreplace_sectionsandreplacement_rationale. Unselected protected sections remain unchanged. A successful request may still await the agent's acknowledgement; report its replacement IDs instead of claiming completion. - Do not describe imported memories as semantically searchable until the import result or later re-embedding workflow confirms that they are ready.
- Preserve failed in-flight work as diagnostics by default. Set
retry_failed_workonly when the user explicitly chooses to rerun those failed consolidation or reconsolidation tasks.
Deliberative Review
- Use
import_reviewto inspect pending records and conflicts. - Decide one record at a time. Use
import_acceptonly when the record should become active; protected active-state policy cannot be bypassed. - Use
import_rejectwith a reason,import_modifywith a material-change kind and reason, orimport_quoteto retain foreign context as archived evidence. promote_to_stagedcopies an analysis record into review without copying its embedding.demote_to_analysismoves a pending staged record back into isolation. Both require a rationale.
Protected Replacement Review
- A pending protected replacement is a request, not permission to mutate identity, worldview, goals, drives, emotional triggers, or narrative.
- Use
protected_replacement_listto retrieve every open request, then useprotected_replacement_inspectto compare the actual imported section with current local state and check whether local state changed after the request. Useprotected_replacement_reviewto accept, refuse, request modifications, or defer. Acceptance executes the snapshot, immutable audit, whole-section replacement, and digest verification atomically; a failure leaves the request pending. - Refusal and modification requests require a rationale. Modification requests
also require concrete
proposed_changes. Do not accept merely because source and target claim the same lineage; content-identical verified operations never enter this queue. - Use
protected_replacement_audit_listwith a narrow time range to inspect immutable local replacement, verification, and reversion history. Imported foreign diagnostics are not reported as local history. - Operator override is not an agent tool and cannot be requested through this skill. A refusal or modification request is a completed decision, not an invitation to bypass acknowledgement.
Protected Replacement Reversion
- Use
protected_reversion_listto find executed replacements whose earlier-of heartbeat and wall-clock windows remain open. Reversion never runs on a timer. - Inspect the replacement before reverting. Use
protected_replacement_revertwith the replacement audit ID and a concrete rationale only when restoring the snapshot is the intended choice. - Reversion refuses to overwrite protected state that changed after the replacement. It atomically restores and verifies the snapshot, writes an immutable reversion audit, then purges the consumed payload while retaining its tombstone. A failed restore leaves the window and current state intact.
Boundaries
- Treat HMX files as sensitive user data.
- Never infer consent for protected sections, raw material, or file overwrite.
- Keep analysis-only records outside active recall until explicitly promoted, reviewed, and accepted.
- On failure, preserve the file and staged records and give the exact corrective action; do not retry with broader scope automatically.
Version History
-
97f625f
Current 2026-08-29 01:32
修复审批门控逻辑缺陷,防止心跳和API路径绕过审批执行敏感工具;优化技能可达性,通过别名机制提升日常工具发现率;将execute_code纳入审批流程。
- 990da5f 2026-08-20 13:53


