ai-workspace: Skill for Claude Code

.agents/skills/knowledge-mgr/SKILL.md

knowledge-mgr is a skill for Claude Code, Codex from ZhuoZhuoCrayon/ai-workspace. It costs 171 tokens per session (1,355 once invoked), scanned A, original, MIT.

A workspace knowledge-management system for storing and finding issues, plans, code snippets, articles, and troubleshooting notes.

In plain words
What is it for?
Use it to search, create, update, archive, or move project knowledge, including progress updates, daily or weekly summaries, and records of past decisions.
Why use it?
It gives past decisions, work history, and technical solutions a consistent place and index instead of leaving them scattered across files.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is ZhuoZhuoCrayon/ai-workspace's own configuration. It tells Claude Code and Codex how to work on ai-workspace itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-workspace configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ZhuoZhuoCrayon/ai-workspace. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ZhuoZhuoCrayon/ai-workspace/main/.agents/skills/knowledge-mgr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ZhuoZhuoCrayon/ai-workspace

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-mgr

README.md
[![agentmods](https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr/github.svg)](https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr)
Your own site
<a href="https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr"><img src="https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-mgr

Your own site · 80×15
<a href="https://agentmods.dev/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr"><img src="https://agentmods.dev/badge/skills/zhuozhuocrayon/ai-workspace/knowledge-mgr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,355 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00171 $0.01355
Opus 5.5 $0.00068 $0.00542
Sonnet 5.5 $0.00034 $0.00271
Haiku 4.5 $0.00017 $0.00136

Measured 14d ago against content hash ad5617b76f00, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge-mgr 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 14d 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.

.agents/skills/knowledge-mgr/SKILL.md · 113 lines

How it starts

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

knowledge-mgr — 知识管理

管理工作区知识对象的检索与全生命周期操作。

0x00 术语介绍

知识对象:issue、plan、snippet、article、troubleshooting 的统称。

0x01 索引模型

工作区知识索引采用三级结构:

层级 路径 职责
一级 knowledge/INDEX.md 项目知识概览与最近更新
二级 knowledge/<project>/INDEX.md 项目内分类概览
三级 knowledge/<project>/<category>/INDEX.md 具体对象列表

知识对象脱敏隔离(visibility):

  • 【默认】【公开】public:所有知识对象都存放在 knowledge/ 下,公开可见。
  • 【私有】private:涉及个人隐私或敏感信息的知识对象存放在 private/knowledge/ 下。private/ 是独立的私有仓库,在该目录内提交和推送。
  • public / private 分域维护,不跨域合并计数与索引。

0x02 对象模型

a. 分类索引

所有知识对象均归属于项目,存放在 knowledge/<project>/ 下:

对象 位置 逻辑单元 说明
issue issues/<YYYY-MM-DD-title>/README.md issue 目录 [1] 需求定义入口
plan issues/<YYYY-MM-DD-title>/PLAN.md 隶属 issue 目录 方案、调研、进展与验收记录
snippet snippets/<title>.md 单文件 代码片段类知识对象
article articles/<YYYY-MM-DD-title>/README.md article 目录 [2] 主题文章与信息归档
troubleshooting troubleshooting/<title>.md 单文件 排障经验类知识对象
  • [1] issue 是目录级逻辑单元,README.md + PLAN.md = 1 个知识对象,plan 不单独入索引,仅由 issue 条目代表整个 issue 目录。
  • [2] article 是目录级逻辑单元,正文放在 README.md,配图等资源放在同目录的 images/ 下。

b. 知识对象规范

Frontmatter 规范

知识对象必须包含 frontmatter,字段信息如下:

字段 必填 适用对象 说明
title 是 全部 文档标题
tags 是 全部 标签数组,如 [k8s, ops]
description 是 全部 一句话摘要
language 否 snippet 代码语言
issue 否 plan 关联 issue 路径
created 是 全部 创建日期,YYYY-MM-DD
updated 是 全部 最后更新日期,YYYY-MM-DD

Read the full file on GitHub · 113 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. 14d ago Changed ad5617b76f00
  2. 2mo ago First seen · 113 lines · 171 tokens per session scan A 22ce10772495

Subscribe to this mod's changes

knowledge-mgr is a skill published in the GitHub repository ZhuoZhuoCrayon/ai-workspace (27 stars, last pushed today), licensed MIT. It adds 171 tokens to every session and 1,355 once invoked, about $0.0007 per session on Opus 5.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-30.

Related

Other skills, from other repositories

Migrate

Intakes external content (notes, CLAUDE.md, Cursor rules, Obsidian/Notion/Apple Notes exports), classifies chunks against the LifeOS taxonomy, and commits with provenance after confidence-tiered approval. USE WHEN /migrate, migrate content, import from other LifeOS, bring in old notes, import Cursor rules, import…

danielmiessler/LifeOS · 104 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

Profile

View, edit, or clear the LifeOS User Model (PRINCIPALIDENTITY.md) — persistent identity context loaded at session startup. Three intents: View, Edit (identity, goals, constraints, preferences), Clear (reset). Read by Algorithm OBSERVE and skills for personalization. USE WHEN profile, show profile, view profile, who am…

danielmiessler/LifeOS · 108 tokens

wiki-dashboard

Create dynamic, queryable Obsidian dashboard views using Bases or Dataview. Use for auto-updating tables, indexes, or structured views of vault content; not for ordinary question answering.

Ar9av/obsidian-wiki · 42 tokens

relevance-coarse-filter

Cheap, high-recall first-pass filter that removes obvious junk from a detector candidate pool before expensive story-origin research and PR judgment. Decides keep, monitoronly, or reject — never ranks, writes angles, verifies dates, or decides whether to pitch.

elvisun/newsjack · 57 tokens

session-compact

AI DevKit · Compact a historical AI coding session with Jev when context is long, work is handed off or resumed, or durable continuation facts and memory candidates need extraction.

codeaholicguy/ai-devkit · 39 tokens