agentleFS
Lukk17Lukk17/agent-standards/.agents/skills/ascend-memory/SKILL.md

ascend-memory

Skill1 starsChanged 58 days agoMITView on GitHub

Long-term semantic memory for one user through the self-hosted AscendMemory service, covering insert, semantic search, delete, and wipe against a per-user Qdrant namespace. Use when the user says "remember that…", "what did I tell you about…", "save this for later", "forget this", or when prior context about the user would change your answer. Not for web research or fetching a page, use `research`, which hands a page that blocks a normal fetch to `ascend-web-hunter`.

  • Sends data out

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the base URL from whatever configuration surface the runtime provides for AscendMemory.

    line 36
  2. Distinctive:

    Search whenever the question touches the user's own life, preferences, prior decisions, or anything they may have told you before.

    line 68
  3. Very specific:

    Call curl.exe in PowerShell so the shell does not route the name to its Invoke-WebRequest alias, and escape the inner double quotes of any …

    line 102
  4. Distinctive:

    When the user corrects a stored fact, search for the stale memory, take its id from the result, and delete that id.

    line 109
  5. Very specific:

    Read and write only within the current user's user_id unless the user explicitly asks otherwise.

    line 144
  6. Distinctive:

    Search run before answering anything that depends on the user's history.

    line 166

≈ “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.

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

Ascend Memory

Store and retrieve per-user semantic memory through AscendMemory, which keeps embeddings in Qdrant and exposes a small REST API. Every call is scoped by user_id and there is no global namespace, so pass the current user's id on every request.


When to activate

  • The user states a durable fact about themselves: a preference, a name, an ongoing project, a deadline.
  • The user asks what they told you before, or the answer depends on a prior decision of theirs.
  • The user asks you to save, remember, correct, or forget something.
  • You are about to answer a question about the user's own life, work, or choices.

When not to activate

  • Running a web search or fetching a page for information you do not have, use research.
  • Reading a page behind a WAF, a CAPTCHA or a login that blocks a normal fetch, use ascend-web-hunter.
  • Turning a recording into text before storing anything from it, use audio-scribe.
  • Recording an architectural decision about a codebase rather than a fact about the user, use architecture-decision-records.

Take the base URL from configuration, never from a guess

Read the base URL from whatever configuration surface the runtime provides for AscendMemory. It differs between a host install, a container on a Docker network, and a remote deployment. Ask the user when nothing is configured. Examples below use $BASE as the placeholder. A configured value might look like http://ascend-memory.local:8080, shown here only as an example of the shape, with the real value always coming from the user's own configuration.

Pass: resolve the base URL from configuration, then use it as $BASE in every call.

Fail: assume a default host and port and send the user's memories to whatever answers.


Use the four endpoints under /api/v1/memory

EndpointMethodPurpose
/insertPOSTStore a memory. Body: {user_id, text, metadata?, messages?, provider?}.
/search?user_id=…&query=…&limit=5GETSemantic search. Returns objects with memory, score, metadata, created_at.
/?memory_id=…DELETERemove one memory by the id returned from a search or an insert.
/wipe?user_id=…POSTErase everything for one user. Destructive, so only on an explicit request.

Send text for a plain note. Send messages, a list of {role, content}, when mem0 should infer memories from a chat snippet instead of storing the literal text. Leave provider out unless the user has several embedding providers configured and names one, because the service falls back to its own default provider.

Pass: POST /insert with text for a one-line preference the user just stated.

Fail: POST /wipe to clear one stale entry that a single delete would have fixed.


Search before answering, insert when something is worth keeping

Search whenever the question touches the user's own life, preferences, prior decisions, or anything they may have told you before. A short query of three to seven words carrying the topic is enough, because the embedder does the matching. Insert when the user states something durable: preferences, names, ongoing projects, deadlines, decisions and the reasoning behind them. Leave transient task state out. When you are unsure, insert, because a small redundant memory costs little and a missed one costs the next conversation.

Pass: search "coffee preference" before recommending a roaster, then answer from what comes back.

Fail: store the current step of a task in progress, which is noise by tomorrow.

Insert, Bash:

curl -s -X POST $BASE/api/v1/memory/insert -H "Content-Type: application/json" -d '{"user_id":"<user-id>","text":"Prefers terse responses with no trailing summaries.","metadata":{"type":"preference"}}'

Insert, PowerShell:

curl.exe -s -X POST $BASE/api/v1/memory/insert -H "Content-Type: application/json" -d '{\"user_id\":\"<user-id>\",\"text\":\"Prefers terse responses with no trailing summaries.\",\"metadata\":{\"type\":\"preference\"}}'

Search, Bash:

curl -s "$BASE/api/v1/memory/search?user_id=<user-id>&query=coffee%20preference&limit=5"

Search, PowerShell:

curl.exe -s "$BASE/api/v1/memory/search?user_id=<user-id>&query=coffee%20preference&limit=5"

Call curl.exe in PowerShell so the shell does not route the name to its Invoke-WebRequest alias, and escape the inner double quotes of any JSON body.


Delete the stale entry when the user corrects you

When the user corrects a stored fact, search for the stale memory, take its id from the result, and delete that id. Leaving both versions in the store means the next search returns two contradictory hits with similar scores.

Pass: search, find the old entry, DELETE it by id, then insert the corrected fact.

Fail: insert the correction and leave the wrong memory in place.

Delete, Bash:

curl -s -X DELETE "$BASE/api/v1/memory?memory_id=<id-from-search>"

Delete, PowerShell:

curl.exe -s -X DELETE "$BASE/api/v1/memory?memory_id=<id-from-search>"

Keep metadata small and structural

Pass short structured tags in metadata when they sharpen future retrieval, for example {"type":"preference","topic":"coffee"} or {"source":"chat-2026-05-08"}. Metadata is a filter aid and is not searched semantically, so prose belongs in text instead.

Pass: {"type":"preference","topic":"coffee"}.

Fail: {"note":"the user said during a long conversation that they usually prefer a light roast in the morning"}.


Never cross a user_id boundary

Read and write only within the current user's user_id unless the user explicitly asks otherwise. Treat the contents as personal: bring back only the memories that bear on the current question, rather than reciting the store.

Pass: search the current user's id, quote the one memory that answers the question.

Fail: search a second user's id to compare, or dump every hit back into the reply.


Related skills

  • research for information that lives on the web rather than in the user's history.
  • ascend-web-hunter for a page behind a WAF, a CAPTCHA or a login that blocks a normal fetch.
  • audio-scribe for turning a recording into text you might then store.
  • architecture-decision-records for decisions about a codebase rather than facts about a person.

Checklist

  • Base URL resolved from configuration, not from a default.
  • user_id present on every insert, search, and wipe.
  • Search run before answering anything that depends on the user's history.
  • Corrections applied as delete plus insert, not insert alone.
  • metadata short and structural, with prose kept in text.
  • wipe used only on an explicit request to forget everything.

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.