evolve-lite:subscribe
Add a shared guidelines repo (read-scope subscription or write-scope publish target) to the unified repos list.
git clone --depth 1 https://github.com/AgentToolkit/altk-evolve /tmp/evolve-lite-subscribe && cp -r /tmp/evolve-lite-subscribe/platform-integrations/bob/evolve-lite/skills/evolve-lite-subscribe ~/.claude/skills/evolve-lite-subscribeSKILL.md
# Subscribe to a Shared Repo
## Overview
Configured guidelines repos are multi-reader / multi-writer git databases,
described in a single unified list in `evolve.config.yaml`:
```yaml
repos:
- name: memory
scope: write
remote: git@github.com:alice/evolve.git
branch: main
notes: public memory for foobar project
- name: org-memory
scope: read
remote: git@github.com:acme/org-memory.git
branch: main
notes: private memory shared only within my org
```
- `scope: read` — download-only. Synced on every run.
- `scope: write` — publish target. Synced on every run too, so you see
what you have already published and anything others have pushed.
## Workflow
### Step 1: Bootstrap config if missing
If `evolve.config.yaml` does not exist, ask the user for a username and
create:
```yaml
identity:
user: {username}
repos: []
sync:
on_session_start: true
```
Also ensure `.evolve/` is gitignored:
```bash
grep -qxF '.evolve/' .gitignore 2>/dev/null || echo '.evolve/' >> .gitignore
```
### Step 2: Gather details
Ask the user for:
- the remote URL for the guidelines repo
- a short local name such as `alice`
- the scope: `read` (default, subscribe-only) or `write` (also a publish target)
- an optional note
### Step 3: Run subscribe script
```bash
python3 .bob/skills/evolve-lite-subscribe/scripts/subscribe.py --name "{name}" --remote "{remote}" --branch main --scope "{scope}" --notes "{notes}"
```
### Step 4: Confirm
Tell the user the repo was added and they can run `evolve-lite:sync`
immediately if they want to pull updates now.
## Notes
- The repo is cloned directly into `.evolve/entities/subscribed/{name}/`,
which doubles as the recall mirror
- Subscribed entities will appear in recall with `[from: {name}]`
annotations
- Read-scope repos use a shallow clone; write-scope repos use a full
clone so publish commits can be rebased and pushed cleanlyRead all atomic guidelines in wiki-twobatch/guidelines/ and propose themed clusters that group near-duplicates. Writes cluster pages and updates _config.yaml; originals are preserved with a `superseded_by:` backref.
Consult an agent-wiki for guidelines relevant to the task at hand. The wiki itself documents how to retrieve from it (AGENTS.md). Use this skill once you know what task or sub-task you're about to do — not at session start.
Read a normalized Claude Code trajectory JSON and extract reusable guidelines into wiki-twobatch/guidelines/. Use when mining saved trajectories for reusable lessons.
Ingest one or more agent trajectories (raw bob/claude traces or normalized JSON) into an agent-wiki end-to-end — convert, summarize, extract guidelines, synthesize skills, consolidate into clusters, and catalog. Use when you have a batch of traces to turn into a wiki in one pass.
Read a normalized Claude Code trajectory JSON and write an episodic summary page to wiki-twobatch/summaries/. Use when summarizing one or more saved trajectories into the agent wiki.
Read a normalized Claude Code trajectory JSON and produce a wiki-resident SKILL.md page that future agents can invoke. Use when a trajectory captured a non-trivial successful workflow worth promoting from a free-text guideline to an executable, callable artifact.
Discover task families across summaries and write per-family comparison pages with findings narrative. Updates wiki-twobatch/_config.yaml task definitions and writes tasks/<slug>__task.md.
Must be used near the end of any non-trivial turn that produced potentially reusable tools, guidance, errors, workarounds, or workflows, so those lessons are saved for future turns.