SkillsReviewed · rohitg00

agentmemory memory-discipline

Memory-discipline is a skill for developers using agentmemory with AI assistants, but it depends on memory tools that the skill itself does not provide. It tells an assistant to recall context before work, save decisions with their reasons as they settle, and handle corrections through a separate lesson workflow. Tool availability and automatic capture depend on the host setup.

Researched 16 Nov 2026

In short.

Memory-discipline is an agentmemory skill for developers who want AI assistants to retain useful decision context, but its usefulness depends on connected memory tools and correct host configuration. It provides specific rules for when to search, what deserves a persistent record, and how corrections should influence later work. Its troubleshooting document covers missing tools, host differences and authenticated REST fallback. Retrieval quality, automatic capture, operating cost and runtime reliability are not established by the documents.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the complete selected folder: plugin/skills/memory-discipline/SKILL.md and plugin/skills/memory-discipline/TROUBLESHOOTING.md, plus the parent repository LICENSE, at revision ac5566dd2045ed6f6e1e4fa0c9c94a27a3dd1205. The daemon, memory storage and retrieval implementations, host connectors, hook and compression implementations, and sibling skills are outside this scope. Findings describe documented behavior. Installation, tool execution, retrieval quality, persistence, automatic capture and security enforcement are untested.

The overview

Identity

Memory-discipline belongs to the agentmemory repository maintained under rohitg00. The resource consists of plugin/skills/memory-discipline/SKILL.md and its accompanying TROUBLESHOOTING.md, with the repository LICENSE supplying the licence terms. Its source folder is [https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/memory-discipline].

The skill is a set of instructions that an assistant can load. Its front matter sets user-invocable to false and describes use at task starts, decision points and corrections. The selected folder contains guidance for using memory interfaces; the memory service implementation is outside this scope.

Assessment

Its clearest value is a concrete convention for preserving decisions and their reasons. It distinguishes useful context from routine narration and facts already available in the repository, which makes it a good fit for developers repeatedly revisiting the same project.

Adoption depends on the surrounding integration. The documentation explicitly distinguishes connected tools from working lifecycle capture, and a basic fallback tool inventory from full daemon functionality. The files provide useful operating guidance, but no measured evidence of better recall, fewer repeated mistakes or faster development.

Users

The workflow suits developers whose assistant sessions accumulate architectural choices, debugging discoveries or recurring corrections. For beginners, the essential distinction is that the skill tells the assistant when and what to remember; a separate memory system stores and retrieves the records.

Experienced developers can use its conventions for decision metadata, project provenance and correction handling. The troubleshooting material assumes familiarity with host configuration, MCP connections and, for REST fallback, authentication settings.

Capabilities

The skill defines a search-before-work loop and a save-at-resolution loop. Suggested records include settled decisions with reasons, non-obvious debugging constraints and environment facts that cannot be derived from the repository. Each save should carry two to five specific concepts and real file paths.

It delegates corrections to a separate lesson skill and names memory_lesson_recall for retrieving relevant previous lessons. It also instructs the assistant to respect save permissions, avoid recording secrets, verify retrieved project provenance and treat retrieved records as untrusted evidence. These are behavioral instructions; enforcement by the underlying system is not established.

Using it

Requirements

The intended environment needs a host that can load the skill and provide compatible memory interfaces. The examples name memory_smart_search and memory_save; the correction loop also depends on lesson functionality. Actual tool names and parameters must follow the connected host's advertised schema.

Troubleshooting discusses Claude Code, Codex, Hermes, OpenClaw, Pi and OMP, with different checks for each. Their mention does not establish successful compatibility across versions. Minimum host versions, hardware requirements and a complete installation procedure are not specified.

Mechanism

At the start of relevant work, the assistant searches for earlier decisions and checks their provenance. When a decision settles or a debugging problem is resolved, it saves both the conclusion and its reason. Before repeating a task associated with a correction, it recalls relevant lessons.

The skill assigns event capture to supported hooks and assigns judgment about useful facts to the assistant. Session summaries are conditional on the relevant hooks and compression being enabled. It explicitly warns that a project parameter should not be assumed to enforce isolation.

Setup

The documented connection checks start with the intended host's plugin, provider and MCP inventories. They then cover reloading the affected connection, inspecting the actual tool schemas, and checking agentmemory status and AGENTMEMORY_TOOLS. For Codex, the document advises choosing one MCP connection when both agentmemory connect codex and the plugin are enabled.

A REST fallback is described for a running daemon, with a default base URL of [http://localhost:3111]. Authentication requires a bearer credential by default. The instructions require HTTPS for non-loopback authenticated requests, forbid authenticated redirects, and restrict local credential-file fallback to loopback addresses. Explicit credential mode disables that local-file fallback. These procedures have not been assessed through execution.

Example

The source illustrates a task-start search for "myrepo auth refresh flow" with a limit of five results. Its save example records a cursor-pagination decision, the reason behind it, related concepts and src/db/list.ts as file metadata.

The practical pattern is to retrieve relevant context before making a change and preserve the reasoning when the decision settles. The examples are illustrative: they do not demonstrate a completed search, a successful save or a measured pagination result.

Assessment & evidence

Limitations

Retrieval accuracy, reliable persistence, project isolation and automatic capture are untested. The selected folder does not establish the memory store's encryption, retention, deletion or access-control behavior. Its advice to verify provenance is especially relevant because it warns against assuming project-level isolation.

The troubleshooting document warns that native save/search support does not prove broader tools are connected. It also distinguishes an outage from an empty search result and notes that a timed-out write may already have committed. Those cases require state inspection before conclusions or retries.

Reasoning

The design rationale is that event capture cannot decide which fact mattered or why a decision was made. Recording a reason at the moment of resolution is intended to retain context that an end-of-session summary could lose.

That rationale supports using the skill as a convention for assistant behavior. The documents provide no comparative study showing improvement over manual notes, ordinary repository documentation or another memory workflow.

Alternatives

For explicit control over individual reads and writes, the source points to recall and remember as separate user-invoked skills. It identifies lesson as the companion for correction handling. Their contents are outside the selected folder, so their detailed behavior is not assessed.

The troubleshooting document offers REST access as a fallback when MCP tools remain unavailable and the daemon is running. It provides no external memory-product comparison or evidence for choosing among other services.

Evidence

The behavior is described in the original SKILL.md at [https://raw.githubusercontent.com/rohitg00/agentmemory/ac5566dd2045ed6f6e1e4fa0c9c94a27a3dd1205/plugin/skills/memory-discipline/SKILL.md]. Connection recovery and REST authentication are described in TROUBLESHOOTING.md at [https://raw.githubusercontent.com/rohitg00/agentmemory/ac5566dd2045ed6f6e1e4fa0c9c94a27a3dd1205/plugin/skills/memory-discipline/TROUBLESHOOTING.md].

Together with the repository LICENSE, these establish the documented workflow and reuse terms. They contain no runtime test results, retrieval evaluation or measured operating costs.

Access & freshness

Costs

The Apache 2.0 licence grants its copyright and patent permissions without a licence charge or royalty. The documents do not specify hosting, storage, model-usage or support prices, so the operating cost of a compatible agentmemory setup is unknown. No measured token, latency or storage overhead is supplied.

Rights

The repository LICENSE identifies Copyright 2026 Rohit Ghumare and provides Apache License 2.0 terms. These permit use, modification and redistribution, including commercial use, subject to conditions such as supplying the licence, marking modified files and retaining applicable notices. Attribution from a NOTICE file must also be preserved when such a file accompanies the work.

The licence includes a contributor patent grant with termination conditions, grants no general trademark permission and supplies the work without warranty. The original licence is available at [https://raw.githubusercontent.com/rohitg00/agentmemory/ac5566dd2045ed6f6e1e4fa0c9c94a27a3dd1205/LICENSE].

Freshness

The source snapshot is pinned to revision ac5566dd2045ed6f6e1e4fa0c9c94a27a3dd1205 and was captured on 16 November 2026 at 12:06:40.706 UTC. The folder URL follows main and may later contain different material. No release number or supported host-version matrix is supplied; later revisions and current integration behavior are unknown.

Actions

Before adoption, establish what the assistant may save and confirm that the intended host exposes the required search, save and lesson interfaces. A small, non-sensitive save-and-retrieve trial should check returned content and project provenance. Automatic capture needs a separate check using a real turn and a recorded observation.

Check the actual connected schemas before adapting the examples. Treat connection failures as failures, inspect state before retrying uncertain writes, and verify changeable facts retrieved from memory against current sources. These are recommended adoption checks; their outcomes remain unassessed.

Evidence for this report

LICENSEnotice · checked 2026-11-16
plugin/skills/memory-discipline/SKILL.mdselected · checked 2026-11-16