一键导入
ai-memory-setup
Detect, resolve, and manage the Alex_ACT_Memory shared memory bus. Fires on bootstrap, session start (announcements), and feedback writes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Detect, resolve, and manage the Alex_ACT_Memory shared memory bus. Fires on bootstrap, session start (announcements), and feedback writes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create agents that pass agent-review's six gates by construction — role capture, distinct-from-skill check, tool allowlist minimization, draft against gates, dogfood self-review. Use when authoring a new agent, refactoring an existing one, or promoting a Mall agent into the heir's brain.
Audits a candidate agent (.agent.md) against five gates (spec compliance, content quality, scope fit, safety, currency & coherence) plus Gate 6 (tool allowlist minimality). Use when reviewing a new agent draft before commit, evaluating a Mall agent or store agent for adoption, or re-auditing existing agents on a periodic cadence.
Generate on-brand Alex — ACT Edition SVG banners for documents (READMEs, plans, notes, release artifacts)
Prevent fabricated facts, invented APIs, and citation confabulation at the point of generation. Use when generating factual claims, code examples, API references, library names, configuration values, error messages, or citations — anything where 'sounds plausible' is not the same as 'is real'.
Perform a local brain audit for ACT Edition (and Supervisor) using deterministic QA plus targeted file review, then produce severity-ranked fixes. Pairs with extension-audit on the sibling surface side; the Marketplace surface routes there, not here.
Systematic code review for correctness, security, and growth — not just style enforcement
| name | ai-memory-setup |
| description | Detect, resolve, and manage the Alex_ACT_Memory shared memory bus. Fires on bootstrap, session start (announcements), and feedback writes. |
| lastReviewed | "2026-05-28T00:00:00.000Z" |
Alex_ACT_Memory is a shared git repo (sibling clone at ../Alex_ACT_Memory) where ACT heirs exchange feedback, announcements, knowledge, and profile data. This skill covers resolution, bootstrapping, and ongoing read/write operations.
The _registry.cjs script resolves the memory bus in this order:
../Alex_ACT_Memory/.git is present → use it, pull updates (best-effort)git cloneResolution always succeeds (scaffold is the floor). Heirs never need to configure cloud drives or pin paths.
../Alex_ACT_Memory/
README.md
announcements/ # Fleet-wide release notes and guidance
README.md
feedback/ # Heir friction reports
README.md
knowledge/ # Shared knowledge packages
index.json
README.md
profile/ # Per-user profiles
default/README.md
<username>/user-profile.json
insights/ # Analytical insights
docs/
MIGRATION.md # OneDrive → git migration guide
On every session start, resolve the memory bus via resolveMemoryBus(repoRoot). If found:
announcements/ for unread filesIf resolution fails completely (should not happen — scaffold is the floor): note silently, do not prompt.
Handled automatically by bootstrap-heir.cjs. The script calls resolveMemoryBus(targetAbs) which clones or scaffolds as needed. No user interaction required.
To manually resolve:
node .github/scripts/_registry.cjs --resolve .
When the heir observes friction worth surfacing:
feedback/YYYY-MM-DD-<heir-id>-<short-slug>.mdcross-project-isolation.instructions.mdOn session start (triggered by greeting-checkin.instructions.md):
announcements/ (skip README.md)User profiles live at profile/<username>/user-profile.json. Read via readProfile(memoryRoot), write via writeProfile(memoryRoot, profile).
_registry.cjs)| Function | Purpose |
|---|---|
resolveMemoryBus(repoRoot?) | Returns { root, level, message } — always succeeds |
scaffoldMemoryRepo(memoryPath) | Creates minimal folder structure + git init |
readProfile(memoryRoot) | Returns user profile object or null |
writeProfile(memoryRoot, profile) | Writes profile + best-effort commit/push |
node .github/scripts/_registry.cjs --resolve [dir] # Resolve memory bus
node .github/scripts/_registry.cjs --profile [dir] # Read user profile
Users upgrading from Edition <3.0.0 need a one-time migration:
Alex_ACT_Memory as a sibling: git clone https://github.com/fabioc-aloha/Alex_ACT_Memory.git ../Alex_ACT_Memory<cloud-drive>/AI-Memory/ to the new repoai_memory_root and ai_memory_exclude from cognitive-config.json../Alex_ACT_Memory/docs/MIGRATION.md| Anti-pattern | Correction |
|---|---|
| Hardcoding an absolute path to memory | Use resolveMemoryBus() — it handles all three states |
| Writing feedback without stripping project context | Always apply cross-project-isolation before writing |
| Reading feedback as a heir | Feedback is for the Supervisor; heirs read announcements only |
Calling scaffoldMemoryRepo directly | Use resolveMemoryBus() which handles the full fallback chain |
| Expecting OneDrive/iCloud/Dropbox discovery | Removed in Edition 3.0.0; memory bus is git-only now |
scaffoldMemoryRepo produces repos that can't later accept a remote and sync_registry.cjs exports change and this skill references obsolete functions