memory
Skill103 starsChanged 3 days agoMITView on GitHub
Find and keep context in log's memory. `log memory search "<query>"` searches every rule, skill, doc, infra note, Claude memory file, page state, account and agent note by keyword and meaning at once; `log memory remember "<text>"` saves what a session learned; `log memory sync` refreshes it. Use before guessing at how something works, where a login lives, what an account is doing or what an earlier session found, and at the end of a session that learned something new.
123 other projects use a version of this.
Adopted by
Most recently taken up by
- yezzzp/agent-relay-protocoltheir own version, first seen Nov 29, 2026
- biliboss/skillstheir own version, first seen Nov 29, 2026
- BlinkVoid/GearCoretheir own version, first seen Nov 29, 2026
- matthewwong525/WongStacktheir own version, first seen Nov 29, 2026
- rshankras/claude-code-apple-skillstheir own version, first seen Nov 29, 2026
- gurinderu/crafttheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation 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.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
roronoazoroshao369Skillmemory-compression
Also in 5 projects that use this
Maliot100XSkillsend-user-message
Send a proactive message to a paired user via their channel (Discord, Telegram, or WhatsApp). Use when the agent needs to notify, alert, or send an unsolicited message to a user — especially during heartbeat invocations, scheduled tasks, or when the agent wants to reach out without a prior user message in the current conversation. Triggers: 'send message to user', 'notify user', 'alert user', 'message the user on discord/telegram/whatsapp', or any need to proactively communicate with a paired sender.
Also in 4 projects that use this
jh941213Skilldocs-ci
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Also in 3 projects that use this
jh941213Skilldocs-interfaces
API·이벤트 인터페이스 문서(OpenAPI·swagger·AsyncAPI 명세, 엔드포인트 레퍼런스, API 구성도·시퀀스, API CHANGELOG)를 만들거나 코드와 맞출 때 사용. 시스템 구성도는 docs-architecture, API 설계 원칙은 api-design-principles.
Also in 3 projects that use this
- +5 more from naman10parikh
- +1 more from jh941213
Other versions123 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 123
- google-gemini/gemini-cli★ 109ksame name
- jlia0/tinyclaw★ 3.6ksame name
- TinyAGI/tinyagi★ 3.6ksame name
- TinyAGI/tinyclaw★ 3.6ksame name
- Chachamaru127/claude-code-harness★ 3.2ksame name
- codeaholicguy/ai-devkit★ 1.7ksame name
- Muuuun/luxas★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 915same name
- shobcoder/shob★ 575same name
- boshu2/agentops★ 464same name
113 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.
In this repository104 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- log-discord-channel-replySkill
- log-discord-cold-outboundSkill
- log-discord-forum-postsSkill
- log-discord-group-chat-readSkill
- log-discord-meme-replySkill
- log-discord-server-replySkill
- log-discord-server-searchSkill
- log-facebook-groupsSkill
- log-facebook-marketplace-listingsSkill
- log-inbox-agent-to-agentSkill
- log-inbox-boss-maxxingSkill
- log-inbox-governor-resetSkill
- log-inbox-ignore-serverSkill
- log-inbox-label-queueSkill
- log-inbox-outcomesSkill
- log-inbox-quiet-pushSkill
- log-inbox-reactionsSkill
- log-inbox-rea-looksmaxxingSkill
- log-inbox-said-bySkill
- log-inbox-scope-ajobSkill
- log-inbox-show-meSkill
- log-inbox-sign-inSkill
- log-inbox-triageSkill
- log-inbox-voice-noteSkill
- log-inbox-warm-peopleSkill
- log-instagram-dm-replySkill
- log-instagram-new-platformSkill
- log-linkedin-networkSkill
- log-linkedin-postsSkill
- log-log-agent-setupSkill
- log-log-browser-moveSkill
- log-log-local-modelsSkill
- log-log-secret-storeSkill
- log-log-tool-from-one-offSkill
- log-log-tool-healthSkill
- log-log-update-logSkill
- log-network-relationship-machineSkill
- log-network-who-to-talk-toSkill
- log-people-botsSkill
- log-people-factsSkill
- log-reddit-contributor-maxxingSkill
- log-slack-dm-replySkill
- log-tiktok-postSkill
- log-tiktok-video-researchSkill
- log-twitter-affiliate-marketingSkill
- log-twitter-collab-maxxingSkill
- log-twitter-dm-inboxSkill
- log-twitter-engagement-repliesSkill
- log-twitter-engager-dmsSkill
- log-twitter-followersSkill
- log-twitter-follow-upsSkill
- log-twitter-get-the-actionSkill
- log-twitter-manager-maxxingSkill
- log-twitter-network-maxingSkill
- log-twitter-niche-map-regionSkill
- log-twitter-notificationsSkill
- log-twitter-recruitingSkill
- log-twitter-reply-guy-funnelSkill
- The first 60 shown.
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 105 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
- Distinctive: line 16
Never write a secret into it: No password, token, API key, PIN, cookie, proxy URL or private key, in a note or anywhere else.
- Very specific: line 69
Read what kbArticles holds, compare each article's content hash, and write the new and changed ones in transactions of 200.
“Common” is measured: kept by at least 6 in 10 of the 105 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
memory
log's memory is one place for everything log-cli knows: the owner's rules,
the skills, the docs, the infra notes, every agent's memory files, the known
page states, the accounts, and the notes agents save. It lives in the
workspace log.db and is searched there, on this machine. It needs no server
or setting, so it always works.
Hard boundaries
- Never write a secret into it. No password, token, API key, PIN, cookie, proxy URL or private key, in a note or anywhere else. Say where a login lives (a file path), never what it is. The scrubber hides what it can recognise, but it is a safety net, not permission.
- Never mention Meta's or Facebook's rules from it (rule 38).
docs/vendorsand the enforcement research are never collected. - Articles are never deleted by a sync. An article removed from the repo
stays in
kbArticles; only chunks whose article is gone are dropped.
Where it lives
- Articles: table
kbArticlesin the workspacelog.db:key,kind,title,body(Markdown),source,tags,author,contentHash,syncedAt. - Search index: table
kbChunksin the samelog.db: each chunk's text, article key, kind, title, source, the content hash and embedding model it came from, and its 384-dimension vector. - Both come from
log.db's versioned schema (migration 33,knowledgeBase).
Kinds
| Kind | From |
rule | each numbered rule in AGENTS.md (rule:73) |
section | each other AGENTS.md section (agents:howWeFixProblems…) |
skill | skills/*/SKILL.md (skill:inspect) |
doc | docs/**/*.md, the request docs included (doc:docs/adsPower.md) |
infra | docs/infra/*.md (doc:docs/infra/server.md) |
memory | every Claude Code memory file in ~/.claude/projects/*/memory (memory:log-cli/cloudflare-access) |
pageState | PAGE_STATES (pageState:messengerPinCreate) |
account | log-cli's accounts (the local account store), status and setup only (account:10000000000001) |
note | log memory remember |
Commands
Agents call the MCP tools, never a hand-run log memory … (rule 163):
memorySearch { query: "why did the tunnel go down" } best articles, keyword + meaning
memorySearch { query: "messenger pin", kind: "pageState", limit: 3 }
memoryShow { key: "rule:73" } one article in full
memoryRemember { text: "…", tags: ["infra", "server"] } a note, saved and indexed at once
memorySync {} refresh from every source (Monitor it, rule 26)
memorySync { noAccounts: true } without reading log-cli's accountsIn a terminal the same commands are log memory search|show|remember|sync. What
each one must do is in the spec, Memory.
How a sync works
- Collect every source (about 600 articles, under a second), scrubbing secrets from each body.
- Read what
kbArticlesholds, compare each article's content hash, and write the new and changed ones in transactions of 200. - Re-index every article whose hash differs from the one its chunks carry, or whose chunks came from another embedding model, in chunks of about 1,200 characters embedded with all-MiniLM-L6-v2 on this machine; drop chunks whose article is gone.
How a search works
The chunks of the current model are ranked twice, by BM25 keyword score and by cosine similarity to the query's embedding, and the two lists are fused with reciprocal rank fusion. Each article appears once, at its best chunk.
When a session learns something
Save it before the session ends, in one or two plain sentences with where it came from:
memoryRemember { text: "The tunnel drops when its token file is replaced while it runs; restart the tunnel after changing the token (found 2026-10-27 in the tunnel's own log).", title: "Restart the tunnel after a token change", tags: ["infra", "server"] }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.

