athola/claude-night-market/knowledge-intake
Claude Code and agent skill by athola/claude-night-market
- community
Checking that the SKILL.md file is still in the repository.
Processes external resources into stored knowledge with quality scoring and routing. Use when ingesting articles, papers, or docs into a memory palace.
Install
npx vskill@latest install athola/claude-night-market/knowledge-intakeSKILL.md
Knowledge Intake
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.
When To Use
- Capturing and organizing knowledge from sessions
- Ingesting information into structured memory palaces
When NOT To Use
- Temporary notes that do not need long-term storage
- Code-only changes without knowledge capture needs
What It Is
A knowledge governance framework that answers three questions for every external resource:
- Is it worth storing? - Evaluate signal-to-noise and relevance
- Where does it apply? - Route to local codebase or meta-infrastructure
- What does it displace? - Identify outdated knowledge to prune
The Intake Signal
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:
- Extract the essential patterns and insights
- Determine appropriate storage location and format
- Connect to existing knowledge structures
- Identify application opportunities
Quick Start
When a user shares a link:
Step 1: FETCH with Format Detection
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/* | 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).
Step 5: Scribe Validation (Required)
All knowledge corpus entries MUST pass scribe validation before finalizing.
Run Skill(scribe:slop-detector) on the new entry:
- Score must be < 2.5 (Clean to Light)
- No Tier 1 markers (delve, tapestry, comprehensive, leveraging, etc.)
- Hedge word density < 15 per 1000 words
Use Agent(scribe:doc-verifier) to validate:
- All file paths and URLs exist
- All cross-references valid
- Source attributions accurate
DO NOT finalize entries with slop score > 2.5 - rewrite with concrete specifics.
Step 7: Discussion Promotion (Score 80+ Only)
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:
- Read
modules/discussion-promotion.mdfor the
full GraphQL workflow
- Tell the user: "This entry has reached evergreen
maturity. Publishing to GitHub Discussions. [Y/n]"
- If the user says "n", skip to Step 8 (APPLY)
- Run the
gh api graphqlcommands from the module
to create or update a Discussion in the "Knowledge" category
- Update the local corpus entry with
discussion_url
- If the entry already has a
discussion_urlfield,
update the existing Discussion instead of creating a new one
- If
ghis unavailable or promotion fails, warn
the user and continue to Step 8 (APPLY)
Publishing is the default for qualifying entries. It never blocks the intake workflow.
Evaluation Framework
Importance Criteria
| 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? |
Scoring Guide
- 80-100: Evergreen knowledge, store prominently, apply immediately
- 60-79: Valuable insight, store in corpus, schedule application
- 40-59: Useful reference, store as seedling, revisit later
- Below 40: Low priority, capture key quote only or skip
Application Routing
Local Codebase Application
Apply when knowledge directly improves current project:
- Bug fix patterns
- Performance optimizations
- Architecture decisions for this codebase
- Tool/library recommendations
Action: Update code, add comments, create ADR
Meta-Infrastructure Application
Apply when knowledge improves our plugin ecosystem:
- Skill design patterns
- Agent behavior improvements
- Workflow optimizations
- Learning/evaluation methods (like Franklin Protocol)
Action: Update skills, create modules, enhance agents
Routing Decision Tree
Storage Locations
| Knowledge Type | Location | Format | |
|---|---|---|---|
| Meta-learning patterns | docs/knowledge-corpus/ | Full memory palace entry | |
| Skill design insights | skills/*/modules/ | Technique module | |
| Tool/library knowledge | docs/references/ | Quick reference | |
| Temporary insights | Digital garden seedling | Lightweight note |
The Tidying Imperative (KonMari-Inspired)
"A cluttered palace is a cluttered mind."
New knowledge often displaces old, but time is not the criterion. Relevance and aspirational alignment are.
The Master Curator
The human in the loop defines what stays. Before major tidying:
- Who are you becoming? - Your aspirations as a developer
- What excites you now? - Genuine enthusiasm, not "should"
- What have you outgrown? - Past interests consciously left behind
The Two Questions
For each piece of knowledge, both must be yes:
- Does it spark joy? - Genuine enthusiasm, not obligation
- Does it serve your aspirations? - Aligned with who you're becoming
Tidying Actions
| Finding | Action | |
|---|---|---|
| Supersedes | Archive old with gratitude, link as context | |
| Contradicts | Evaluate both, keep what sparks joy | |
| No longer aligned | Release with gratitude | |
| Complements | Create bidirectional links |
"I might need this someday" is fear, not joy. Release it.
Marginal Value Filtering and Quality Scoring
Before storing anything, run the marginal value filter: an entry that cannot teach something the corpus does not already teach is skipped. After storage, RL usage signals, quality decay, source lineage and the anchor-question clarity gate keep each entry's score current. The three-step filter, its API, the autonomy levels and the scoring model are in modules/quality-scoring.md.
Workflow Example
User shares: "Check out this article on structured concurrency"
Queue Processing
Research sessions and external content are automatically queued for review in docs/knowledge-corpus/queue/.
Processing Queue Entries
Queue Integration
The research-queue-integration hook automatically queues:
- Brainstorming sessions with 3+ WebSearch calls
- Research-focused sessions with substantial findings
- Manual additions via queue entry creation
Queue entry format: See docs/knowledge-corpus/queue/README.md
Queue Status Workflow
Automation
- Run
uv run python scripts/intake_cli.py --candidate path/to/intake_candidate.json --auto-accept - The CLI runs marginal value filter, creates palace entries (
docs/knowledge-corpus/*.md),
developer drafts (docs/developer-drafts/), and appends audit rows to docs/curation-log.md.
- Use
--output-rootin tests or sandboxes to avoid mutating the main corpus. - Queue Processing: Use
--process-queueflag to review and process queued entries interactively.
Detailed Resources
- Evaluation Rubric: See
modules/evaluation-rubric.md - Storage Patterns: See
modules/storage-patterns.md - KonMari Tidying Philosophy: See
modules/konmari-tidying.md - Tidying Workflows: See
modules/pruning-workflows.md - Discussion Promotion: Invoked in Step 7 (PROMOTE)
for evergreen entries (score 80+). Publishing is the default action. See modules/discussion-promotion.md for full workflow.
- Marginal Value Filter and RL Scoring: See
modules/quality-scoring.md - Hook Integration: See
modules/hook-integration.md
Hook Integration
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/memory-palace/skills/knowledge-intake/SKILL.md
Popularity
- Repository stars
- 330
- Repository forks
- 33
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/athola/claude-night-market/knowledge-intake)