Skip to content
Back to skills

Record Knowledge

ASecurity

Record tacit knowledge — quirks, pitfalls, dependencies, decisions, root causes — as tagged Markdown entries in `.claude/knowledge/entries/`. Use this skill whenever discoveries are made during work, when the user shares undocumented system behavior, or at plan completion to capture lessons learned. Also use when Claude Code makes a mistake pointed out by the user — record what happened, why it was wrong, and what to do next time.

  • 4 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added May 26, 2026
toolsgo

Works with

  • claude code

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add LevNas/ccmemo --skill record-knowledge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Record Knowledge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Record Knowledge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/levnas-record-knowledge/badge)](https://www.skillsdirectory.com/skills/levnas-record-knowledge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: record-knowledge
description: >-
  Record tacit knowledge — quirks, pitfalls, dependencies, decisions, root causes — as tagged
  Markdown entries in `.claude/knowledge/entries/`. Use this skill whenever discoveries are made
  during work, when the user shares undocumented system behavior, or at plan completion to capture
  lessons learned. Also use when Claude Code makes a mistake pointed out by the user — record what
  happened, why it was wrong, and what to do next time.
license: MIT
allowed-tools: Read, Agent
---

# Record Knowledge

## Goal
Capture tacit knowledge discovered during work and make it available for future sessions.

## When to Reference
- **New session start**: Search `.claude/knowledge/entries/` for active entries related to the current task before starting work
  - If an `overview` entry exists for the topic, read it first — load `detail` entries on demand to save context
- **Progress update**: Check if related entries need updating based on new discoveries
- Not needed when resuming a session (context is already preserved)

## Execution

Delegate the recording work to a subagent to minimize main context consumption.

1. Analyze the user input or work context and prepare structured input fields
2. Determine the knowledge base path (default: `.claude/knowledge/entries/`)
3. Spawn a subagent with the following configuration:

```
Agent(
  subagent_type: "general-purpose",
  description: "record knowledge entry",
  prompt: |
    You are a knowledge recording agent. Read the procedure file and follow it precisely.

    ## Input
    ### what(事実)
    {what}

    ### why(判断理由)
    {why}

    ### context(背景情報)
    {context}

    ### tags_hint(推奨タグ)
    {tags_hint}

    ## Instructions
    1. Read the procedure file at: {plugin_root}/skills/record-knowledge/procedure.md
    2. Follow the procedure step by step
    3. The knowledge base is at: {project_root}/.claude/knowledge/
    4. Return: filename, # heading, ## headings, and linked entries
)
```

Replace the placeholders:
- `{what}` — 何が起きたか: the factual observation, discovery, or decision to record
- `{why}` — なぜ重要か: why this matters, the reasoning behind recording it (judgment made by the main agent)
- `{context}` — 関連する背景情報: surrounding context (task being worked on, environment, related files, issues)
- `{tags_hint}` — 推奨タグ: tags the main agent recommends (subagent validates against the tag registry)
- `{plugin_root}` — the plugin's installation path (shown in the skill loading message as "Base directory for this skill")
- `{project_root}` — the project working directory

4. Report the subagent's result to the user (filename, headings, linked entries only)

IMPORTANT: The procedure file path uses the plugin's base directory, NOT the project directory. Read the "Base directory for this skill" line from the skill loading message to determine the correct path.

Files in this skill

  • SKILL.md2.9 KB
  • assets/knowledge-CLAUDE.md2.3 KB
  • procedure.md7.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.