मुख्य सामग्री पर जाएँ
Skillpedia
कनेक्टर (MCP)15k · #11037

ai-memory-durable-pages

यह क्या करती है

यह स्किल memory wiki के स्थायी पेज संभालती है, जिन्हें एजेंट बाद में पढ़ सकता है। यह उन लोगों के लिए है जो चाहते हैं कि कुछ प्रोजेक्ट ज्ञान लंबे समय तक सुरक्षित रहे।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से साफ़ तौर पर कोई बात स्थायी रूप से याद रखने को कहते हैं।
  • ✓जब आप memory wiki में कोई नियम, टिप्पणी या प्रोजेक्ट नोट सेव करवाना चाहते हैं।
  • ✓जब आप किसी मौजूदा memory पेज को अपडेट या हटवाना चाहते हैं।

Skill का लिंक

https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-durable-pages/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-durable-pages/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“स्थायी रूप से याद रखिए कि हमारा staging database हर रविवार रात रीसेट होता है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट शीर्षक वाला एक संक्षिप्त पेज लिखता है, मौजूदा पेज के नामित हिस्से patch करता है, या पथ से पेज हटाता है। रोज़मर्रा की सत्र गतिविधि इस तरह सेव नहीं होती।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

<!-- ai-memory-managed: routing-skill -->

ai-memory durable pages

Use this skill only for deliberate durable wiki mutations. Routine session capture is automatic, and permanent notes require an explicit user request.

Tools in this cluster

  • memory_write_page writes or replaces a durable wiki page for permanent project knowledge.
  • memory_patch_page atomically changes named Markdown sections in an existing page without re-emitting its frontmatter or unrelated body.
  • memory_delete_page removes a durable wiki page by exact path.
  • memory_restore_page lists a page's checkpoints (no rev) or writes an earlier version back (with rev), including a deleted page. It is admin only on a multi-user server and does not reach scope: "profile" pages.

Writing durable memory

Write a page only when the user explicitly asks to remember something permanently, save a note, add an annotation, or record project knowledge. Do not use durable pages for transient progress, normal status updates, or next-session context.

Put the page title as a # H1 on the first line of the body and omit the separate title argument. ai-memory derives the title from that H1. Keep the content concise and fact-like, with enough context that a future agent can apply it without rereading the whole session.

Optional top-level metadata: kind (64 characters), entities (10 names, 64 characters each, normalized and deduplicated), abstract (1,024 characters), and relations (an object mapping causes, fixes, or contradicts to page target arrays, 32 targets total, 1,024 characters each). Relation targets use path, project:path, or workspace/project:path; extensionless page paths resolve with .md, and scope components must already be trimmed. Limits apply to raw values before trimming, normalization or deduplication. Arbitrary frontmatter and author fields are not editable. Every memory_write_page call replaces the whole page and its metadata; omitted fields are cleared. Read the current page first when preserving existing content matters, and pass its returned page_id as expected_page_id so a concurrent change fails without writing. Use create_only: true when the page must not already exist; do not combine the two preconditions.

For a targeted edit, prefer memory_patch_page: read the page, pass its required page_id as expected_page_id, and submit one bounded batch. append_to_section and add_section use heading anchors from the read response; replace_section must also carry that section's returned sha256. All edits resolve against the same captured body and either commit together or write nothing. Missing, duplicate, stale, or conflicting anchors fail closed. Use memory_write_page when replacing the whole document.

When the user explicitly wants a note to be temporary, pass expires_at as an RFC3339 instant or a bare YYYY-MM-DD (the end of that day in UTC). After the TTL, normal search, recent, and briefing reads hide the page; the next forget sweep deletes it. A TTL outranks pinned, so do not combine them unless the user has deliberately requested that behavior.

Writing a session's pages yourself

When the user asks to consolidate the session you are taking part in, write its pages with your own model instead of the server's: read the session's raw observations first (the retrieval skill covers that read), then write each page with memory_write_page passing the same session_id, which records the session as evidence and settles its queued consolidation job. Match the server's multi-page layout, at most five pages:

  • sessions/<session_id>.md: the session narrative, tier: "episodic", kind: "fact".
  • concepts/<slug>.md: evergreen concept pages, tier: "semantic", kind: "fact".
  • decisions/<short>.md: ADR-style records of a choice made, tier: "semantic", kind: "decision".
  • gotchas/<slug>.md: failure modes and surprises, tier: "semantic", kind: "gotcha".
  • _rules/<slug>.md: a durable project convention written as a standalone instruction, tier: "semantic", kind: "rule".

Only split out what the session actually established; a short session is one session page. Record what was said and done, and never turn a user's question into a confirmed decision.

Project rules belong in instructions first

If the user asks to create a durable project rule such as always do X or never do Y, update the project's canonical agent instruction file when the repository

अक्सर पूछे जाने वाले सवाल

क्या यह मेरी चैट की हर बात सेव करेगी?

नहीं। यह स्थायी पेज तभी लिखती है जब आप साफ़ तौर पर कहें, और अस्थायी प्रगति छोड़ देती है।

क्या यह पुराना संस्करण वापस ला सकती है?

हाँ। यह किसी पेज के पुराने संस्करण सूचीबद्ध कर सकती है और कोई संस्करण वापस लिख सकती है, हटाए गए पेज सहित।

क्या पेज का अलग शीर्षक चाहिए?

नहीं। शीर्षक पेज के मुख्य भाग की पहली heading से आता है।

जानकारी

लेखक का मूल विवरण

Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or annotation, updating a note, or deleting a memory page. Trigger by semantic intent rather than exact wording; routine session capture is not a durable-page request.

repo: akitaonrails/ai-memory

लोकप्रियता

GitHub स्टार
15k
रैंकिंग में स्थान
#11037
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

ai-memory-handoff

15k

आपके एजेंट को संदर्भ अगले सत्र तक पहुँचाने में मदद करती है, ताकि आप जहाँ रुके थे वहीं से उठा सकें, समापन नोट सहेज सकें, या गलती से भेजा handoff रद्द कर सकें।

AI और एजेंटएजेंट

ai-memory-learning-maintenance

15k

सत्र नोट्स को विषय के पेजों में बदलकर, विरोधाभास जाँचकर और माँगे जाने पर पुरानी प्रविष्टियाँ हटाकर आपके memory wiki को व्यवस्थित रखने में आपके एजेंट की मदद करती है।

AI और एजेंटएजेंट

ai-memory-messaging

15k

आपके एजेंट को किसी दूसरे प्रोजेक्ट के inbox में आत्मनिर्भर अनुरोध भेजने, आपके प्रोजेक्ट का inbox जाँचने, या आपके भेजे संदेश को रद्द करने में मदद करती है।

AI और एजेंटएजेंट

ai-memory-retrieval

15k

बिना कुछ बदले आपके प्रोजेक्ट के memory wiki में पिछले फ़ैसले, नियम और सावधानियाँ खोजने और पूरे पेज पढ़ने में आपके एजेंट की मदद करती है।

AI और एजेंटकनेक्टर (MCP)

मिलती-जुलती skills