Home / levnas / ccmemo · skills/record-knowledge/SKILL.md · GitHub

record-knowledge skillA

record-knowledge is agent-read markdown (skill) from levnas/ccmemo: 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..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# 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}
…

Read the whole file at its exact version.

How to install

Latest version
mdr add levnas/ccmemo/record-knowledge@git:20260416.a4537a9
Exact content
mdr add levnas/ccmemo/record-knowledge@sha256:397a57304e7b2480

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_oq62pemaxcfymp6y.svg)](https://markdownregistry.com/a/art_oq62pemaxcfymp6y)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260416.a4537a9 latest2026-04-16 a4537a9 2,997 BA view · diff
git:20260405.465b7842026-04-05 465b784 3,023 BA view · diff
git:20260328.f8aa0f32026-03-28 f8aa0f3 13,651 BA view · diff
git:20260328.a39e96c2026-03-28 a39e96c 10,870 BA view · diff
git:20260328.63881282026-03-28 6388128 9,308 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2997 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

levnas/ccmemo · 4 stars · license MIT · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_oq62pemaxcfymp6y
GET https://markdownregistry.com/api/v1/resolve?ref=levnas/ccmemo/record-knowledge
GET https://markdownregistry.com/api/v1/blob/397a57304e7b248064d2b5399cca3941962c95c33dac14b39b8c150b868426aa

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from levnas/ccmemo

plan-task skill
levnas/ccmemo · skills/plan-task/SKILL.md · Persist multi-step plans and task progress across Claude Code sessions. Use when starting work that may span multiple…
git:20260405.465b784 · audit A · 4 stars
recall-knowledge skill
levnas/ccmemo · skills/recall-knowledge/SKILL.md · Recall knowledge base entries by meaning, not just keywords — hybrid search (lexical ripgrep + local vector embeddings…
git:20260923.33efe69 · audit A · 4 stars
review-knowledge skill
levnas/ccmemo · skills/review-knowledge/SKILL.md · Review and maintain the knowledge base — find stale entries, orphan entries without connections, missing links between…
git:20260726.7717424 · audit A · 4 stars
CLAUDE.md@templates/knowledge claude
levnas/ccmemo · templates/knowledge/CLAUDE.md
git:20260923.d5ee9c3 · audit A · 4 stars
CLAUDE.md@templates/tasks claude
levnas/ccmemo · templates/tasks/CLAUDE.md
git:20260310.b04ad63 · audit A · 4 stars

Every file in levnas/ccmemo

Browse by kind, by grade A, or by owner.