Agent skill

Compile Knowledge

by sickn33 in sickn33/agentic-awesome-skills

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…

MITAuto-check passed

Install Compile Knowledge

skills CLI
$ npx skills add sickn33/agentic-awesome-skills --skill compile-knowledge -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sickn33/agentic-awesome-skills compile-knowledge --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/compile-knowledge .claude/skills/compile-knowledge && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
compile-knowledge
GitHub stars
47k
Used in
1 other repo
Token cost
~2.3k tokens
SKILL.md length
1,187 words
Files
1
Skills in repo
1,394
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 6 steps: Pick the store → Pass the hygiene gate → Search before you write → …
  • SKILL.md covers Overview, When to Use This Skill, How It Works and Examples, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Compile Knowledge is an agent skill from sickn33/agentic-awesome-skills. 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.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: AAS Core is the local, agent-first control plane for complete catalog discovery, agent-owned selection, stack validation, and planning, backed by 2,400+ agentic skills. Includes… The licence is MIT.

Example prompts

  • “/compile-knowledge”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Pick the store
  2. Pass the hygiene gate
  3. Search before you write
  4. Write one atomic file
  5. Add exactly one index line
  6. Age the fact instead of letting it rot

What it can do on your machine

Read from SKILL.md and the folder at commit 1e53ce2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Compile Knowledge loads about 2.3k tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 1,187 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sickn33/agentic-awesome-skills at commit 1e53ce2, republished under its MIT licence (© sickn33). 1,187 words, ~2,261 tokens.

Download SKILL.mdSave it as .claude/skills/compile-knowledge/SKILL.md (or your agent's skills folder).
name
compile-knowledge
description
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.
category
productivity
risk
safe
source
https://github.com/5dive-ai/skills/tree/main/compile-knowledge
source_repo
5dive-ai/skills
source_type
community
date_added
2026-08-16
author
5dive-ai
tags
knowledge-management, memory, documentation, wiki, notes
tools
claude, cursor, gemini
license
MIT

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 as MEMORY.md). This is the default and, for a solo agent, usually the only store you need.
  • Shared wiki — a wiki/ folder with wiki/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
markdown
---
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
pull requests. For a "has anyone submitted this yet?" check that is exactly what you want,
and the zero is a real absence. To separate the two, add `type:pr` or `type:issue`.

Related: [[reference_gh_api_ref_serves_default_branch]].

Then one line in the index:

markdown
- Search API counts PRs as issues → reference_search_api_counts_prs_as_issues.md — a zero is a real absence, a non-zero is ambiguous
Example 2: Nothing durable came out of the task
Task: bump the service's log level to debug and restart it.

Compile? No. It is derivable from the config file and the deploy history, and it is true
only for today. Close the task without writing anything.
Show full SKILL.md (500 more words)Show less

Best Practices

  • ✅ Search the store before writing; update the existing file when one exists.
  • ✅ Keep one fact per file and one line per file in the index.
  • ✅ Write the description for the person searching later, in their vocabulary, not yours.
  • ✅ Convert relative dates ("yesterday", "last release") to absolute ones at write time.
  • ✅ Delete entries that turn out to be wrong — a wrong memory is worse than a missing one.
  • ❌ Don't compile something the repository, its history, or its docs already say.
  • ❌ Don't leave research as a standalone notes.md and call it compiled.
  • ❌ Don't duplicate the same fact into both memory and the wiki; pick one home, cross-link.
  • ❌ Don't write filler to satisfy a checklist.

Limitations

  • This skill organizes knowledge; it does not verify it. A confidently written wrong fact becomes a confidently retrieved wrong fact, so record how you measured something, not only what you concluded.
  • Retrieval quality is bounded by the description line. A vague description makes a good entry unfindable.
  • It does not replace environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if the store's location or its index file is ambiguous.

Security & Safety Notes

  • This skill writes, edits, and occasionally deletes markdown files. Confine every one of those operations to the knowledge store directory (the agent's memory/ folder or the project's wiki/), and never to source files, configuration, or anything outside it.
  • Deleting a superseded entry is destructive and unreviewable after the fact. Prefer supersedes: when the old value still has audit value, and confirm before removing a file you did not write.
  • Never compile a secret, credential, token, or personal identifier into a knowledge store. These files are long-lived, frequently synced, and often shared across a team — treat them as if they were public. Record the shape of a credential, never its value.
  • The skill runs no shell commands and makes no network fetches of its own.

Common Pitfalls

  • Problem: The index grows into a second copy of the store. Solution: Cap each entry at one line and let the file carry the detail; when the index gets long, tighten the hooks rather than adding more of them.
  • Problem: Two files describe the same fact slightly differently, so recall returns both and the reader trusts neither. Solution: Merge them into the older slug and leave the newer one deleted; the search in Step 3 exists to prevent this.
  • Problem: A fact was true when written and is quietly false now. Solution: Stamp valid_to: on anything time-sensitive at write time, and verify a recalled fact that names a file, flag, or endpoint before acting on it.
  • Problem: Nothing ever gets compiled because it always feels like the wrong moment. Solution: Bind it to a boundary you already hit — compile before closing a task, not as a separate chore you schedule later.
  • @writing-skills - When you want to package a repeatable procedure as a skill rather than record a fact.
  • @deep-research - Produces the findings; this skill is what keeps them after the session ends.

© sickn33, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/compile-knowledge of sickn33/agentic-awesome-skills.

Open the folder on GitHubat commit 1e53ce2

Used in 1 other repository

We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sickn33/agentic-awesome-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Compile Knowledge next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Compile Knowledge compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compile Knowledge this skillsickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT
Fd Findpenpot/penpot61k—~882Automated safety check: PassMPL-2.0
Compileratopile/atopile4k—~1kAutomated safety check: PassMIT
Find In Notionsuperset-sh/superset15k—~763Automated safety check: PassCustom licence
Find In Superhumansuperset-sh/superset15k—~1kAutomated safety check: PassCustom licence
Find In Sentrysuperset-sh/superset15k—~726Automated safety check: PassCustom licence

Similar skills

  • Fd Find

    penpot/penpot

    A fast and user-friendly alternative to 'find' - simple syntax, smart defaults, respects gitignore.

    61k GitHub stars~882 tokensUpdated today
    Auto-check passed
  • Compiler

    atopile/atopile

    How the atopile compiler builds and links TypeGraphs from .ato (ANTLR front-end → AST → TypeGraph → Linker → DeferredExecutor), plus the key invariants and test entrypoints.

    4k GitHub stars~1k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Find In Notion

    superset-sh/superset

    Find what the workspace already says before you answer or write — search Notion, tell the canonical page from the stale copy, and cite what you used.

    15k GitHub stars~763 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Find In Superhuman

    superset-sh/superset

    Find and read mail in Superhuman — the thread where something was said, sent, or promised — by filtering on who, when, and which split before searching by words, reading the thread before answering…

    15k GitHub stars~1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Find In Sentry

    superset-sh/superset

    Answer "what's breaking" questions from Sentry — find the right org and project, search issues and events with the vocabulary Sentry uses, and report what is actually firing rather than the first hit.

    15k GitHub stars~726 tokensUpdated today
    Auto-check passed
  • Paddle Design Compiler

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle 3.0 compiler full pipeline: SOT (Symbolic Opcode Translator) for bytecode-level dy2st graph capture, PIR (Paddle IR) for SSA-based intermediate…

    24k GitHub stars~3.6k tokensUpdated 7 days ago
    AI & LLM EngineeringAuto-check passed

More from sickn33/agentic-awesome-skills

All 1,394 skills in this repo
  • Liuguang Banlan UI

    sickn33/agentic-awesome-skills

    Implements an interface in one of two named color modes, iridescent white or colorful black, from a parameterized starter that reports measured color intensity.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • User Thoughts Memory

    sickn33/agentic-awesome-skills

    Saves a user's project decisions, rules and preferences into a project-local mdbase so later sessions and other agents can recover the intent.

    47k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Using LWC Memory and Graphs

    sickn33/agentic-awesome-skills

    Keeps project decisions, research and verified results available across coding-agent sessions through LWC memory, a document Wiki graph and a CodeGraph code index.

    47k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Find Complementary Founders

    sickn33/agentic-awesome-skills

    Guides an agent through assessing its own owner for cofounder fit, publishing an approved profile, and ranking complementary profiles other agents published for their owners.

    47k GitHub starsUsed in 1 repo~4.8k tokens
    Auto-check passed
  • Whatsapp Cloud API

    sickn33/agentic-awesome-skills

    Integracao com WhatsApp Business Cloud API (Meta). An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~4.5k tokens
    Auto-check passed
  • Cline Pilot

    sickn33/agentic-awesome-skills

    Acts as a proxy for the Cline CLI, dispatching coding tasks one at a time, monitoring runs by hard evidence, relaying decisions to you and learning per-project preferences.

    47k GitHub starsUsed in 1 repo~4.6k tokens
    Auto-check passed

Questions about Compile Knowledge

What does Compile Knowledge do?

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…. Compile Knowledge is an agent skill from sickn33/agentic-awesome-skills. 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.

How do I install Compile Knowledge in Claude Code?

Run `npx skills add sickn33/agentic-awesome-skills --skill compile-knowledge -a claude-code`. Or copy the skill folder (skills/compile-knowledge in sickn33/agentic-awesome-skills) into .claude/skills/compile-knowledge in your project. Claude Code loads it when a task matches its description.

How do I install Compile Knowledge in Codex?

Run `npx skills add sickn33/agentic-awesome-skills --skill compile-knowledge -a codex`. Or copy the skill folder (skills/compile-knowledge in sickn33/agentic-awesome-skills) into .agents/skills/compile-knowledge in your project. Codex loads it when a task matches its description.

Can I use Compile Knowledge in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sickn33/agentic-awesome-skills --skill compile-knowledge -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compile-knowledge, .gemini/skills/compile-knowledge, .github/skills/compile-knowledge and .opencode/skills/compile-knowledge in your project.

What does Compile Knowledge need to run?

SKILL.md names no scripts, command-line tools or credentials: Compile Knowledge is instructions for the agent only.

Does Compile Knowledge access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Compile Knowledge safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Compile Knowledge use?

Compile Knowledge is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Compile Knowledge use?

About 2.3k tokens (SKILL.md is roughly 9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Compile Knowledge?

Skills that share tags, products or a category with Compile Knowledge: Fd Find (penpot/penpot, 61k stars), Compiler (atopile/atopile, 4k stars), Find In Notion (superset-sh/superset, 15k stars) and Find In Superhuman (superset-sh/superset, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compile Knowledge?

sickn33 (a GitHub user) maintains it in sickn33/agentic-awesome-skills, which has 47,304 GitHub stars. The repository holds 1,394 skills in this directory. The repository was last updated on October 6, 2026.

Source: sickn33/agentic-awesome-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.