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;…
Processes external resources into stored knowledge with quality scoring and routing. Use when ingesting articles, papers, or docs into a memory palace.
Claude Code
$ npx -y skills add athola/claude-night-market --skill knowledge-intake --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill knowledge-intake -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill knowledge-intake -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill knowledge-intake -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill knowledge-intake -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill knowledge-intake -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill knowledge-intake -a windsurf -y
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 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:
Use `Agent(scribe:doc-verifier)` to validate:
# Quick validation for knowledge corpus entry /slop-scan docs/knowledge-corpus/[entry-name].md # Doc verification is now agent-only: Agent(scribe:doc-verifier) "Verify docs/knowledge-corpus/[entry-name].md"
**DO NOT finalize entries with slop score > 2.5** - rewrite with concrete specifics.
When the evaluation score is 80-100 (evergreen), you MUST execute the Discussion promotion workflow. If the score is below 80, skip this step entirely.
**Execute these steps in order:**
1. Read `modules/discussion-promotion.md` for the full GraphQL workflow 2. Tell the user: "This entry has reached evergreen maturity. Publishing to GitHub Discussions. [Y/n]" 3. If the user says "n", skip to Step 8 (APPLY) 4. Run the `gh api graphql` commands from the module to create or update a Discussion in the "Knowledge" category 5. Update the local corpus entry with `discussion_url`
update the existing Discussion instead of creating a new one
the user and continue to Step 8 (APPLY)
Publishing is the default for qualifying entries. It never blocks the intake workflow.
| Criterion | Weight | Questions | |-----------|--------|-----------| | **Novelty** | 25% | Does this introduce new patterns or concepts? | | **Applicability** | 30% | Can we apply this to current work? | | **Durability** | 20% | Will this remain relevant in 6+ months? | | **Connectivity** | 15% | Does it connect to multiple existing concepts? | | **Authority** | 10% | Is the source credible and well-reasoned? |
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;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.