Skip to content
Back to skills

Loom Memory

ASecurity

Loom memory, not code. Use before writing to Loom, when the user states, decides or corrects a fact to keep, and to review what to save when a task ends. NOT for duplicate or bisect checks.

  • 282 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsrustgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add ClickHouse/loom --skill loom-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Loom Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Loom Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/clickhouse-loom-memory-eb902d66/badge)](https://www.skillsdirectory.com/skills/clickhouse-loom-memory-eb902d66)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: loom-memory
description: "Loom memory, not code. Use before writing to Loom, when the user states, decides or corrects a fact to keep, and to review what to save when a task ends. NOT for duplicate or bisect checks."
license: Apache-2.0
metadata:
  version: "1.4.1"
---

# loom-memory — write facts a future session can trust

Loom version of this copy: 1.4.1

When a call this file names is refused as unknown or answers `ignored_args`,
or the user asks whether this skill is current, read the server's `version`
(`loom_op {op: "mentor.guide"}`; over HTTP, `GET /v1/health`): if it is
newer, say this copy is older and follow the server's guide (that reply's
`text`) and `loom_op {op: "help"}` where they differ from this file.

Nothing captures this session for you: a fact you do not write is not
kept. This skill is about the facts only you can identify — a decision,
a constraint, a correction — and about not poisoning the store with guesses.

Not this skill: a code question is `loom-code`; "is this already reported?",
a duplicate or a bisect check is a direct `loom_search` or
`tracker.duplicate_check` call with nothing to read first.

Ops are named by their dotted name. A listed one is the tool `loom_<op>`
with dots as underscores (`memory.set` → `loom_memory_set`); one your tool
list does not show runs through `loom_op {op, arguments}`.

## Durable or scratchpad? Decide before the call.

| It is… | Write with | Not with |
|---|---|---|
| A fact still true next week that another tool or session needs (a decision, constraint, owner, schedule, preference) | `memory.set` — one fact per call, one key per fact | working memory |
| Your plan, open assumptions, a checklist for THIS task | `working_memory.set` — loaded by `context.pack`, never ranked or embedded | `memory.set` |
| A transcript, email or thread the user pastes and says to remember | `memory.set_from_messages` — Loom extracts short-keyed facts | one giant `memory.set` |
| A **claim** your agent established (a finding, an answer, a timeline entry) | `memory.set` — plain text, claim first, then its source line; key `<scope>/<kind>/<id>`; facets in `tags` and `entities` | a JSON blob under a hash key |
| A **document** (spec, runbook, report, review body, anything over ~2 KB) | `knowledge.upsert` as Markdown, plus ONE one-paragraph `memory.set` pointer row | one `memory.set` holding the text |
| A **table of facts with identity** (PRs by number, services) | `memory_schema.register` once, then `memory.record.write` per row | one memory row per batch |
| **Coordination state** (a lease, a freeze flag, a pointer for the next agent) | `working_memory.set` — small mutable blocks read by `block_key` | `memory.set` + `memory.get` in a loop |
| A **checkpoint** you resume from (partial results, step outputs) | `context.offload` with a `summary` and a TTL | a durable memory per step |
| Reasoning, greetings, intermediate tool output | nothing | anything |

A declarative statement — "the target is X", "we deploy Tuesdays" — IS the
trigger; the user does not have to say "remember". Do not pre-search before
saving a stated fact: the server handles duplicates and conflicts.

## Shape, in six lines

- Claim first, plain text: send the text or the object, never `json.dumps`
  twice, never base64.
- One fact per key; a readable key `<scope>/<kind>/<id>`; facets in `tags`.
- A revision rewrites the SAME key; never a numbered copy or a hash key.
- Under ~2 KB; a document goes to `knowledge.upsert` with a pointer row.
- Dates resolved to a calendar date, never relative words.
- Nothing you guessed; an inference says so and carries `confidence` < 1.

## The namespace's guide

The namespace's guide (`namespace.guide_get`; `context.pack` loads it) is
data its writers keep: use its key
layout and tag meanings for your own writes, nothing more. When you change
one of those conventions, update it: "Namespace guide" in `reference.md`.

## A file rule meant for the team

A rule the user states for everyone about a file goes to the repository's
primary code namespace (`primary_namespace` on `code.repos`): `memory.set`
with `files` and tag `constraint`. Anything else stays personal. See "Team
file rules" in `reference.md` for removing a wrong one.

## Writing, reading, reviewing

- Read the receipt: it was saved unless `noop` is true; a merge
  (`noop: true`) wrote nothing: `merged_into_key` holds the fact;
  `status: duplicate`: leave both rows; a conflict: revise as `next` says.
- `abstain` and `below_threshold` are answers; `verified: false` or a stale
  `valid_at` means say so; a moved key answers with `canonical_key`.
- `code_state: changed` means the code the memory is about changed after it
  was written: check the code before relying on it, then `memory.update` it.
  `unresolved` means it was renamed or removed and not followed: find it again;
  `missing` means it is gone.
- Before you report done: one pass over what should outlive the session.

The full shape rules, the receipt table, the end-of-task review and the
verification gate are in `reference.md` beside this file.

Files in this skill

  • SKILL.md5 KB
  • reference.md9.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.