intelligence-learn-from-repositorylisted
Install: claude install-skill ainova-systems/intelligence
# Learn from Repository
Use once after `intelligence init` creates or converts a project. This is the
only skill that owns initial backup migration, interrupted-setup recovery, and
the first repository-specific Intelligence layer. The CLI owns deterministic
mechanics; this skill supplies repository judgement.
## Recover or verify setup
1. Locate `<manifest>`, `<content-dir>`, and `<module>`. If first sync failed
before the slash command was installed, these instructions can be opened
directly from
`.intelligence/packages/@ainova-systems/sync/skills/intelligence-learn-from-repository/SKILL.md`.
2. Inspect `<content-dir>/_backup/manifest.tsv`. A
`state<TAB>initial-onboarding` record identifies the byte-preserved state
from before Intelligence first wrote adapter output. Read every `path`
record and treat it as migration input, never generated output. `legacy`
records name old entry points the CLI quarantined for the first successful
render; read their backup copies rather than restoring them. A
`.intelligence/backup/config.yaml` file identifies a converted legacy
Intelligence Sync project; use the converted sources and that config as
migration evidence.
3. Run `intelligence status --check`. If the project is missing, inconsistent,
or its first sync failed, run `intelligence init --preview`, show the exact
repair plan, and request approval. After approval run
`intelligence init --apply`. Do not reproduce manifest, package, adapter,