The PowerShell, POSIX shell, and batch entry points install a repository-native collaboration and learning framework without replacing repository-specific instructions.
flowchart LR
D[Download pinned source] --> P[Select profile]
P --> C[Install common agentic flow]
C --> L[Install learning profile]
L --> S[Install managed skills]
S --> X[Initialize ignored .local]
X --> R[Integrate or preserve root AGENTS]
- common
agentic-flow/; - common
agentic-workflowandlearn-anythingskills unless skipped; - the selected minimal or full
learning-flow/profile and its managed skills; - an ignored repository-root
.local/learning workspace; - optional root
AGENTS.mdintegration.
The local workspace contains learning-history.md, sessions/, and follow-ups/. Setup appends /.local/ to .gitignore when no equivalent rule exists, creates missing surfaces, and never overwrites existing local history.
Important
update owns framework files listed in managed manifests. Repository-authored maps, takeaways, settings, local history, and unrelated skills remain outside destructive refresh behavior.
| Profile | Default | Intended use |
|---|---|---|
minimal |
yes | daily work and compact learning support |
full |
no | deliberate onboarding and focused repository-learning skills |
Minimal can upgrade to full in update mode. Full-to-minimal update is rejected because automatic deletion could remove repository-authored content.
| Mode | Behavior |
|---|---|
fail |
stop on existing managed framework content or skills |
merge |
add missing content and preserve existing files |
update |
refresh managed files and skills, remove retired managed files, preserve user-owned state |
replace |
reinstall framework directories and managed skills, preserve unrelated skills |
--root-agents auto|integrate|initialize|preserve|skip
-RootAgents Auto|Integrate|Initialize|Preserve|Skip
auto: ask interactively; otherwise preserve an existing root file or initialize the lean root when none exists;integrate: append the idempotent managed pointer, or create the lean root when missing;initialize: create the lean root when missing and otherwise append only the pointer;preserve: leave root instructions untouched and record integration as pending;skip: leave root instructions untouched and record explicit-only use.
--skip-root-agents and -SkipRootAgents remain compatibility aliases for skip.
flowchart TB
A{Root AGENTS exists?}
A -->|yes| B{Requested mode}
A -->|no| C{Requested mode}
B -->|integrate or initialize| D[Append managed pointer once]
B -->|preserve or skip| E[Leave file untouched]
C -->|integrate or initialize or auto| F[Create lean root]
C -->|preserve or skip| G[Leave absent]
The installer never replaces an existing root file wholesale.
Compatibility and migration notes
--skip-skillsor-SkipSkillsinstalls the Markdown-only fallback.- Old contributor placeholders retired by a managed manifest can be removed during update.
- Contributor-authored legacy learning state is never deleted automatically. Copy it into
.local/, verify it, then remove the tracked source explicitly. - Repeated local workspace initialization is idempotent.
- Team installations should pin a tag or commit rather than relying on a moving branch.