From crabshell
Create and manage project-specific knowledge pages in .crabshell/knowledge/. Stores verified facts and operational tips discovered through project work. Invoke with /knowledge 'title' to create, or /knowledge K001 to view.
How this skill is triggered — by the user, by Claude, or both
Slash command
/crabshell:knowledgeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Store and retrieve verified facts and operational tips discovered through project work. Knowledge pages (K-pages) capture "what we learned" in a retrievable format distinct from CLAUDE.md rules (which are behavioral countermeasures) and D/P/T/I documents (which track work in progress).
Store and retrieve verified facts and operational tips discovered through project work. Knowledge pages (K-pages) capture "what we learned" in a retrievable format distinct from CLAUDE.md rules (which are behavioral countermeasures) and D/P/T/I documents (which track work in progress).
Before creating a K-page, check if the "What" content overlaps with CLAUDE.md RULES keywords: scope, verification, understanding, concise, sycophancy, pressure, guard, hook, bailout, prohibited.
If overlap found, warn:
"This sounds like a behavioral rule. Rules belong in CLAUDE.md, not knowledge/."
Ask user to confirm before proceeding. Facts about how tools behave (e.g., "Bash rm triggers permission prompts for .claude/ paths") belong in knowledge/. Rules about how Claude must behave belong in CLAUDE.md.
/knowledge "title"Check if .crabshell/knowledge/ exists. If not, create it.
Check if .crabshell/knowledge/INDEX.md exists. If not, create it with header:
# Knowledge Index
| ID | Title | Cat | Tags | Source |
|----|-------|-----|------|--------|
Scan .crabshell/knowledge/K*.md filenames. Find the highest existing number. Next ID = that number + 1, zero-padded to 3 digits. If no K-pages exist, start at K001.
Ask the user for the following (or infer from context if the invocation includes enough detail):
fact (a verified observation about how something behaves) or tip (an operational best practice)I047, lesson, observation)[cli, bash, permissions])Write .crabshell/knowledge/{K-ID}-{slug}.md where slug is lowercase-hyphenated title:
---
type: knowledge
id: {K-ID}
category: fact | tip
title: "{title}"
source: {source}
created: {YYYY-MM-DD}
tags: [{tag1}, {tag2}]
---
# {K-ID} - {title}
## What
{1-3 sentences: the fact or tip, concrete and specific}
## When
{when this knowledge is relevant to apply or recall}
Append a new row to .crabshell/knowledge/INDEX.md:
| {K-ID} | {title} | {cat} | {tags} | {source} |
/knowledge K001Read .crabshell/knowledge/K{NNN}-*.md matching the given ID. Display full content.
If the ID does not exist, list all available K-page IDs from INDEX.md.
.crabshell/ (gitignored, local only)..crabshell/knowledge/ — K-pages are searchable via /crabshell:search-docs.Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub zipperbagcoffee/crabshell --plugin crabshell