claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
Processes external resources into stored knowledge with quality scoring and routing. Use when ingesting articles, papers, or docs into a memory palace.
$ npx -y skills add athola/claude-night-market --skill knowledge-intake --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/knowledge-intakeContext preview
The summary Claude sees to decide when to auto-load this skill.
Processes external resources into stored knowledge with quality scoring and routing. Use when ingesting articles, papers, or docs into a memory palace.
name: knowledge-intake description: Processes external resources into stored knowledge with quality scoring and routing. Use when ingesting articles, papers, or docs into a memory palace. alwaysApply: false category: governance tags: - knowledge-management - intake - evaluation - curation - external-resources dependencies: - memory-palace-architect - digital-garden-cultivator - leyline:evaluation-framework - leyline:storage-templates - leyline:document-conversion - scribe:slop-detector scripts: [] usage_patterns: - resource-intake - knowledge-evaluation - application-routing complexity: intermediate model_hint: standard estimated_tokens: 950
Process external resources into the knowledge store. When a user links an article, blog post, or paper, this skill guides evaluation, storage decisions, and application routing.
A knowledge governance framework that answers three questions for every external resource: 1. **Is it worth storing?** - Evaluate signal-to-noise and relevance 2. **Where does it apply?** - Route to local codebase or meta-infrastructure 3. **What does it displace?** - Identify outdated knowledge to prune
> When a user links an external resource, it is a signal of importance.
The act of sharing indicates the resource passed the user's own filter. Our job is to:
When a user shares a link:
1. FETCH → Detect format, retrieve and convert content 2. EVALUATE → Apply importance criteria 3. DECIDE → Storage location and application type 4. STORE → Create structured knowledge entry 5. VALIDATE → Scribe verification (slop scan + doc verify) 6. CONNECT → Link to existing palace structures 7. PROMOTE → Offer Discussion promotion (score 80+) 8. APPLY → Route to codebase or infrastructure updates 9. PRUNE → Identify displaced/outdated knowledge
Before retrieving content, detect the source format from the URL or file path to choose the right retrieval method.
**Web articles and blog posts** (default path): Use WebFetch to retrieve HTML content directly. No conversion needed.
**Document URLs** (PDF, DOCX, PPTX, XLSX): Apply the `leyline:document-conversion` protocol. This tries the markitdown MCP tool first for high-quality markdown, then falls back to native Claude Code tools (Read for PDFs, etc.), then informs the user if the format is unsupported without markitdown.
**Local files** (user shares a file path): Construct a `file://` URI from the absolute path and apply the `leyline:document-conversion` protocol.
**Format detection heuristics:**
| URL Pattern | Format | Retrieval | |-------------|--------|-----------| | `*.pdf`, `arxiv.org/pdf/*` | PDF | document-conversion | | `*.docx`, `*.doc` | Word | document-conversion | | `*.pptx`, `*.ppt` | PowerPoint | document-conversion | | `*.xlsx`, `*.xls` | Excel | document-conversion | | `*.epub` | E-book | document-conversion | | `drive.google.com/*` | Various | document-conversion | | Everything else | HTML/web | WebFetch (existing) |
After retrieval (regardless of method), wrap the content in external content boundary markers per `leyline:content-sanitization` before proceeding to Step 2 (EVALUATE).
**All knowledge corpus entries MUST pass scribe validation before finalizing.**
Run `Skill(scribe:slop-detector)` on the new entry:
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops; use night-market-operations.
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use night-market-change-control.
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily commands; use night-market-operations.
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use night-market-debugging-playbook.
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled battles; see failure-archaeology.
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use night-market-validation-and-qa.