knowledge-ops

knowledge-ops is a skill for Claude Code, Codex from nklofy/code-agent-skills. It costs 53 tokens per session (1,405 once invoked), scanned A, a copy of knowledge-ops, Apache-2.0.

A system for storing, organizing, syncing, and searching knowledge across files, memory tools, vector stores, Git repositories, and other sources. A knowledge base is a structured place for information that you want to retrieve later.

In plain words
What is it for?
Use it to ingest documents and conversations, update a knowledge base, synchronize information, remove duplicates, and search across stored knowledge.
Why use it?
It reduces scattered notes, duplicate information, and uncertainty about where the current version of a fact or project detail lives.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; names the TodoWrite tool; mentions Claude Code.

Good fit Use it to ingest documents and conversations, update a knowledge base, synchronize…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nklofy/code-agent-skills/knowledge-ops
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add nklofy/code-agent-skills --skill knowledge-ops
Clone the repo
git clone --depth 1 https://github.com/nklofy/code-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge-ops

README.md
[![agentmods](https://agentmods.dev/badge/skills/nklofy/code-agent-skills/knowledge-ops.svg)](https://agentmods.dev/skills/nklofy/code-agent-skills/knowledge-ops)
Your own site
<a href="https://agentmods.dev/skills/nklofy/code-agent-skills/knowledge-ops"><img src="https://agentmods.dev/badge/skills/nklofy/code-agent-skills/knowledge-ops.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.01405
Opus 5 $0.00026 $0.00702
Sonnet 5 $0.00011 $0.00281
Haiku 4.5 $0.00005 $0.00140

Measured 3d ago against content hash 958529713af2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

knowledge-ops scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

98% identical to knowledge-ops — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

affaan-m-ECC/knowledge-ops/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knowledge Operations

Manage a multi-layered knowledge system for ingesting, organizing, syncing, and retrieving knowledge across multiple stores.

Prefer the live workspace model:

  • code work lives in the real cloned repos
  • active execution context lives in GitHub, Linear, and repo-local working-context files
  • broader human-facing notes can live in a non-repo context/archive folder
  • durable cross-machine memory belongs in the knowledge base, not in a shadow repo workspace

When to Activate

  • User wants to save information to their knowledge base
  • Ingesting documents, conversations, or data into structured storage
  • Syncing knowledge across systems (local files, MCP memory, Supabase, Git repos)
  • Deduplicating or organizing existing knowledge
  • User says "save this to KB", "sync knowledge", "what do I know about X", "ingest this", "update the knowledge base"
  • Any knowledge management task beyond simple memory recall

Knowledge Architecture

Layer 1: Active execution truth

  • Sources: GitHub issues, PRs, discussions, release notes, Linear issues/projects/docs
  • Use for: the current operational state of the work
  • Rule: if something affects an active engineering plan, roadmap, rollout, or release, prefer putting it here first

Layer 2: Claude Code Memory (Quick Access)

  • Path: ~/.claude/projects/*/memory/
  • Format: Markdown files with frontmatter
  • Types: user preferences, feedback, project context, reference
  • Use for: quick-access context that persists across conversations
  • Automatically loaded at session start

Layer 3: MCP Memory Server (Structured Knowledge Graph)

  • Access: MCP memory tools (create_entities, create_relations, add_observations, search_nodes)
  • Use for: Semantic search across all stored memories, relationship mapping
  • Cross-session persistence with queryable graph structure

Layer 4: Knowledge base repo / durable document store

  • Use for: curated durable notes, session exports, synthesized research, operator memory, long-form docs
  • Rule: this is the preferred durable store for cross-machine context when the content is not repo-owned code

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 156 lines · 53 tokens per session scan A 958529713af2

Subscribe to this mod's changes

knowledge-ops is a skill published in the GitHub repository nklofy/code-agent-skills (18 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 53 tokens to every session and 1,405 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 98% identical to knowledge-ops, differing in 3 lines, and is treated as a copy.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

establishing-project-context

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

GanyuanRan/Aegis · 45 tokens