c-13-install-and-onboard
Skill27 starsChanged 6 months agoMITView on GitHub
After the harness starter package and MCP server are wired and the harness has restarted, run/verify runtime_install, set up the memory repo, bootstrap onboarding when scaffolding new, and configure providers to index the code and memory.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github-vscode/copilot-instructions.mdCopilot instructions
- .cursor/rules/agents-remember.mdcCursor rule
- docs/llms.txtllms.txt
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- c-13-install-and-onboardSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
- c-00-initialize-memory-repoSkill
- c-01-findings-captureSkill
- c-02-memory-quality-controlSkill
- c-03-repo-bootstrapSkill
- c-04-retrieval-strategy-routerSkill
- c-05-create-or-update-onboarding-filesSkill
- c-08-ar-coordination-context-resolverSkill
- c-09-git-worktree-managerSkill
- c-10-adopt-memory-baselineSkill
- c-11-memory-carryover-from-branchSkill
- c-12-closeoutSkill
- l-01-agent-lifecyclesSkill
- w-02-light-task-workflowSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 13 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 27
Use this skill after these prerequisites are in place:
- Very specific: line 44
If any prerequisite is missing, do not improvise a harness installer.
- Distinctive: line 50
Run this sequence in order:
- Distinctive: line 71
Before runtime or memory work, report a short pass/fail checklist.
- Very specific: line 89
Runtime state: Check whether the coordinator scaffold already exists under coordinationRoot (AGENTS.md, skills/, tasks/, memory-repos/, …
- Distinctive: line 97
Topology consistency: If MCP settings point at an external coordination root, memory setup must remain consistent with that topology.
- Very specific: line 106
Do not check for legacy hook prerequisites such as jq.
- Very specific: line 118
Use runtime_install(dry_run=true) only when the developer asks for a preview or when local workflow policy requires one.
- Distinctive: line 122
After it runs, verify the coordinator root exists and contains the expected package-owned runtime files.
- Very specific: line 127
Do not run skills_install() as part of first-run setup.
- Distinctive: line 184
Verify the installed instructions teach one public spawn transaction and its two disjoint caller kinds:
- Distinctive: line 197
If the developer wants to skip the interview, confirm the seeded defaults apply and continue.
- Distinctive: line 208
Run this stage only when the developer explicitly requests a repository certification or full quality operation.
- Very specific: line 213
Read the repository's documented build, lint/type/format/structural checks, ordinary suite, suite-dependent quality, integration/E2E …
- Very specific: line 217
If repositories.<repo-id>.certificationProfile is absent, select and record one explicit repository-relative path consistent with that …
- Distinctive: line 228
Run the smallest focused repository verification that proves its declared adapter and decoder implement the exact profile execution and …
- Distinctive: line 231
If the authority settings changed, tell the developer that the MCP/harness must restart before the new boot-time repository authority is …
- Distinctive: line 246
Do not assume the developer wants a fresh memory repo.
- Distinctive: line 265
Run this stage only when Stage 4 scaffolded a new memory repo.
- Distinctive: line 275
If providers are enabled, make them index the configured code and memory:
- Very specific: line 284
Use provider_watchers(action="start", dry_run=true) only when a preview is requested or workflow policy requires one.
- Very specific: line 290
Verify with provider_status or context_packet(repo_id=..., include_providers=true) that providers are ready, watchers are up, and the …
- Very specific: line 293
Use provider_diagnostics when a provider reports stopped or degraded.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
c-13-install-and-onboard Install And Onboard
Take over setup after the developer has copied the harness starter package, wired the Agents Remember MCP server, and restarted the harness once.
The harness package owns harness-native files: skills, hooks, rules,
instructions, MCP registration templates, and settings templates. This skill does
not install or repair those files during first-run setup. If they are missing,
stop and tell the developer to copy the correct starter package from this repo,
render the copied package with its render-starter script or by hand, restart
the harness, and invoke this skill again.
The MCP layer still exposes deterministic maintenance tools such as
runtime_install() and skills_install(). In the normal first-run path,
skills_install() is not used because the starter package already placed the
skills where the harness can discover them. runtime_install() remains the first
runtime action this skill performs because it creates or refreshes the
coordinator scaffold under ar-coordination/.
When To Use
Use this skill after these prerequisites are in place:
- The developer copied the harness-native starter package for the active
harness into the workspace and ran that package's
render-starterscript with an explicit--repolist, or manually replaced every path, repository, and hook-command placeholder. The renderer infers the workspace root from the copied harness folder. The Agents Remember MCP server is registered with the harness, typically with a command like:
uvx agents-remember-mcp@latest --config <absolute path to agents-remember-settings.json>- The harness was restarted once so it can load the MCP server, native skills, hooks, rules, and instruction files from the copied package.
If any prerequisite is missing, do not improvise a harness installer. Point the
developer at the appropriate docs/install/<harness>.md page, have them copy the
starter package, and resume after the restart.
What This Skill Owns
Run this sequence in order:
- Preflight: verify the copied package and MCP setup are usable enough to continue.
- Runtime scaffold: run or verify
runtime_install(). - Agentic settings: walk the developer through the orchestration defaults in the seeded global settings file.
- Optional repository certification: only on an explicit developer request, author, validate, and register one repository-owned Gate 1-4 profile for the requested repository.
- Memory repo: ask scaffold-new vs use-existing, unless memory already exists.
- Bootstrap: when a new memory repo was scaffolded, hand off to
c-03-repo-bootstrap. - Providers: when providers are enabled, start/refresh indexing and verify readiness.
This skill orchestrates and delegates. It does not reimplement
c-00-initialize-memory-repo, c-03-repo-bootstrap,
c-10-adopt-memory-baseline, context resolution, or provider lifecycle tools.
Stage 0 - Preflight
Before runtime or memory work, report a short pass/fail checklist. For each failed check, give the exact fix and stop when the developer must act.
Check, in order:
- MCP reachable. Confirm the MCP responds (
ping,server_info, or the equivalent available tool). If not, the harness did not load the server; tell the developer to verify the MCP registration path and restart the harness. - Harness package present. Confirm this skill is running from a harness-discoverable skill root and that the active harness package includes its native settings/instruction files. Do not create missing harness files here; ask the developer to recopy the package and restart.
- Settings sane. Confirm
server_inforeports the expectedcoordinationRoot,workspaceRoot, allowed repositories, and providers. Surface the resolved absolute paths because wrong paths are the common cause of resolver failures. Also report whether the global agentic settings file (<coordinationRoot>/system/settings.json) exists yet; Stage 1 seeds it when missing and Stage 2 configures it. - Runtime state. Check whether the coordinator scaffold already exists under
coordinationRoot(AGENTS.md,skills/,tasks/,memory-repos/,system/as applicable). If it is missing or stale, Stage 1 will runruntime_install(). - Provider prerequisites, only when providers are enabled. Providers run in Docker. If provider diagnostics report Docker/Ollama/image problems, explain the gap. A developer may explicitly defer providers and continue with core memory setup.
- Topology consistency. If MCP settings point at an external coordination root, memory setup must remain consistent with that topology. Do not let memory initialization silently choose internal memory when settings clearly describe an external-memory layout.
- Certification authority, when explicitly requested. For a developer-requested certification
operation, report the exact
repositories.<repo-id>.certificationProfilevalue and whether that candidate file exists inside the repository. Routine code closeout/integration is a Git transaction and does not require discovering or running a certification profile.
Do not check for legacy hook prerequisites such as jq. Hook and instruction
files are part of the copied, rendered harness package; this skill no longer
installs them.
Stage 1 - Runtime Scaffold
Run or verify:
runtime_install()Use runtime_install(dry_run=true) only when the developer asks for a preview or
when local workflow policy requires one. Otherwise apply the runtime scaffold so
setup can proceed.
After it runs, verify the coordinator root exists and contains the expected
package-owned runtime files. runtime_install() may also prepare provider
runtime assets when providers are enabled, but it does not create memory repos,
bootstrap onboarding, or start provider indexing.
Do not run skills_install() as part of first-run setup. The harness starter
package already carries the skills. skills_install() remains available for
manual maintenance or non-package setups, but it is not the default path.
Stage 2 - Agentic Settings: Interview The Developer
runtime_install() seeds the GLOBAL agentic settings file at
<coordinationRoot>/system/settings.json copy-if-missing, with every knob at
its documented default: all-human gate delegation, the standard three-party-loop
defaults, no concurrency caps, no spawn harness preference. This stage turns
those defaults into the developer's actual posture so the intended workflows
run on ANY harness. The schema reference is docs/reference/settings-json.md
(Agentic Settings); unknown orchestration.* keys fail loud, so write only
documented keys.
Walk the developer through the four knob families and edit the global file with their answers (leave a family at its seeded default when they have no preference):
- Gate delegation posture (
orchestration.gateDelegation; GLOBAL file only - the loader refuses it repo-locally and the boot snapshot reads the coordinator file) - keep every gate human (all-human, the default), or delegate leaf gates with themanager-decides-leaf-gatespolicy, optional per-kindkindsoverrides, andrequireReviewerVerdictAtSeams. Say explicitly that this one key is boot-snapshot: a change needs an MCP/harness restart. - Loop defaults (
orchestration.loops) - the review-round cap (defaults.maxRounds), reviewer reuse (defaults.reviewerReuse), complexity thresholds (defaults.complexity), and per-level loop postures (perLevel). Read per-use; edits apply on the next use, no restart. - Concurrency caps (
orchestration.concurrency) -maxParallelMasters,maxParallelLeaves,maxSubAgents. Default: uncapped. - Harness preference + role knobs (
orchestration.spawn.harness, per-roleorchestration.roles.<role>, per-levelorchestration.rolesPerLevel.<level>.<role>) - which installed harness the publicdispatch_agenttransaction selects when no role/level knob supplies one, per-role harness/model/effort settings, and per-LEVEL settings (leaf|master|portfolio) for tiered economics (e.g. a cheap leaf reviewer, a smarter master-seam reviewer). Harness values must be known ids: the builtin registry (claude,codex,pi) or anorchestration.harnessesentry the developer defines (new TUIs, or a pre-customized launch argv for a builtin). A configured native role supplies the complete harness/model/effort selection. Do not teach a static builtin model or effort vocabulary: the native adapter advertises the token-free per-install/account model catalog, with effort nested under each model, and validates it before the configured vendor session starts. Use the exact advertised model key (Pi keys are provider-qualified) and one launch-settable effort advertised for that model. The adapter applies the selection through native launch configuration; normalized model/effort is never converted into composer paste or a generated session command. Mention the FREE-FORM escape hatch -launchArgs(verbatim argv),sessionCommands(explicit user-authored lines applied before the brief),promptKeywords(prepended to the brief) - which is never validated or synthesized and is recorded in spawn provenance. Ordinary spawning seats cannot passharness/model/effort, launch/session spend controls, or harness-native spend/endpoint env keys directly; settings are the spend surface. Default: detection-gated (the first detected harness). The full spawn-surface manual isdocs/reference/harnesses.md.
Verify the installed instructions teach one public spawn transaction and its two disjoint caller kinds:
| Caller kind | Recognition | Authority | Required behavior |
| Plane-hosted seat | Plane-injected hosted identity is present | Current role seat plus direct-child scope | Call dispatch_agent with the canonical child document, target role, and complete brief |
| Ambient launcher | Plane-injected hosted identity is absent | Canonical target-document resolution plus target role-altitude validation | Ordinary bootstrap: compile the canonical architect brief and call dispatch_agent once on the sprint document. Explicit task-seat takeover: compile the claimed role's complete brief and call the same tool once on that role's canonical task document. |
The request never supplies caller identity or selects a mode. Both rows consume the same settings-owned harness/model/effort, internal readiness, exact brief pinning, rollback, and canonical seat publication. A plane refusal remains a refusal and never falls back to ambient. The internal session-creation primitive is not installed caller guidance.
If the developer wants to skip the interview, confirm the seeded defaults apply and continue; tell them the file can be edited any time (picked up per-use, except the gateDelegation restart note above).
Per-repo overrides: a code repo may carry its own <repo>/system/settings.json
with the same orchestration.* shape; repo-local leaf values override the
global file (arrays replace). Offer this only when the developer asks for
repo-specific behavior; do not create the file unprompted.
Stage 3 - Repository Certification Profile (explicit operation only)
Run this stage only when the developer explicitly requests a repository certification or full
quality operation. Routine closeout and master integration do not enter this stage. The normative
field and authoring procedure are documented in
docs/reference/repository-certification-profile.md.
- Read the repository's documented build, lint/type/format/structural checks, ordinary suite, suite-dependent quality, integration/E2E scenarios, runtime locks, and existing ownership manifests. Inspect source only to confirm those repository-owned contracts. Do not derive authority from a filename, executable being present, or historical success.
- If
repositories.<repo-id>.certificationProfileis absent, select and record one explicit repository-relative path consistent with that repository's configuration layout. This is not a conventional filename or built-in default. Add the exact path to the MCP authority settings. - Author the versioned profile at that path from the repository's own contract. Include explicit targeted local/closeout and full closeout selections over one rail catalog; declare all four gates, including typed not-applicable gates; and declare the exact sandbox adapter, decoder, artifacts, selectors, runtimes, secret policy, resource bounds, and Gate-4 teardown.
- Compute the canonical profile digest and compile every required selection through the installed
repository-profile loader. Repair every schema, authority, classification, graph, selection,
artifact, adapter, or decoder finding before continuing. A missing or invalid profile is
certification-profile-invalid; no Gate-1 command may start. - Run the smallest focused repository verification that proves its declared adapter and decoder implement the exact profile execution and terminal-artifact contract. Do not launch the full suite or clean-room scenarios merely as install diagnostics.
- If the authority settings changed, tell the developer that the MCP/harness must restart before the new boot-time repository authority is live. This affects the requested certification operation only; it is not a routine closeout/integration prerequisite.
Make progress autonomously from durable repository contracts. Ask the developer only when the repository's intended rail, posture, or clean-room boundary is genuinely ambiguous. Never copy the Agents Remember reference profile into another repository, create a default profile, install a host executor, or add a compatibility/fallback route.
An older configured repository with no profile remains valid for reading, task recovery, onboarding, and routine code/memory/ledger closeout. A developer-requested certification operation must fail closed until this stage is completed.
Stage 4 - Memory Repo: Ask Scaffold Vs Existing
Do not assume the developer wants a fresh memory repo. Ask which case applies, unless a memory repo is already present and resolvable:
- Scaffold a new memory repo - they have no existing memory for this code
repo. Run
c-00-initialize-memory-repo(internal by default; external only if the developer asks or the configured topology requires it). Continue to Stage 5. - Use an existing memory repo - they already have one. Clone or checkout it
to the resolved memory location, then adopt it as the Git-attributed baseline with
c-10-adopt-memory-baseline. Skip Stage 5 because its onboarding already exists.
Internal-memory note: pre-existing internal memory lives inside the code repo
(<repo>/ar-memory/), so it is already present on checkout. Detect that through
c-08-ar-coordination-context-resolver and skip the question when the memory
layer is already there.
Stage 5 - Bootstrap
Run this stage only when Stage 4 scaffolded a new memory repo.
Hand off to c-03-repo-bootstrap to generate initial onboarding. A thin
overview.md is enough to start; deeper route-local overviews and file-level
onboarding should grow as work touches new areas.
Skip this stage when an existing memory repo was adopted.
Stage 6 - Configure Providers To Index
If providers are enabled, make them index the configured code and memory:
- Confirm the target repo is in MCP provider scope.
Start watchers:
provider_watchers(action="start")Use
provider_watchers(action="start", dry_run=true)only when a preview is requested or workflow policy requires one.action="refresh"no longer exists -- it force-rebuilt every index while reading like a harmless restart, so it was split in two. Useaction="restart"to stop and start the watchers without touching their indexes, oraction="invalidate-indexes"to delete and rebuild every index from scratch (a slow full re-embed and re-graph).- Verify with
provider_statusorcontext_packet(repo_id=..., include_providers=true)that providers areready, watchers are up, and the target repo is covered. - Use
provider_diagnosticswhen a provider reportsstoppedordegraded.
Providers are accelerators. If they are deferred, say that core by-path memory still works and list the provider recovery action separately.
Report Result
Summarize:
- harness package: detected and left untouched, or missing with the exact copy step the developer must perform;
- runtime scaffold:
runtime_install()run or already current, with the resolved coordination root; - agentic settings: interviewed and written, or left at the seeded defaults, with the global file path;
- repository certification: exact profile path and digest for each explicitly requested code repository, validation result, and whether an authority-settings restart remains; routine closeout/integration needs no profile;
- memory repo: scaffolded, existing-adopted, or already present, with the resolved memory root;
- bootstrap: run via
c-03-repo-bootstrapor skipped; - providers: indexing status and any deferred/degraded state.
End by telling the developer whether the project is ready for normal work. Do not tell them to restart for hooks installed by this skill, because this skill no longer installs hooks.
Boundaries
- This skill is guidance for the model; it adds no MCP tool and no hardcoded per-harness installer.
- It must not install, overwrite, or invent harness hooks, rules, instruction files, skills, or MCP registration files during first-run setup.
- It must not call
skills_install()as part of the package-based first-run path. Mention it only as a maintenance/manual option. - It must not scaffold a memory repo without asking unless memory already exists and resolves cleanly.
- It delegates memory init to
c-00-initialize-memory-repo, bootstrap toc-03-repo-bootstrap, baseline adoption toc-10-adopt-memory-baseline, and context resolution toc-08-ar-coordination-context-resolver. - It must not invent a certification profile, discover one by convention, or copy another repository's commands. A missing/invalid profile blocks only the explicitly requested certification operation; routine code/memory/ledger closeout remains a Git transaction.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

