knowledge-ops

knowledge-ops is a skill for Claude Code, Codex from JunMystery/Agent-Guidance-Python. It costs 53 tokens per session (1,402 once invoked), scanned A, original, MIT.

Knowledge base management, ingestion, sync, and retrieval across multiple storage layers (local files, MCP memory, vector stores, Git repos). Use when the user wants to save, organize, sync, deduplicate, or search across their knowledge systems.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/junmystery/agent-guidance-python/knowledge-ops
Any agent
npx skills add JunMystery/Agent-Guidance-Python --skill knowledge-ops
Clone the repo
git clone --depth 1 https://github.com/JunMystery/Agent-Guidance-Python

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/junmystery/agent-guidance-python/knowledge-ops.svg)](https://agentmods.dev/skills/junmystery/agent-guidance-python/knowledge-ops)
Your own site
<a href="https://agentmods.dev/skills/junmystery/agent-guidance-python/knowledge-ops"><img src="https://agentmods.dev/badge/skills/junmystery/agent-guidance-python/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,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found 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 $0.00053 $0.01402
Opus 5 $0.00026 $0.00701
Sonnet 5 $0.00011 $0.00280
Haiku 4.5 $0.00005 $0.00140

Measured today against content hash a1fecc085d51, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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.

skills/knowledge-ops/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 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 · 155 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. today First seen · 155 lines · 53 tokens per session scan A a1fecc085d51

Subscribe to this mod's changes

knowledge-ops is a skill published in the GitHub repository JunMystery/Agent-Guidance-Python (2 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 1,402 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

pipefy-ai-agents

Use this skill when the user wants to create, read, update, delete, or troubleshoot AI agents (conversational agents with behaviors). Covers 7 MCP tools including pre-flight validation, plus pipe-scoped knowledge bases (list, plain text/document/data lookup CRUD, access probe) attached via dataSourceIds. For…

pipefy/ai-toolkit · 84 tokens

vault-for-llm

Connect OpenClaw to Vault Agent Memory as a local-first governed project memory layer. Search first, then bounded-read cited source ranges; propose new memories as candidates instead of writing directly into active memory.

zycaskevin/Vault-Agent-Memory · 46 tokens

c-02-memory-quality-control

Control Agents Remember memory quality with task-start drift checks, pre-code-commit missing-onboarding checks, and closeout memory quality gates.

Foxfire1st/agents-remember · 34 tokens

c-13-install-and-onboard

After the harness starter package and MCP server are wired and the harness has restarted, run/verify runtimeinstall, set up the memory repo, bootstrap onboarding when scaffolding new, and configure providers to index the code and memory.

Foxfire1st/agents-remember · 53 tokens

c-04-retrieval-strategy-router

Choose retrieval strategies across memory substrates: semantics for known concepts with unknown structure, relationships for known anchors with unknown connections, and intent for hidden contracts and code truths.

Foxfire1st/agents-remember · 42 tokens