スキル一覧に戻る
Z-M-Huang

mem-save

by Z-M-Huang

Claude code knowledge base using obsidian

8🍴 2📅 2026年1月24日
GitHubで見るManusで実行

SKILL.md


name: mem-save description: Explicitly save knowledge, patterns, decisions, or learnings to the knowledge base. Use when you want to document something for future reference. version: 1.0.4 allowed-tools:

  • mcp__obsidian-mem__mem_write
  • mcp__obsidian-mem__mem_read

Memory Save Skill

Explicitly save knowledge to the Claude Code memory system for future reference.

When to Use

  • Recording an important decision
  • Documenting a useful pattern
  • Saving a solution to a tricky error
  • Noting learnings for future reference
  • Creating reusable knowledge

Usage

The skill accepts content to save. Examples:

/mem-save decision: We chose PostgreSQL over MongoDB for this project
/mem-save pattern: This regex pattern works for parsing dates: /\d{4}-\d{2}-\d{2}/
/mem-save learning: The API rate limits at 100 requests per minute
/mem-save error-fix: The CORS issue was fixed by adding the origin header

Note Types

TypeUse For
decisionArchitectural or design decisions with rationale
patternReusable code patterns, regex, algorithms
errorError solutions and workarounds
learningGeneral insights and knowledge
fileFile-specific notes and documentation

Workflow

  1. Identify Content Type

    • Parse the user's input to determine the note type
    • If unclear, ask for clarification
  2. Structure the Content

    • Extract the main information
    • Add appropriate context (project, tags)
    • Format with Obsidian-friendly markdown
  3. Save and Confirm

    • Use mem_write to persist
    • Show the saved note path
    • Offer to add more details

Content Templates

Decision

## Context
[Why this decision was needed]

## Decision
[What was decided]

## Rationale
[Why this approach was chosen]

## Consequences
- Positive: ...
- Negative: ...

Pattern

## Description
[What this pattern does]

## When to Use
[Scenarios where this applies]

## Implementation
\`\`\`language
[Code example]
\`\`\`

Error Fix

## Problem
[The error encountered]

## Cause
[Root cause]

## Solution
[How it was fixed]

## Prevention
[How to avoid in future]

Guidelines

  • Always include context about why something was decided
  • Add relevant tags for discoverability
  • Link to related notes when possible
  • Be specific enough to be useful later

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です