Agent skill

Knowledge Ops

by affaan-m in affaan-m/ECC

複数のストレージレイヤー(ローカルファイル、MCP メモリ、ベクターストア、Git リポジトリ)にわたるナレッジベースの管理、取り込み、同期、検索。ユーザーが知識システム全体で保存・整理・同期・重複排除・検索を行いたい場合に使用します。

MITAuto-check passedDevelopment

Install Knowledge Ops

skills CLI
$ npx skills add affaan-m/ECC --skill knowledge-ops -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install affaan-m/ECC knowledge-ops --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/ja-JP/skills/knowledge-ops .claude/skills/knowledge-ops && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
knowledge-ops
GitHub stars
275k
Token cost
~1k tokens
SKILL.md length
200 words
Files
1
Skills in repo
645
Repo updated
First seen
Licence
MIT

At a glance

複数のストレージレイヤー(ローカルファイル、MCP メモリ、ベクターストア、Git リポジトリ)にわたるナレッジベースの管理、取り込み、同期、検索。ユーザーが知識システム全体で保存・整理・同期・重複排除・検索を行いたい場合に使用します。

  • Works in 4 steps: 分類 → 重複排除 → 保存 → …
  • Development work in your project
  • SKILL.md covers アクティベートするタイミング, ナレッジアーキテクチャ, 取り込みワークフロー and 同期操作, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Knowledge Ops is an agent skill from affaan-m/ECC. 複数のストレージレイヤー(ローカルファイル、MCP メモリ、ベクターストア、Git リポジトリ)にわたるナレッジベースの管理、取り込み、同期、検索。ユーザーが知識システム全体で保存・整理・同期・重複排除・検索を行いたい場合に使用します。

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Model Context Protocol, Git and GitHub. The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/knowledge-ops”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 分類
  2. 重複排除
  3. 保存
  4. インデックス化

What it can do on your machine

Read from SKILL.md and the folder at commit ef648e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Knowledge Ops loads about 1k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 200 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from affaan-m/ECC at commit ef648e0, republished under its MIT licence (© affaan-m). 200 words, ~1,014 tokens.

Download SKILL.mdSave it as .claude/skills/knowledge-ops/SKILL.md (or your agent's skills folder).
name
knowledge-ops
description
複数のストレージレイヤー(ローカルファイル、MCP メモリ、ベクターストア、Git リポジトリ)にわたるナレッジベースの管理、取り込み、同期、検索。ユーザーが知識システム全体で保存・整理・同期・重複排除・検索を行いたい場合に使用します。
origin
ECC

ナレッジ操作

複数のストアにわたって知識を取り込み・整理・同期・検索するための多層ナレッジシステムを管理します。

ライブワークスペースモデルを優先してください:

  • コード作業は実際にクローンしたリポジトリ内に置く
  • アクティブな実行コンテキストは GitHub、Linear、リポジトリローカルの working-context ファイルに置く
  • 広範な人間向けノートはリポジトリ外のコンテキスト/アーカイブフォルダに置くことができる
  • 耐久性のあるクロスマシンメモリはシャドウリポジトリのワークスペースではなく、ナレッジベースに置く

アクティベートするタイミング

  • ユーザーがナレッジベースに情報を保存したい
  • ドキュメント・会話・データを構造化されたストレージに取り込む
  • システム間で知識を同期する(ローカルファイル、MCP メモリ、Supabase、Git リポジトリ)
  • 既存の知識を重複排除または整理する
  • ユーザーが「KB に保存して」「ナレッジを同期して」「X について何を知っているか」「取り込んで」「ナレッジベースを更新して」と言う
  • 単純なメモリ呼び出しを超えたあらゆるナレッジ管理タスク

ナレッジアーキテクチャ

レイヤー 1: アクティブな実行の真実
  • ソース: GitHub のイシュー、PR、ディスカッション、リリースノート、Linear のイシュー/プロジェクト/ドキュメント
  • 用途: 作業の現在の運用状態
  • ルール: アクティブなエンジニアリング計画・ロードマップ・ロールアウト・リリースに影響する場合は、まずここに置くことを優先する
レイヤー 2: Claude Code メモリ(クイックアクセス)
  • パス: ~/.claude/projects/*/memory/
  • フォーマット: フロントマター付き Markdown ファイル
  • タイプ: ユーザー設定、フィードバック、プロジェクトコンテキスト、リファレンス
  • 用途: 会話間で持続するクイックアクセスコンテキスト
  • セッション開始時に自動読み込み
レイヤー 3: MCP メモリサーバー(構造化ナレッジグラフ)
  • アクセス: MCP メモリツール(create_entities、create_relations、add_observations、search_nodes)
  • 用途: 保存されたすべてのメモリに対するセマンティック検索、関係マッピング
  • クエリ可能なグラフ構造によるクロスセッション永続化
レイヤー 4: ナレッジベースリポジトリ / 耐久性ドキュメントストア
  • 用途: キュレートされた耐久性ノート、セッションエクスポート、合成されたリサーチ、オペレーターメモリ、長文ドキュメント
  • ルール: コンテンツがリポジトリ所有のコードでない場合の、クロスマシンコンテキストの優先耐久性ストア
レイヤー 5: 外部データストア(Supabase、PostgreSQL など)
  • 用途: 構造化データ、大規模ドキュメントストレージ、全文検索
  • 最適な場面: メモリファイルには大きすぎるドキュメント、SQL クエリが必要なデータ
レイヤー 6: ローカルコンテキスト/アーカイブフォルダ
  • 用途: 人間向けノート、アーカイブされたゲームプラン、ローカルメディア整理、一時的な非コードドキュメント
  • ルール: 情報ストレージには書き込み可能だが、シャドウコードワークスペースとしては使用しない
  • 使用しない場面: アクティブなコード変更や上流に置くべきリポジトリの真実

取り込みワークフロー

新しい知識を取り込む必要がある場合:

1. 分類

どのタイプの知識か?

  • ビジネス決定 -> メモリファイル(プロジェクトタイプ)+ MCP メモリ
  • アクティブなロードマップ / リリース / 実装状態 -> まず GitHub + Linear
  • 個人的な好み -> メモリファイル(ユーザー/フィードバックタイプ)
  • リファレンス情報 -> メモリファイル(リファレンスタイプ)+ MCP メモリ
  • 大規模ドキュメント -> 外部データストア + メモリ内サマリー
  • 会話/セッション -> ナレッジベースリポジトリ + メモリ内短いサマリー
2. 重複排除

この知識がすでに存在するか確認する:

  • 既存エントリのメモリファイルを検索する
  • 関連用語で MCP メモリをクエリする
  • 別のローカルノートを作成する前に、その情報が既に GitHub や Linear に存在するか確認する
  • 重複を作らない。代わりに既存エントリを更新する。
3. 保存

適切なレイヤーに書き込む:

  • クイックアクセスのために常に Claude Code メモリを更新する
  • セマンティック検索可能性と関係マッピングのために MCP メモリを使用する
  • 情報がライブプロジェクトの真実を変える場合はまず GitHub / Linear を更新する
  • 耐久性のある長文追記はナレッジベースリポジトリにコミットする
4. インデックス化

関連するインデックスまたはサマリーファイルを更新する。

同期操作

会話の同期

会話履歴を定期的にナレッジベースに同期する:

  • ソース: Claude セッションファイル、Codex セッション、その他のエージェントセッション
  • 宛先: ナレッジベースリポジトリ
  • クイックブラウジング用のセッションインデックスを生成する
  • コミットしてプッシュする
ワークスペース状態の同期

重要なワークスペース設定とスクリプトをナレッジベースにミラーする:

  • ディレクトリマップを生成する
  • コミット前に機密設定を編集する
  • 時系列で変更を追跡する
  • ナレッジベースやアーカイブフォルダをライブコードワークスペースとして扱わない
GitHub / Linear の同期

情報がアクティブな実行に影響する場合:

  • 関連する GitHub イシュー、PR、ディスカッション、リリースノート、またはロードマップスレッドを更新する
  • 作業に耐久性のある計画コンテキストが必要な場合は Linear にサポートドキュメントを添付する
  • ローカルノートが追加の価値を提供する場合のみ、後でミラーする
クロスソースナレッジの同期

複数のソースから一箇所に知識を集める:

  • Claude/ChatGPT/Grok 会話エクスポート
  • ブラウザブックマーク
  • GitHub アクティビティイベント
  • ステータスサマリーを書き、コミットしてプッシュする

メモリパターン

# 短期: 現在のセッションコンテキスト
セッション内タスク追跡には TodoWrite を使用

# 中期: プロジェクトメモリファイル
クロスセッション呼び出しのために ~/.claude/projects/*/memory/ に書き込む

# 長期: GitHub / Linear / KB
アクティブな実行の真実は GitHub + Linear に
耐久性のある合成コンテキストはナレッジベースリポジトリに

# セマンティックレイヤー: MCP ナレッジグラフ
永続的な構造化データには mcp__memory__create_entities を使用
関係マッピングには mcp__memory__create_relations を使用
既知エンティティへの新しい事実には mcp__memory__add_observations を使用
既存の知識を見つけるには mcp__memory__search_nodes を使用

ベストプラクティス

  • メモリファイルを簡潔に保つ。ファイルが無限に成長するのではなく、古いデータをアーカイブする。
  • すべてのナレッジファイルのメタデータにフロントマター(YAML)を使用する。
  • 保存前に重複排除する。まず検索し、次に作成または更新する。
  • 事実セットごとに正規のホームを 1 つにする。ローカルノート・リポジトリファイル・トラッカードキュメントにまたがる同じ計画の並行コピーを避ける。
  • Git にコミットする前に機密情報(API キー、パスワード)を編集する。
  • ナレッジファイルに一貫した命名規則を使用する(lowercase-kebab-case)。
  • 取得しやすくするためにエントリにトピック/カテゴリのタグを付ける。

品質ゲート

ナレッジ操作を完了する前に:

  • 重複エントリが作成されていないこと
  • Git 追跡ファイルから機密データが編集されていること
  • インデックスとサマリーが更新されていること
  • データタイプに適切なストレージレイヤーが選択されていること
  • 関連する場合はクロスリファレンスが追加されていること

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/ja-JP/skills/knowledge-ops of affaan-m/ECC.

Open the folder on GitHubat commit ef648e0

Compare with similar skills

Knowledge Ops next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Knowledge Ops compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Knowledge Ops this skillaffaan-m/ECC275k—~1kAutomated safety check: PassMIT
Git Releasewesammustafa/opencode-primer3971 repos~409Automated safety check: PassMIT
Liveagent Code ReviewStack-Cairn/LiveAgent2.2k—~2kAutomated safety check: PassMIT
Releasetractorjuice/arc-kit2.3k—~3kAutomated safety check: PassCustom licence
PR Review Feedback Handlergittower/git-flow-next458—~2.9kAutomated safety check: NotesCustom licence
GitHubswarmclawai/swarmclaw688—~820Automated safety check: PassMIT

Similar skills

  • Git Release

    wesammustafa/opencode-primer

    Draft release notes from merged PRs, propose a semver bump, and emit a copy-pasteable gh release create command.

    397 GitHub starsUsed in 1 repo~409 tokens
    DevelopmentAuto-check passed
  • Liveagent Code Review

    Stack-Cairn/LiveAgent

    Review an open GitHub pull request or the current local branch and working tree with parallel, independent reviewers and evidence-based validation.

    2.2k GitHub stars~2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Release

    tractorjuice/arc-kit

    Cut a new ArcKit release — bump versions in lockstep, regenerate non-Claude formats, validate plugin/marketplace agreement, tag, and push to standalone repos.

    2.3k GitHub stars~3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • PR Review Feedback Handler

    gittower/git-flow-next

    Fetches review comments on a pull request, judges each one, writes the evaluation to a plan file and implements accepted changes, waiting for approval before anything public.

    458 GitHub stars~2.9k tokensUpdated 1 mo ago
    DevelopmentAuto-check: notes
  • GitHub

    swarmclawai/swarmclaw

    GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

    688 GitHub stars~820 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Release Crate

    r3bl-org/r3bl-open-core

    Publish a crate release to crates.io with changelog, standalone release notes, git tag, and GitHub release.

    485 GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from affaan-m/ECC

All 645 skills in this repo
  • Videodb

    affaan-m/ECC

    Ingest, index, search, edit, and monitor video and audio with the VideoDB Python SDK — upload from files, URLs, or RTSP feeds, build spoken and scene indexes with timestamped search and playable…

    275k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    275k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    275k GitHub stars~2.9k tokensUpdated 4 days ago
    Auto-check passed
  • Measures whether agents actually follow a skill, rule or agent definition by generating scenarios at three strictness levels and scoring tool-call traces.

    275k GitHub starsUsed in 1 repo~623 tokens
    Auto-check passed
  • Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents.

    275k GitHub stars~3.5k tokensUpdated 4 days ago
    Auto-check passed
  • Adds one optional external Codex critique that tries to break a council's decision draft, sent to OpenAI only after you consent.

    275k GitHub stars~1.5k tokensUpdated 4 days ago
    Auto-check passed

Categories

Questions about Knowledge Ops

What does Knowledge Ops do?

複数のストレージレイヤー(ローカルファイル、MCP メモリ、ベクターストア、Git リポジトリ)にわたるナレッジベースの管理、取り込み、同期、検索。ユーザーが知識システム全体で保存・整理・同期・重複排除・検索を行いたい場合に使用します。. Knowledge Ops is an agent skill from affaan-m/ECC.

When should I use Knowledge Ops?

Knowledge Ops fits situations like: development work in your project.

How do I install Knowledge Ops in Claude Code?

Run `npx skills add affaan-m/ECC --skill knowledge-ops -a claude-code`. Or copy the skill folder (docs/ja-JP/skills/knowledge-ops in affaan-m/ECC) into .claude/skills/knowledge-ops in your project. Claude Code loads it when a task matches its description.

How do I install Knowledge Ops in Codex?

Run `npx skills add affaan-m/ECC --skill knowledge-ops -a codex`. Or copy the skill folder (docs/ja-JP/skills/knowledge-ops in affaan-m/ECC) into .agents/skills/knowledge-ops in your project. Codex loads it when a task matches its description.

Can I use Knowledge Ops in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add affaan-m/ECC --skill knowledge-ops -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/knowledge-ops, .gemini/skills/knowledge-ops, .github/skills/knowledge-ops and .opencode/skills/knowledge-ops in your project.

What does Knowledge Ops need to run?

SKILL.md names no scripts, command-line tools or credentials: Knowledge Ops is instructions for the agent only.

Does Knowledge Ops access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Knowledge Ops safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Knowledge Ops use?

Knowledge Ops is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Knowledge Ops use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Knowledge Ops?

Skills that share tags, products or a category with Knowledge Ops: Git Release (wesammustafa/opencode-primer, 397 stars), Liveagent Code Review (Stack-Cairn/LiveAgent, 2.2k stars), Release (tractorjuice/arc-kit, 2.3k stars) and PR Review Feedback Handler (gittower/git-flow-next, 458 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Knowledge Ops?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 275,023 GitHub stars. The repository holds 645 skills in this directory. The repository was last updated on October 5, 2026.

Source: affaan-m/ECC on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.