用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fabioc-aloha/Alex_Plug_In --skill global-knowledge命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
Create and maintain ASCII visual dashboards for project tracking with parallel lane progress bars
Store and manage voice samples for TTS cloning — portable, version-controlled audio references
Clear documentation through visual excellence
正在显示 SKILL.md
| name | global-knowledge |
| description | Cross-project knowledge search, pattern recognition, and insight management via unified AI-Memory |
| tier | standard |
| applyTo | **/*knowledge*,**/*insight*,**/*ai-memory*,**/*pattern* |
Your past solved problems, accessible from any AI surface.
Global knowledge lives in a single shared file: AI-Memory/global-knowledge.md
This replaces the previous GitHub-based system (~/.alex/global-knowledge/, GK-/GI- files, index.json). The AI-Memory folder is accessible across all surfaces:
~/.alex/AI-Memory/ when OneDrive is unavailable| File | Purpose |
|---|---|
profile.md | User identity, preferences, expertise |
notes.md | Session notes, reminders, observations |
learning-goals.md | Active/completed goals with progress tracking |
global-knowledge.md | Cross-project insights, patterns, and learnings |
Templates: platforms/m365-shared/onedrive-templates/AI-Memory/
Always search global-knowledge.md before creating new skills, instructions, or prompts. This prevents duplicate work and ensures institutional knowledge is reused.
AI-Memory/global-knowledge.md for existing content.github/skills/ (the answer may already be a skill)/memories/) for VS Code-specific notes| Result | Action |
|---|---|
| Exact match | Adopt directly; don't recreate |
| Similar match | Adapt as starting point |
| No match | Create new, then add to global-knowledge.md |
This check is mandatory before skill creation (Phase 1 of skill-building procedure).
Insights are organized by category with a consistent format:
### [Topic Title]
- **Source**: [Project or context where learned]
- **Insight**: [The key learning]
- **Date**: [When captured]
Categories emerge organically: PowerShell Patterns, Azure Patterns, Frontend Patterns, AI Image Generation, Design Patterns, Workflow Patterns, etc.
| Content | Example |
|---|---|
| Cross-project patterns | "SWA EasyAuth handles login; domain gating via fetch" |
| Hard-won gotchas | "PowerShell -replace corrupts multi-byte content" |
| Architecture decisions | "Cosmos liveness probes cause container kill loops" |
| Integration patterns | "MS Graph MCP: call suggest_queries first" |
| Tool-specific learnings | "Flux 1.1 Pro max width 1440px" |
| Content | Where It Belongs |
|---|---|
| Personal preferences | AI-Memory/profile.md |
| Session reminders | AI-Memory/notes.md |
| Learning goals | AI-Memory/learning-goals.md |
| Project-specific config | Project's own .github/ or docs |
| Temporary workarounds | Project notes (will become stale) |
Alex uses three complementary memory systems:
Shared across all AI surfaces via cloud storage sync. Use for:
GitHub-cloud-synced notes for VS Code workflows. Use for:
Project-specific cognitive architecture. Use for:
| Data Type | AI-Memory | /memories/ | .github/ |
|---|---|---|---|
| Name, role, identity | user-profile.json | ||
| Formality, detail level, humor | user-profile.json | ||
| Learning style, explanation style | user-profile.json | ||
| Technologies, expertise areas | user-profile.json | ||
| Writing style rules (em dash ban) | /memories/ | ||
| Tool workarounds (npm, CLI) | /memories/ | ||
| Mermaid palette, diagram prefs | /memories/ | ||
| Cross-workspace access (MS Graph) | /memories/ | ||
| Cross-project insight | global-knowledge.md | ||
| Learning goals with progress | learning-goals.md | ||
| Session notes | notes.md | ||
| Project persona (detected) | project-persona.json | ||
| Project architecture | .github/skills/ | ||
| Meditation output | .github/episodic/ |
AI-Memory/user-profile.json is the source of truth for user identity and preferences. Copilot Memory (/memories/) supplements with VS Code-specific workflow tips. They do not overlap.
| Rule | Rationale |
|---|---|
| Never store name, role, or identity in /memories/ | AI-Memory owns identity |
| Never store formality, detailLevel, explanationStyle in /memories/ | AI-Memory owns structured preferences |
| Never store technologies or expertise in /memories/ | AI-Memory owns the profile |
| VS Code workflow tips (em dash ban, palette, CLI workarounds) go in /memories/ only | These are terse, actionable, VS Code-specific |
| If a preference exists in BOTH systems, AI-Memory wins | Single source of truth |
User learns something
Is it about who they are? -> AI-Memory/user-profile.json
Is it a cross-project pattern? -> AI-Memory/global-knowledge.md
Is it a VS Code workflow tip? -> /memories/ (terse, 3-workspace test)
Is it project-specific? -> .github/skills/ or .github/episodic/
No duplication: Each piece of information lives in ONE system.
During a session, when you learn something cross-project:
%OneDrive%/AI-Memory/global-knowledge.md (synced locally)Or say "consolidate" to trigger the cognitive protocols consolidation workflow, which prompts you to capture insights.
When a project-specific learning proves cross-project:
| Pattern | Description |
|---|---|
| Cross-project applicability | Would 3+ other projects benefit? |
| Resolution pattern | Solved problem with concrete solution |
| Hard-won gotchas | Prevents repeat mistakes |
| Architecture with rationale | ADR-style decisions with "why" |
| Integration patterns | How systems connect |
| Signal | Why Skip |
|---|---|
| Project-specific config | Only works in one context |
| Temporary workarounds | Will be obsolete |
| Personal preferences | Goes in profile.md |
| Incomplete/draft content | Needs validation |
The previous system used ~/.alex/global-knowledge/ with GK-/GI- files and index.json. All valuable content has been migrated to AI-Memory/global-knowledge.md. The legacy system is deprecated:
| Legacy | Replacement |
|---|---|
~/.alex/global-knowledge/ | OneDrive/AI-Memory/ |
patterns/GK-*.md | Categories in global-knowledge.md |
insights/GI-*.md | Entries in global-knowledge.md |
index.json | Not needed (single file, searchable) |
Alex-Global-Knowledge GitHub repo | OneDrive sync (automatic) |
skill-registry.json | Master Alex .github/skills/ is canonical |
$patterns = (Get-ChildItem patterns\GK-*.md).Count
$insights = (Get-ChildItem insights\GI-*.md).Count
Automated sync during dream/meditation cycles: check for uncommitted changes, pull latest, regenerate KNOWLEDGE-INDEX.md, report sync status.
Discover and pull new skills from GK via skills/skill-registry.json. Commands: /knowledge checkskills (discover), /knowledge pullskill <id> (pull on demand).
✅ sync-index.ps1 reports 0 orphaned, 0 unindexed
✅ Heir contributions documented as insights (if any)
✅ Counts in copilot-instructions.md match disk
✅ git status clean (or changes committed)