本文へスキップ
Skillpedia
エージェント48k · #4257

context-management-context-save

できること

このツールは、プロジェクトや会話に関する重要な情報を、AI が保存して整理するのを助けます。詳細、判断内容、現在の状態を記録するので、長い会話や複数人での作業でも、AI は後からその情報を覚えて使うことができます。

使う場面

  • ✓新しいプロジェクトを始めて、その特徴を記録したいとき。
  • ✓プロジェクトの途中で、進捗や重要な判断を保存したいとき。
  • ✓チームで作業し、全員が同じ情報を持てるようにしたいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/context-management-context-save/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/context-management-context-save/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“このプロジェクトのコンテキストを保存してください。フォルダー構成、設計上の判断、セマンティックタグを含めてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

AI がプロジェクトを分析し、判断内容や現在の状態といった重要な情報を見つけ出して、整理したうえで保存します。必要になったときに、この情報を取り出せるので、大事なことを忘れずに済みます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Context Save Tool: Intelligent Context Management Specialist

Use this skill when

  • Working on context save tool: intelligent context management specialist tasks or workflows
  • Needing guidance, best practices, or checklists for context save tool: intelligent context management specialist

Do not use this skill when

  • The task is unrelated to context save tool: intelligent context management specialist
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Role and Purpose

An elite context engineering specialist focused on comprehensive, semantic, and dynamically adaptable context preservation across AI workflows. This tool orchestrates advanced context capture, serialization, and retrieval strategies to maintain institutional knowledge and enable seamless multi-session collaboration.

Context Management Overview

The Context Save Tool is a sophisticated context engineering solution designed to:

  • Capture comprehensive project state and knowledge
  • Enable semantic context retrieval
  • Support multi-agent workflow coordination
  • Preserve architectural decisions and project evolution
  • Facilitate intelligent knowledge transfer

Requirements and Argument Handling

Input Parameters

  • $PROJECT_ROOT: Absolute path to project root
  • $CONTEXT_TYPE: Granularity of context capture (minimal, standard, comprehensive)
  • $STORAGE_FORMAT: Preferred storage format (json, markdown, vector)
  • $TAGS: Optional semantic tags for context categorization

Context Extraction Strategies

1. Semantic Information Identification

  • Extract high-level architectural patterns
  • Capture decision-making rationales
  • Identify cross-cutting concerns and dependencies
  • Map implicit knowledge structures

2. State Serialization Patterns

  • Use JSON Schema for structured representation
  • Support nested, hierarchical context models
  • Implement type-safe serialization
  • Enable lossless context reconstruction

3. Multi-Session Context Management

  • Generate unique context fingerprints
  • Support version control for context artifacts
  • Implement context drift detection
  • Create semantic diff capabilities

4. Context Compression Techniques

  • Use advanced compression algorithms
  • Support lossy and lossless compression modes
  • Implement semantic token reduction
  • Optimize storage efficiency

5. Vector Database Integration

Supported Vector Databases:

  • Pinecone
  • Weaviate
  • Qdrant

Integration Features:

  • Semantic embedding generation
  • Vector index construction
  • Similarity-based context retrieval
  • Multi-dimensional knowledge mapping

6. Knowledge Graph Construction

  • Extract relational metadata
  • Create ontological representations
  • Support cross-domain knowledge linking
  • Enable inference-based context expansion

7. Storage Format Selection

Supported Formats:

  • Structured JSON
  • Markdown with frontmatter
  • Protocol Buffers
  • MessagePack
  • YAML with semantic annotations

Code Examples

1. Context Extraction

def extract_project_context(project_root, context_type='standard'):
    context = {
        'project_metadata': extract_project_metadata(project_root),
        'architectural_decisions': analyze_architecture(project_root),
        'dependency_graph': build_dependency_graph(project_root),
        'semantic_tags': generate_semantic_tags(project_root)
    }
    return context

2. State Serialization Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "project_name": {"type": "string"},
    "version": {"type": "string"},
    "context_fingerprint": {"type": "string"},
    "captured_at": {"type": "string", "format": "date-time"},
    "architectural_decisions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "decision_type": {"type": "string"},
          "rationale": {"type": "string"},
          "impact_score": {"type": "number"}
        }
      }
    }
  }
}

3. Context Compression Algorithm

def compress_context(context, compression_level='standard'):
    strategies = {
        'minimal': remove_redundant_tokens,
        'standard': semantic_compression,
        'comprehensive': advanced_vector_compression
    }

…
よくある質問

「セマンティックタグ」とは何ですか?

内容の意味を表すキーワードやラベルのことです。AI が関連する情報を理解し、見つけやすくするために使われます。

なぜコンテキストを保存するのですか?

AI が、すでに行ったことや決めたことを忘れないようにするためです。これにより、前回の続きから作業を再開でき、一貫性を保ち、共同作業もしやすくなります。

どのような保存形式がありますか?

JSON(構造化されたデータ向け)、Markdown(文章やメモ向け)、またはベクトルデータベース(類似性による高度な検索向け)などの形式で保存できます。

詳細

作者による元の説明

Use when working with context management context save

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4257
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル