setup
Skill1 starsChanged 32 days agoMITView on GitHub
Use when the user wants to install, set up, finish setting up or repair retroagent on a machine — pick or create the private repo their sessions sync to, install the plugins and the `kb` CLI, run the first backfill, turn automatic syncs and updates on — or to set up, later, the cloud routine that writes project pages and weekly retros. Also "move my sessions to another repo", "set up the pages routine".
- Installs packages
191 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 35ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 2 are distinctive, and 8 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Never ask for, read or type a token.
- Distinctive: line 26
Recommended or Customize: When the data repo is not set up yet, ask one question: Recommended or
- Very specific: line 58
Automatic updates: Ask (skip when auto_update is true).
- Very specific: line 61
Semantic search: Ask (skip when kb embed --status says it is on).
- Very specific: line 66
Cloud sessions: Only when the user runs Claude Code cloud sessions or routines: kb setup cloud prints the network allowlist and the setup …
- Very specific: line 71
Pages routine: Before you offer it, read references/pages-routine.md in this skill's folder: how to explain it, then kb setup routine and …
- Distinctive: line 76
Start a new session: the plugin, its skills and its hook load only then.
- Very specific: line 77
When kb_on_path is false: kb is in ~/.local/bin.
- Very specific: line 79
When codex is installed: open Codex once and trust the retroagent hook with /hooks.
- Very specific: line 84
When the user wants their sessions in another data repo, read references/move-data-repo.md in this skill's folder and follow it.
“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
retroagent setup
Guide the user through the setup with as few questions as possible (AskUserQuestion in Claude Code, a plain question elsewhere). Optional steps offer now, later (this skill again, any time) or no.
Rules:
- Show the exact commands before anything that changes something outside this machine (creating a repo, a push, a routine), and run them only after a yes. One yes can cover a list of commands shown together.
- Never ask for, read or type a token. The user sets secrets in their own terminal;
gh secret setprompts for them. - The data repo must be private: the sessions hold prompts, paths and tool output. Refuse a public repo.
kbbelow meanskbon PATH, else<code>/bin/kb(not on PATH yet in this session).
Steps
- State.
kb setup check(nokbanywhere yet:"${CLAUDE_PLUGIN_ROOT}/bin/kb" setup check). It prints JSON. Skip what is done; say in one line what is set up and what is left. - Code clone. install.sh, the shell's
kb, Codex and updates run from one clone of the code. Whencode_is_cloneis false and~/.retroagentdoes not exist, clone it without a question (it changes nothing outside this machine):git clone https://github.com/gabe4coding/retroagent ~/.retroagent.<code>below is that clone (orcodewhencode_is_cloneis true). install.sh moves the plugin to this clone's marketplace. - Recommended or Customize. When the data repo is not set up yet, ask one question: Recommended or
Customize. Recommended is: a new private
<gh user>/retroagent-data(step 3), the host from step 0, install.sh, the first sync with the recent sessions first, summaries in the background, and automatic syncs on when the first sync is done. Semantic search, automatic updates, cloud sessions and the pages routine stay for later.- Recommended: show steps 3–6 as one list of commands, run them after one yes, then go to step 12.
- Customize: do steps 3–11, one question each.
- Data repo. New private repo, an existing one, or keep the current one (when
data_cloneis true).- With
gh(gh auth statuspasses):gh repo create <owner>/<name> --private --description "retroagent data: my Claude Code and Codex sessions". An existing one:gh repo view <owner>/<name> --json visibility -q .visibilitymust not bePUBLIC. Clone URL:git@github.com:<owner>/<name>.gitwhengh config get git_protocolisssh, elsehttps://github.com/<owner>/<name>.git. - Without
gh, or not logged in: give the userhttps://github.com/new?name=retroagent-data&visibility=privateand ask for the clone URL of the repo they made (or an existing one). Thenkb setup repo-check <url>:reachablemust be true (else showerror: usually the git login), andpublicmust not be true.
- With
- Host name. This machine's name in the KB (default:
hostfrom step 0). It must be unique per machine. In Customize, confirm it or take the user's. - Install.
<code>/install.sh --repo <url> --host <host>(add--root <folder>only if the user wants another folder than~/.retroagent-data). It clones the data repo, downloads a pinned gitleaks when there is none, pushes the base files the repo lacks (README.md, AGENTS.md, …) in one commit, writes~/.config/retroagent/config.json, installs the Claude Code and Codex plugins and links~/.local/bin/kb. Relay its WARNING lines:- gitleaks: the download failed. Ask the user to
brew install gitleaks(or their package manager) and run install.sh again. Every commit of sessions is scanned with it. host '<host>' belongs to another machine: ask whether this machine wrote those sessions (a new clone, a lost.kb/machine-id). If yes, run it again with--force-host; else ask for another name and run it again.
- gitleaks: the download failed. Ask the user to
- First sync.
kb backfill --recent 14indexes the sessions of the last 14 days in about a minute, with no push:kb findworks at once. Then the rest, the first push (a long history can be hundreds of MB) and the summaries (Haiku; uses the user's Claude quota) in the background:nohup sh -c 'kb backfill && kb backfill --summaries' >> <data root>/.kb/backfill.log 2>&1 &. In Customize, ask about the summaries; without them runkb backfillalone in the background. - Automatic syncs. The first full
kb backfillturns them on (install.sh leavesauto_sync_pendingfor it). Until then each new session starts that backfill again, so a stopped one goes on. In Customize, the user can choose now:kb enable(on at once) orkb disable(off; nothing turns it on later). - Automatic updates. Ask (skip when
auto_updateis true).kb enable updatespulls the code clone once a day (fast-forward only, only when it sits clean on its default branch) and refreshes the plugins on a new version. It runs new code from the retroagent repo without review; without it, the user runskb updateto update. - Semantic search. Ask (skip when
kb embed --statussays it is on).kb embeddownloads a local embedding model and its runtime (about 330 MB, checked by sha256, into~/.cache/retroagent/embed), embeds every session, the user's messages, every page and memory, and turns it on:kb findthen also matches paraphrases and other languages. Everything runs on this machine; the model uses about 500 MB of RAM while loaded and stops when idle.kb embed --offturns it off. - Cloud sessions. Only when the user runs Claude Code cloud sessions or routines:
kb setup cloudprints the network allowlist and the setup script of a cloud environment. Only the user can apply them, in the environment settings at claude.ai/code; show the output and say so. The script putskband semantic search in the cloud and a hook that pushes each cloud session to an inbox. Ask which one machine imports them (as hostcloud), and runkb cloud import --onthere only. - Pages routine. Before you offer it, read
references/pages-routine.mdin this skill's folder: how to explain it, thenkb setup routineand the routine itself. - Report. A short list: data repo and folder, host, the first sync (recent sessions indexed; the rest runs in
the background,
kb statusshows what is left), automatic syncs and updates, semantic search, routine state. Then the next steps, each on its own line:- Start a new session: the plugin, its skills and its hook load only then.
- When
kb_on_pathis false:kbis in~/.local/bin; tell the user to addexport PATH="$HOME/.local/bin:$PATH"to their shell file (~/.zshrcor~/.bashrc). Do not edit it yourself. - When
codexis installed: open Codex once and trust the retroagent hook with/hooks. - What stays for later (semantic search, updates, cloud sessions, the pages routine): run this skill again.
Move to another data repo
When the user wants their sessions in another data repo, read references/move-data-repo.md in this skill's
folder and follow it.
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.

