/phase4-queue
Check the memory-palace research queue for items needing evaluation.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/phase4-queue
Context preview
What this command does when you run it.
Check the memory-palace research queue for items needing evaluation.
Command definition
phase4-queue.mdPhase 4: Knowledge Queue Promotion Check
Check the memory-palace research queue for items needing evaluation.
Step 1: Scan Queue for Pending Items
ls -lt plugins/memory-palace/docs/knowledge-corpus/queue/*.md 2>/dev/null | head -20
Check for:
- `webfetch-*.md` - Auto-captured web content
- `websearch-*.md` - Auto-captured search results
- Any file with `status: pending_review` in frontmatter
Step 2: Report Queue Status
Display pending items using this format:
## Knowledge Queue Status
### Pending Review (X items)
| File | Age | Topic | Priority |
|------|-----|-------|----------|
| webfetch-article-name-2026-01-15.md | 2 days | "Article Title" | medium |
| websearch-query-2026-01-10.md | 7 days | "Search Query" | medium |
### Action Required
- [ ] 3 items older than 7 days - review or archive
- [ ] 1 high-priority item awaiting decision
Step 3: Prompt for Evaluation
For each pending item older than 3 days:
1. Display summary (topic, source, content preview) 2. Request decision:
- Promote: Move to `knowledge-corpus/` (outside queue),
update index
- Archive: Move to `queue/archive/` with rejection
rationale
- Defer: Keep in queue, optionally adjust priority
3. Execute decision (move file, update frontmatter)
Example evaluation prompt:
Queue Item: webfetch-claude-plugins-guide-2026-01-10.md (7 days old)
Topic: "Claude Code Plugin Development Guide"
Source: https://docs.anthropic.com/plugins/guide
Content: 2,340 chars
Decision options:
[P]romote to knowledge-corpus/
[A]rchive (not valuable)
[D]efer (review later)
[S]kip (next item)
Step 4: Execute Promotions
For items marked for promotion:
# 1. Move from queue to corpus
mv plugins/memory-palace/docs/knowledge-corpus/queue/webfetch-*.md \
plugins/memory-palace/docs/knowledge-corpus/
# 2. Update frontmatter status
# Change: status: pending_review -> status: processed
# 3. Rename to permanent filename (remove webfetch- prefix, timestamp)
# webfetch-article-name-2026-01-15.md -> article-name.md
Step 5: Track Decisions
Create TodoWrite items for each promotion decision:
queue-review:promoted:<filename>
queue-review:archived:<filename>
queue-review:deferred:<filename>
To skip queue check: use `--skip-queue` flag.
Read more
Phase 4: Knowledge Queue Promotion Check
Check the memory-palace research queue for items needing evaluation.
Step 1: Scan Queue for Pending Items
ls -lt plugins/memory-palace/docs/knowledge-corpus/queue/*.md 2>/dev/null | head -20
Check for:
- `webfetch-*.md` - Auto-captured web content
- `websearch-*.md` - Auto-captured search results
- Any file with `status: pending_review` in frontmatter
Step 2: Report Queue Status
Display pending items using this format:
## Knowledge Queue Status ### Pending Review (X items) | File | Age | Topic | Priority | |------|-----|-------|----------| | webfetch-article-name-2026-01-15.md | 2 days | "Article Title" | medium | | websearch-query-2026-01-10.md | 7 days | "Search Query" | medium | ### Action Required - [ ] 3 items older than 7 days - review or archive - [ ] 1 high-priority item awaiting decision
Step 3: Prompt for Evaluation
For each pending item older than 3 days:
1. Display summary (topic, source, content preview) 2. Request decision:
- Promote: Move to `knowledge-corpus/` (outside queue),
update index
- Archive: Move to `queue/archive/` with rejection
rationale
- Defer: Keep in queue, optionally adjust priority
3. Execute decision (move file, update frontmatter)
Example evaluation prompt:
Queue Item: webfetch-claude-plugins-guide-2026-01-10.md (7 days old) Topic: "Claude Code Plugin Development Guide" Source: https://docs.anthropic.com/plugins/guide Content: 2,340 chars Decision options: [P]romote to knowledge-corpus/ [A]rchive (not valuable) [D]efer (review later) [S]kip (next item)
Step 4: Execute Promotions
For items marked for promotion:
# 1. Move from queue to corpus mv plugins/memory-palace/docs/knowledge-corpus/queue/webfetch-*.md \ plugins/memory-palace/docs/knowledge-corpus/ # 2. Update frontmatter status # Change: status: pending_review -> status: processed # 3. Rename to permanent filename (remove webfetch- prefix, timestamp) # webfetch-article-name-2026-01-15.md -> article-name.md
Step 5: Track Decisions
Create TodoWrite items for each promotion decision:
queue-review:promoted:<filename> queue-review:archived:<filename> queue-review:deferred:<filename>
To skip queue check: use `--skip-queue` flag.
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.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

