compile-knowledge
Fungsinya
Tool ini menyusun informasi penting ke dalam file-file kecil yang terpisah. Tool ini juga membuat indeks agar Anda mudah menemukan kembali apa yang sudah dipelajari di sesi sebelumnya, tanpa harus memikirkannya lagi dari awal.
Kapan dipakai
- βSaat Anda menemukan fakta penting yang tidak langsung terlihat.
- βSaat Anda selesai melakukan riset dan ingin menyimpan temuannya.
- βSaat seseorang meminta Anda untuk 'simpan informasi ini' atau 'perbarui knowledge base'.
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/compile-knowledge/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βSimpan informasi ini: API GitHub menghitung pull request sebagai issue dalam total hitungannya.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Tool ini menyimpan setiap fakta penting dalam file terpisah dengan judul dan deskripsi singkat. Tool ini juga membuat tautan antar informasi yang saling berhubungan serta indeks umum agar mudah dicari.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Compile Knowledge
Overview
Durable knowledge is worth keeping as many small, interlinked markdown files compiled over
time and surfaced through an index β not as one giant doc, a chat log, or a one-off
notes.md that rots. This skill makes compiling consistent, so what an agent learns in one
session is retrievable in the next one instead of being re-derived from scratch.
The shape is deliberately boring: one fact per file, a one-line description that recall
matches against, [[slug]] links between related files, and a single index line per entry.
The hard part is not the format β it is the discipline of writing only what is durable, and
of updating an existing file instead of creating a near-duplicate.
When to Use This Skill
- Use when you have just produced research, competitive intel, a digest, or an investigation result, and are about to close the task β compile before you close.
- Use when you learn a non-obvious fact the hard way (a tool that fails silently, a measurement that contradicts the docs, a constraint nobody wrote down).
- Use when the user says "save this", "write this to the wiki", "update the memory", "log this finding", "structure this knowledge", or "follow the karpathy method".
- Do not use it for routine work. A deploy, a restart, or a one-line fix usually produces nothing durable, and filler pollutes recall.
How It Works
Step 1: Pick the store
- Agent memory β the per-agent folder your harness already loads (
memory/with an index file such asMEMORY.md). This is the default and, for a solo agent, usually the only store you need. - Shared wiki β a
wiki/folder withwiki/index.md, for knowledge the whole team would otherwise re-derive. Skip it entirely if you work alone; do not manufacture team ceremony.
Rule of thumb: "only I act on this" goes to memory, "anyone on my team might need this"
goes to the wiki. Cross-link the two with [[slug]] rather than copying the fact into both.
Step 2: Pass the hygiene gate
Compile only a fact that is durable and non-obvious. Skip it if it is derivable from the repository, the git history, or the existing docs; if it is true only for this one conversation; or if an existing file already covers it β in that last case update that file.
Step 3: Search before you write
Grep the store and skim the index for the topic. A near-duplicate is worse than no entry, because recall then has two answers and no way to choose between them.
Step 4: Write one atomic file
One fact per file. Two unrelated facts are two files. Name it as a kebab-case slug β the
slug is the link target, so it has to be guessable by the next reader. Frontmatter carries
name (equal to the slug), a one-line description specific enough to be matched during
recall, and a type or category. In the body, state the fact plainly and link related
entries with [[slug]] liberally; a link to a file that does not exist yet is a fine TODO
marker, not an error.
Step 5: Add exactly one index line
Use one line in the form - Title β slug.md β hook, under ~200 characters. Detail lives in
the file; an index line that restates the file defeats the point of having an index. Create
the index if it is missing, or the store is undiscoverable.
Step 6: Age the fact instead of letting it rot
Facts expire. When one is time-sensitive or replaces an older one, say so in the frontmatter so recall can demote it rather than serving stale truth:
valid_to: YYYY-MM-DDβ the date the fact needs a recheck.supersedes: <slug>β the older fact this replaces. Prefer this over editing in place when the old value is still worth seeing; edit in place when it is not.confidence: high|medium|lowβ so a hunch never outranks a measurement.provenance: "<source>"β where the fact came from, distinct from who wrote the note.
All four are optional and portable; omitting them changes nothing.
Examples
Example 1: A measured, non-obvious fact goes to memory
---
name: reference_search_api_counts_prs_as_issues
description: "GitHub's /search/issues endpoint counts pull requests in total_count, so a zero there proves neither issues nor PRs exist β but a non-zero one does not tell you which."
confidence: high
provenance: "measured 2026-08-16 while dupe-checking four upstream repos"
---
`total_count` from `/search/issues?q=<term>+repo:<owner>/<name>` is the sum of issues and
β¦
Pertanyaan umum
Apa itu 'fakta yang tahan lama dan tidak langsung terlihat'?
Itu adalah informasi yang kemungkinan akan tetap benar dalam waktu lama dan tidak mudah ditemukan hanya dengan melihat dokumentasi atau kode.
Apa yang terjadi jika saya mencoba menyimpan sesuatu yang sudah ada?
Tool ini akan meminta Anda memperbarui file yang sudah ada, alih-alih membuat file baru, agar tidak ada informasi ganda yang membingungkan.
Bisakah saya menggunakannya untuk catatan harian yang singkat?
Tidak disarankan. Tool ini dirancang untuk menyimpan pengetahuan penting yang bertahan lama, bukan untuk catatan sementara atau rutin.
Detail
Deskripsi asli dari pembuat
Compile durable, non-obvious findings into an interlinked markdown knowledge store β atomic files, [[wiki-links]], a maintained index β so an agent gets smarter across sessions instead of relearning the same facts.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #4222
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- β¦
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.