knowz-save

knowz-save is a skill for Claude Code, Codex from knowz-io/deepseek-knowz-plugin. It costs 41 tokens per session (953 once invoked), scanned A, original, MIT.

A skill for saving lasting project knowledge, such as decisions, reusable patterns, conventions, workarounds, and security notes, in Knowz vaults.

In plain words
What is it for?
Use it when a project decision, convention, workaround, performance improvement, security issue, or other durable insight should be recorded.
Why use it?
It keeps useful context from being lost and helps place each piece of knowledge in the appropriate category and vault.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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/knowz-io/deepseek-knowz-plugin/knowz-save
Any agent
npx skills add knowz-io/deepseek-knowz-plugin --skill knowz-save
Clone the repo
git clone --depth 1 https://github.com/knowz-io/deepseek-knowz-plugin

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 knowz-save

README.md
[![agentmods](https://agentmods.dev/badge/skills/knowz-io/deepseek-knowz-plugin/knowz-save.svg)](https://agentmods.dev/skills/knowz-io/deepseek-knowz-plugin/knowz-save)
Your own site
<a href="https://agentmods.dev/skills/knowz-io/deepseek-knowz-plugin/knowz-save"><img src="https://agentmods.dev/badge/skills/knowz-io/deepseek-knowz-plugin/knowz-save.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original 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.1 $0.00041 $0.00953
Opus 5 $0.00020 $0.00477
Sonnet 5 $0.00008 $0.00191
Haiku 4.5 $0.00004 $0.00095

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

Security

Grade A, and why

knowz-save 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 6d 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.

skills/knowz-save/SKILL.md · 69 lines

How it starts

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

/knowz-save — Capture knowledge

Save a durable insight to the correct Knowz vault.

If enterprise.json exists in the project root, use its brand value instead of "Knowz" in user-facing text.

Instructions

  1. Read knowz-vaults.md from the project root if it exists.
  2. Parse the content the user wants to save.
  3. Perform reads and writes directly from the current agent. Do not assume delegated writer agents.
  4. Classify the capture:
    • pattern/reusable/utility → Pattern
    • chose/decided/trade-off → Decision
    • workaround/limitation/temporary → Workaround
    • faster/optimized/cache → Performance
    • security/vulnerability/auth → Security
    • always/never/standard/convention → Convention
    • otherwise → Note
  5. Route to the best vault using When to save rules.
    • Multiple strong matches → ask the user to choose.
    • No match → use the default vault when available.
  6. Expand terse input into a self-contained body:
    [CONTEXT] Where and why this arose
    [INSIGHT] The reusable knowledge
    [RATIONALE] Why this approach or decision won
    [TAGS] category, technology, domain keywords
    
  7. Generate a title in the form {Category}: {Descriptive summary}.
  8. Run a dedupe check with mcp__knowz__search_knowledge using the title and target vault. If there is a close match, offer the user four choices:
    • Create anyway — new, separate entry
    • Skip — don't save
    • Amend existing item — apply a targeted delta (add a line, fix a phrase, change a tag). Preferred for partial changes.
    • Replace existing item — full rewrite with a complete new body
  9. Resolve one stable Idempotency Key before the mutation. Derive it from the chosen operation, resolved target vault, matched KnowledgeId or semantic identity when present, normalized title, and a digest of the exact payload. It MUST NOT contain a timestamp, retry count, agent/session ID, or attempt number. Reuse the same key if the response is lost or the operation is retried.
  10. Execute the chosen path:
  • Create (default, no dedupe match, or "Create anyway"): call mcp__knowz__create_knowledge with knowledgeType: "Note", the chosen vaultId, and tags.
  • Amend: call mcp__knowz__amend_knowledge with id = the matched item's ID and the delta payload. Send only the change, not a synthesized full body.
  • Replace: call mcp__knowz__update_knowledge with id = the matched item's ID and the complete new payload.
  • Skip: report that nothing was saved and stop.
  1. If MCP write fails, read knowz-pending.md first, then append a capture block using the canonical format only when the same key/content is absent. The same key with different mutation content is a collision and MUST fail closed. Wrap the block in --- delimiters — the flush parser splits on them.

Read the full file on GitHub · 69 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. 6d ago First seen · 69 lines · 41 tokens per session scan A 567180f80b80

Subscribe to this mod's changes

knowz-save is a skill published in the GitHub repository knowz-io/deepseek-knowz-plugin (1 stars, last pushed 20d ago), licensed MIT. It adds 41 tokens to every session and 953 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

krouter-obsidian

KRouter Obsidian — route knowledge-dependent tasks to the smallest current evidence set in an Obsidian vault using deterministic local search. Use when a request depends on durable user preferences, prior corrections or superseded claims, long-term project history or results, reusable methods or evidence, or the…

398894496-arch/runtime36 · 85 tokens

knowledge-wiki

Manage the personal knowledge wiki. Use when the user shares articles, documents, or asks to organize knowledge; when a conversation produces insights worth preserving as structured knowledge; or when the user asks about the knowledge base.

zhayujie/CowAgent · 46 tokens

modlens

Plug-in vision for text-only models. Hard rule: when a file path or URL with an image extension (.png, .jpg, .jpeg, .webp, .gif, .heic, .heif) appears anywhere in the conversation (typed by the user, injected as a [Image: source: ] line, or inside a tag) and you cannot see that image's content, run this skill on it…

liustack/modlens · 240 tokens

j-space

Use this skill to establish and operate the model's inner workspace — the J-space — for any task that needs more than fluent output: multi-step or chained reasoning, planning, long-horizon and agentic work, competition-level problems, complex debugging, keeping many parts of a deliverable globally consistent, holding…

Tiger3807861189/J-Space-Cognition-Suite-V3.7 · 144 tokens

install-openviking-memory

Install and configure the OpenViking long-term memory plugin for OpenClaw via natural conversation. Once installed, the plugin automatically captures facts from chats and recalls relevant context before each reply (auto-capture + auto-recall, cross-session). Covers prerequisites, install through OpenClaw's plugin…

volcengine/OpenViking · 191 tokens

openviking-context-database

Use OpenViking from OpenClaw through @openviking/openclaw-plugin: long-term memory, session archives, resource and Agent Skill import, semantic recall, recall trace debugging, and externalized tool-result recovery. Prefer this skill when the user wants to use, query, debug, or operate OpenViking context from an…

volcengine/OpenViking · 95 tokens