Knowledge Management

VerifiedSafe

Manage the project knowledge base: list entries, search, add new patterns/conventions/entities, run memory audit, or generate progress reports.

Sby Skills Guide Bot
DocumentationIntermediate
7/24/2026
Claude Code
#knowledge-management#notes#memory-audit#progress-report

Recommended for

Automated summary

Manages the project knowledge base: list, search, add entries, run memory audits, and generate progress reports.

Strengths

  • Centralizes patterns, conventions, and entities in a structured JSON file.
  • Quick search across names, descriptions, and tags.
  • Automated memory audit to detect duplicates and suggest pruning.
  • Generates daily or weekly progress reports from git history.

Limitations

  • Tied to Claude Code's .claude folder structure and scripts.
  • Adding and editing is interactive, not batch or API-driven.
  • Knowledge base is manually maintained; no automatic extraction from code.
When to use it

When you need to persistently capture and retrieve project-specific patterns, conventions, and entities during development.

When not to use it

For general project documentation or version-controlled specs, use a dedicated wiki or markdown files in the repo.

Security analysis

Safe
Quality score90/100

The skill only reads/writes local project files (knowledge.json, notes.md) and runs git log for reports. No network, destructive commands, or credential handling. The node script call is safe and within the project’s own scripts.

No concerns found

How this analysis is made

Examples

List all knowledge entries
/knowledge list
Search for a term in the knowledge base
/knowledge search database connection
Add a new convention interactively
/knowledge add

name: mustard-knowledge description: Manage the project knowledge base — list entries, search by term, add new patterns/conventions/entities, run memory audit, or generate progress reports. Use when asked about /knowledge, project knowledge, or pipeline-captured patterns.

<!-- mustard:generated -->

/knowledge - Knowledge Management

Notes, memory audit, reports, and project knowledge base.

Trigger

/knowledge <action> [args]

Actions

| Action | Description | |--------|-------------| | list | List all knowledge entries grouped by type | | search <term> | Search entries by name, description, or tags | | add | Interactively add a knowledge entry | | notes [target] | Manage project observations | | audit | Audit memory for duplicates | | report <period> | Generate progress report (daily/weekly) |


list

Reads .claude/knowledge.json and displays all entries grouped by type.

Flow

  1. Read .claude/knowledge.json (if missing: "No knowledge base found. Run a pipeline or use /knowledge add to start one.")
  2. Group entries by type (pattern / convention / entity)
  3. Display formatted:
    === KNOWLEDGE BASE ({total} entries) ===
    
    PATTERNS ({n})
    - {name}: {description}  [source: {source}]
    
    CONVENTIONS ({n})
    - {name}: {description}  [source: {source}]
    
    ENTITIES ({n})
    - {name}: {description}  [source: {source}]
    
  4. Show last updated timestamp from newest updatedAt

search

Filters knowledge entries matching the search term across name, description, and tags.

Usage

/knowledge search <term>

Flow

  1. Read .claude/knowledge.json
  2. Lowercase-match term against name, description, and each tag
  3. Display matching entries grouped by type (same format as list)
  4. If no matches: "No entries matching '{term}' found."

add

Interactively adds a knowledge entry by prompting the user, then calls knowledge-update.js.

Flow

  1. Prompt: "Type? (pattern / convention / entity)"
  2. Prompt: "Name?"
  3. Prompt: "Description?"
  4. Prompt: "Tags? (comma-separated, optional)"
  5. Build JSON payload and pipe to script:
    echo '{"type":"...","name":"...","description":"...","source":"manual","tags":[...]}' \
      | node .claude/scripts/knowledge-update.js
    
  6. Confirm: "Knowledge entry '{name}' saved."

notes

Manages persistent project observations injected into agent context during pipelines. These files are NOT overwritten by /scan.

Targets

| Target | File | Scope | |--------|------|-------| | (no argument) | — | Lists all notes files | | {subproject} | {subproject}/.claude/commands/notes.md | Subproject agent context |

Monorepo: discover targets from pipeline-config.md Agents table or Glob */.claude/commands/notes.md. Single repo: target is root → .claude/commands/notes.md.

Flow — List (/knowledge notes)

  1. Read each notes file
  2. Show summary: which exists, number of observations
  3. Ask: "Which notes do you want to edit?"

Flow — Edit (/knowledge notes <target>)

  1. Resolve target to file
  2. Show current content
  3. Ask: "What do you want to add, change, or remove?"
  4. Apply edits

Rules

  • NEVER add <!-- mustard:generated --> to these files
  • Keep language consistent
  • Observations = concise and actionable

audit

Compares auto-memory against CLAUDE.md and skills to detect duplicated information. Outputs report — NEVER auto-edits.

Flow

  1. Read user's MEMORY.md
  2. Read all {subproject}/CLAUDE.md + {subproject}/.claude/commands/guards.md
  3. Present report:
    === MEMORY AUDIT ===
    Total sections: {n}
    Unique (KEEP): {n}
    Duplicate: {n}
    
    DUPLICATES FOUND:
    - "{section}" <-> {source_file}: {similarity}%
    
    RECOMMENDED PRUNED VERSION:
    {pruned content}
    ===
    
  4. NEVER auto-edit — user decides

report

Generates progress reports from git data.

Usage

/knowledge report daily or /knowledge report weekly

Daily Report

git log --oneline --since="00:00" --until="23:59"
git diff --stat HEAD~10

Output: Summary, commits by type (feat/fix/chore), modified files by project, highlights, pending items.

Weekly Report

git log --oneline --since="1 week ago"
git diff --stat @{1.week.ago}
git shortlog -sn --since="1 week ago"

Output: Executive summary, metrics table, implemented features, bugs fixed, changes by project, next week planning.

Rules

  • Use real git data only — do not invent commits
  • Categorize commits by type and project

Rules

  • knowledge.json is persistent — never deleted by session-cleanup
  • add and pipeline capture both call the same knowledge-update.js script
  • search is case-insensitive
  • Always show entry count in list/search output

ULTRATHINK

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/knowledge-management-mryiqit4/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/knowledge-management-mryiqit4' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/knowledge-management-mryiqit4/download' --output '.skill-downloads/knowledge-management-mryiqit4/SKILL.md.part' && mv '.skill-downloads/knowledge-management-mryiqit4/SKILL.md.part' '.skill-downloads/knowledge-management-mryiqit4/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/knowledge-management-mryiqit4/SKILL.md' && test -s '.skill-downloads/knowledge-management-mryiqit4/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/mustard-knowledge' && cp -R '.skill-downloads/knowledge-management-mryiqit4' '.claude/skills/mustard-knowledge'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/knowledge-management-mryiqit4'

openskills read 'knowledge-management-mryiqit4'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/knowledge-management-mryiqit4/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills