本文へ移動
cccskills
無料GitHub で公開

mk-memory

JSON-canonical session memory in .meowkit/memory (Markdown is a generated view). Capture learnings, patterns, costs; loads at Orient, persists at Reflect. NOT for retrospectives (mk:retro).

インストール方法を見る

含まれるファイル(6)

  • SKILL.md3.6 KB
  • references/capture-architecture.md6.4 KB
  • references/consolidation.md5.0 KB
  • references/cost-tracking.md4.2 KB
  • references/pattern-extraction.md4.8 KB
  • references/session-capture.md5.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Memory System Toolkit

Reference guides for the memory system: session capture, pattern extraction, and cost tracking.

When to Use

  • During Phase 0 (Orient) to load previous session context
  • During Phase 6 (Reflect) to capture learnings and patterns
  • When the analyst agent tracks costs or extracts patterns

Workflow Integration

Operates in Phase 0 (Orient) and Phase 6 (Reflect). Output supports the analyst agent.

References

ReferenceWhen to loadContent
capture-architecture.mdBefore any agent-side memory writeThe 2-path contract — ##prefix: is user-typed only; agents write via direct Edit
session-capture.mdPhase 6Capturing session learnings in 3 categories (patterns/decisions/failures)
pattern-extraction.mdPhase 6Extracting high-frequency patterns for instruction-file promotion
cost-tracking.mdPhase 0, 6Token usage tracking, cost reporting, budget alerts
consolidation.mdManualPrune stale entries, merge duplicates, archive cost data (run when memory grows large)

How session-capture is invoked

session-capture is not a CLI subcommand. At Phase 6 (Reflect) the agent reads references/session-capture.md and follows its 4 steps using Read / Write / Edit directly. There is no mewkit memory session-capture script — content extraction requires LLM analysis that a static CLI cannot produce.

Subcommands

--prune

Prune old standard-severity entries from canonical JSON stores, then regenerate Markdown views.

Stores subject to pruning: fixes.json, review-patterns.json, and architecture-decisions.json.

What gets pruned:

  • ## headings with a date (YYYY-MM-DD, severity: standard) older than threshold (default: 90 days)

What is exempt:

  • severity: critical or severity: security entries — never pruned
  • Entries without a parseable date — kept as-is (safe default)

How to run:

the memory skill --prune              # default 90-day threshold
the memory skill --prune --days 180   # custom threshold
the memory skill --prune --dry-run    # show what would be archived without moving

Mechanism: prune schema entries in JSON by lastSeen and severity, then run mewkit memory render-views. Report the affected stores and entries.

Recovery: Copy entries from lessons-archive.md back to the appropriate topic file.

Schema Notes

Split JSON files (fixes.json, review-patterns.json, architecture-decisions.json) all use v2.0.0 schema with fields: version, scope, consumer, patterns[], metadata. Each pattern entry supports: id, type, category, severity, domain, applicable_when, context, pattern, frequency, lastSeen.

Gotchas

  • Stale patterns applied to changed codebase: Memory suggests patterns from old architecture → Run consolidation when patterns exceed 50 entries; flag patterns with lastSeen > 6 months
  • cost-log.json growing unbounded: Every session appends without pruning → Run consolidation to archive entries older than 90 days
  • Generated views are not writable: Do not write lessons.md or Markdown topic files. Update the canonical JSON store, then render views.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use this skill to generate well-branded interfaces and assets for MeowKit (AI Agent Toolkit for Claude Code), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

mk-advise

無料

Turn a raw idea into ONE honest recommendation: interview one question at a time until confirmed, then give a verdict with trade-offs and a checklist. Not for options or debate.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Browser automation CLI for agents: navigate, click/fill, screenshot, extract data, test apps, Electron/Slack, cloud browsers. NOT for the user's real Chrome profile/cookies (mk:chrome-profile).

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Detects the right agent and complexity tier at Phase 0 orient; runs first in every workflow. NOT for runtime agent routing inside a single skill.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Design and review durable REST, GraphQL, RPC, or event API contracts: shape, compatibility, pagination, error semantics. Discovers existing consumers first. Not implementation, schema, or release.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

ngocsangyem のスキルをすべて見る

このスキルの問題を報告する