agentleFS
iagocavalcanteiagocavalcante/claude-turbo-search/skills/pull/SKILL.md

pull

Skill16 starsChanged 17 days agoMITView on GitHub

Download the persistent memory database from your self-hosted dashboard into the current repo. Use after cloning a repo on a new machine to restore accumulated sessions, knowledge, facts, and embeddings for RAG/context.

13 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ingest.

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.
  • JaimeGBASkill

    ingest

    Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the skill's actual installed location, including plugin caches or symlinks.

    line 9
  2. Very specific:

    When the user invokes /pull, run:

    line 19

“Common” is measured: kept by at least 6 in 10 of the 10 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Installed paths

Resolve PLUGIN_DIR to the absolute directory two levels above this SKILL.md file. Use the skill's actual installed location, including plugin caches or symlinks; do not infer it from the project's working directory or a home-directory checkout. Set PLUGIN_DIR explicitly in each shell invocation below, keeping the working directory in the user's target repository.

/pull - Download Memory From Dashboard

Restore the per-repo memory.db from your self-hosted Fly.io dashboard. The slug is computed from git remote get-url origin, so the same GitHub URL → same data on any machine. No per-repo config needed beyond the global memory-db.sh config set you ran once.

Instructions

When the user invokes /pull, run:

: "${PLUGIN_DIR:?Set PLUGIN_DIR from this skill file location}"
MEMORY_SCRIPT="$PLUGIN_DIR/memory/memory-db.sh"

# Pass through any flags the user provided (e.g. --force).
"$MEMORY_SCRIPT" pull "$@"

Common outcomes

Happy path (fresh clone, no local DB yet):

Pulled https://<dashboard>/api/repos/<slug>/db -> .claude-memory/memory.db

Then suggest the user run /memory-stats to see what was restored, and /memory-stats search <query> to retrieve specific context.

No config — message will be:

no sync remote configured. run `memorydb config set --remote URL --token TOKEN`

Tell the user how to configure it. Example:

"$MEMORY_SCRIPT" config set --remote https://your-app.fly.dev --token <token>

Nothing on remote — message will be:

no database for this repo on the remote — has it been pushed yet?

Explain that this is normal for a repo that's never been pushed to the dashboard before. Suggest creating memory locally with /remember (which auto-pushes when configured).

Existing local DB without --force — message will be:

local memory.db already exists at <path> (<N> bytes). pass --force to overwrite

Tell the user that pull refuses to clobber non-empty local memory by default. If they really want to overwrite, run /pull --force. Note that there's no merge across machines in v1 — last-write-wins.

When to use

  • Cloning a repo on a new machine — primary use case. Get accumulated context back instantly.
  • Resetting after corruption — if .claude-memory/memory.db got mangled, pull from remote to recover.
  • Catching up on another machine's work — if you /remember-ed something on a laptop and want it on a desktop. (Caveat: only works one-way; pulling discards any unique local memory.)

When NOT to use

  • Day-to-day — /remember auto-pushes after each session, so the dashboard stays current without manual pulls.
  • When you have unique local sessions — pull will overwrite them. If unsure, run /memory-stats first to see what's local.

See also

  • /push — the inverse operation (manual push without a /remember).
  • web/README.md — full architecture and operating notes.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.