slipbox-integration
Skill1 starsChanged 13 months agoApache-2.0View on GitHub
PROACTIVELY identify and link relevant slipbox notes into narrative project structural documents. Use automatically when working on narrative projects to surface relevant research and arguments. Maintains project-specific tracking of which slipnotes are integrated where.
In this repository23 other files it gives its agents.
- app-runnerSkill
- delegateSkill
- env-managerSkill
- lexical-recall-guardSkill
- narrative-inventorySkill
- narrative-keywordsSkill
- narrative-mapsSkill
- obsidian-apiSkill
- obsidianSkill
- project-indexerSkill
- skill-api-conversionSkill
- skill-creatorSkill
- skill-distillSkill
- story-structure-22-step-apiSkill
- story-structure-22-step-distilledSkill
- story-structure-22-stepSkill
- story-structure-7-stepsSkill
- story-structure-crime-distilledSkill
- story-structure-crimeSkill
- story-structure-myth-distilledSkill
- story-structure-mythSkill
- symbol-webSkill
- webapp-testingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
47 rules. About 0 are common, 42 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈42
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Use this skill AUTOMATICALLY when:
- Distinctive: line 27
User mentions themes/concepts: - When discussion touches on topics that likely have slipbox coverage
- Distinctive: line 28
Beginning work sessions: - Check for newly relevant notes since last session
- Distinctive: line 29
After slipbox updates: - When new notes added that might be relevant to active project
- Distinctive: line 33
Do NOT use when:
- Distinctive: line 61
Search for relevant notes by keyword/argument
- Distinctive: line 62
Verify note IDs actually exist
- Distinctive: line 63
Only then suggest linking
- Distinctive: line 71
When notes were integrated
- Very specific: line 82
Check $SLIPBOX_DIR environment variable is set
- Very specific: line 83
Verify SLIPBOX-INDEX.md exists at $SLIPBOX_DIR/SLIPBOX-INDEX.md
- Very specific: line 84
If missing: inform user to set SLIPBOX_DIR or generate index
- Distinctive: line 87
Read PROJECT-INDEX.md to understand project organization
- Distinctive: line 89
Look for existing slipnote integration tracking file
- Very specific: line 92
If doesn't exist: create SLIPNOTE-INTEGRATION.md in project root
- Distinctive: line 138
Search keyword mapping for relevant terms:
- Distinctive: line 143
Check hierarchical note map for related argument threads
- Distinctive: line 153
NEVER suggest notes not in the index
- Distinctive: line 154
If uncertain, err on side of not suggesting
- Distinctive: line 162
Look for existing research sections, argument lists, outline points
- Distinctive: line 165
Don't just list notes - explain WHY each is relevant
- Distinctive: line 190
Read current document, add wikilinks, write back
- Very specific: line 191
Use proper Obsidian wikilink format: [[ID Title]]
- Distinctive: line 192
Place in contextually appropriate locations
- Distinctive: line 193
Add brief inline explanation if needed
- Distinctive: line 202
Add note to "Notes by Project Location" section
- Distinctive: line 203
Add note to "Notes by Slipbox Category" section
- Distinctive: line 208
Add section "Slipnote Integration" if not present
- Distinctive: line 217
Check SLIPBOX-INDEX.md modification date
- Distinctive: line 218
If updated since last check, scan for newly relevant notes
- Distinctive: line 224
Do NOT invent placeholder slipnotes
- Distinctive: line 227
When project documents change, verify slipnote links still relevant
- Distinctive: line 228
Remove links that no longer fit
- Distinctive: line 229
Update tracking document to reflect current state
- Distinctive: line 243
Check SLIPBOX-INDEX.md for exact ID and title
- Distinctive: line 244
Only if found → suggest for integration
- Distinctive: line 245
If not found → mark as research gap, do NOT invent
- Distinctive: line 290
When they were added
- Distinctive: line 300
If user rejects a suggestion:
- Distinctive: line 301
Don't suggest that same note again for same context
- Distinctive: line 311
When user has chapter structure document with beats/sections:
- Distinctive: line 315
Add wikilinks in relevant sections with explanations
- Distinctive: line 333
When user develops argument that has slipbox precedent:
- Distinctive: line 336
Search slipbox for related argument threads
- Distinctive: line 354
When user needs concept/argument without slipbox coverage:
- Distinctive: line 358
Do NOT create placeholder slipnote
- Distinctive: line 451
Should I add these to the chapter structure?"
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Slipbox Integration Skill
Purpose
Automatically identify relevant slipbox notes and integrate them into narrative project structural documents. This skill bridges the slipbox (research repository) and active writing projects, ensuring relevant research surfaces at the right moments without manual searching.
Skill Composition
This skill is a STRATEGY skill that composes with the obsidian skill:
slipbox-integrationprovides: Strategy, guidance, rules for WHAT to integrate and WHEREobsidianprovides: File operations, search, read/write capabilities for HOW to access files
Composability principle: This skill does NOT duplicate vault operations. It delegates all file I/O to the obsidian skill and focuses on integration logic.
When to Use This Skill
Use this skill AUTOMATICALLY when:
- Working on narrative projects - Any project involving writing, research, or argument development
- Creating/editing structural documents - Outlines, plans, chapter structures, section frameworks
- User mentions themes/concepts - When discussion touches on topics that likely have slipbox coverage
- Beginning work sessions - Check for newly relevant notes since last session
- After slipbox updates - When new notes added that might be relevant to active project
When NOT to Use This Skill
Do NOT use when:
- Working on programming/technical projects (slipbox is for narrative/research)
- Editing final prose/narrative drafts (links go in structure, not prose)
- User explicitly requests not to use slipbox
- SLIPBOX-INDEX.md doesn't exist or is inaccessible
Core Principles
1. Link into Structure, Not Prose
CORRECT LOCATIONS for slipnote links:
- Project plans and outlines
- Chapter structure documents
- Section frameworks
- Research notes and planning docs
- Integration tracking documents
WRONG LOCATIONS for slipnote links:
- Final narrative prose drafts
- Published/publishable text
- Reader-facing content
2. Index Before Claiming
NEVER claim a slipnote exists without verifying in SLIPBOX-INDEX.md. The previous failure (falsely claiming notes existed) MUST NOT be repeated.
Workflow:
- Read SLIPBOX-INDEX.md
- Search for relevant notes by keyword/argument
- Verify note IDs actually exist
- Only then suggest linking
3. Track Integration
Maintain project-specific tracking of:
- Which slipnotes are linked into this project
- Where each note is linked (which files)
- Why each note is relevant (the connection)
- When notes were integrated
Operational Workflow
Phase 1: Initialization
On first use in a project:
- Verify slipbox access
- Check
$SLIPBOX_DIRenvironment variable is set - Verify SLIPBOX-INDEX.md exists at
$SLIPBOX_DIR/SLIPBOX-INDEX.md - If missing: inform user to set SLIPBOX_DIR or generate index
- Check
- Check project structure
- Read PROJECT-INDEX.md to understand project organization
- Identify structural documents (plans, outlines, chapter structures)
- Look for existing slipnote integration tracking file
- Create integration tracking document
- If doesn't exist: create
SLIPNOTE-INTEGRATION.mdin project root - Structure:
# Slipnote Integration Tracking **Project:** [Name] **Last Updated:** [Date] ## Integrated Notes Summary - Total notes linked: X - Categories represented: [list] - Most used: [top 3-5 notes] ## Notes by Project Location ### [Document Name] - [[ID Title]] - Why relevant: [explanation] - [[ID Title]] - Why relevant: [explanation] ### [Another Document] - [[ID Title]] - Why relevant: [explanation] ## Notes by Slipbox Category ### 1000 ➥ Existence, Knowledge & Belief - [[ID Title]] → Used in: [document], [document] ### 2000 ➥ Language, Narrative, Story & Myth - [[ID Title]] → Used in: [document]
- If doesn't exist: create
Phase 2: Relevance Analysis
When user is working on content:
- Identify current context
- What document are they editing/creating?
- What themes/concepts are being discussed?
- What arguments are being developed?
- Query slipbox index (using
obsidianskill)- Read SLIPBOX-INDEX.md:
# Via obsidian skill python ~/.claude/skills/obsidian/scripts/read_note.py "$SLIPBOX_DIR/SLIPBOX-INDEX.md" - Search keyword mapping for relevant terms:
# Via obsidian skill python ~/.claude/skills/obsidian/scripts/search_vault.py "keyword" --path "$SLIPBOX_DIR" - Check hierarchical note map for related argument threads
- Identify 3-10 potentially relevant notes
- Read SLIPBOX-INDEX.md:
- Rank by relevance
- High relevance: Directly addresses current argument/theme
- Medium relevance: Provides supporting context or parallel argument
- Low relevance: Tangentially related, might be useful later
- Verify notes exist
- Cross-check all candidate note IDs against inventory
- NEVER suggest notes not in the index
- If uncertain, err on side of not suggesting
Phase 3: Integration Suggestions
Present opportunities proactively:
- Identify insertion points
- Find natural locations in structural documents where notes would fit
- Look for existing research sections, argument lists, outline points
- Suggest with context
- Don't just list notes - explain WHY each is relevant
- Show the argumentative connection
- Example:
For Chapter 7's section on reading transformation, consider: - [[2560.c Writing restructures consciousness]] → Ong's argument about literacy transformation parallels AI-assisted reading transformation you're developing - [[1100.b Extended Mind Thesis]] → Clark's framework provides theoretical grounding for reading-as-cognitive-technology argument
- Offer batch linking
- "I found 5 relevant notes for this chapter structure. Should I add them?"
- Show full list with reasoning
- Let user approve/reject specific notes
Phase 4: Linking and Tracking
When user approves integration:
- Add wikilinks to structural documents (using
obsidianskill)- Read current document, add wikilinks, write back
- Use proper Obsidian wikilink format:
[[ID Title]] - Place in contextually appropriate locations
- Add brief inline explanation if needed
# Via obsidian skill python ~/.claude/skills/obsidian/scripts/read_note.py "structure-doc.md" # ... modify content ... python ~/.claude/skills/obsidian/scripts/write_note.py "structure-doc.md" --content "..." - Update SLIPNOTE-INTEGRATION.md (using
obsidianskill)- Add note to "Notes by Project Location" section
- Add note to "Notes by Slipbox Category" section
- Update summary counts
- Record why note is relevant
- Update PROJECT-INDEX.md (using
obsidianskill)- Add section "Slipnote Integration" if not present
- Track high-level integration stats
- Reference SLIPNOTE-INTEGRATION.md for details
Phase 5: Maintenance
Ongoing responsibilities:
- Monitor for new relevant notes
- Check SLIPBOX-INDEX.md modification date
- If updated since last check, scan for newly relevant notes
- Suggest integration of new notes
- Identify gaps
- Note concepts/arguments in project that lack slipbox coverage
- Mark as
⚠️ NEEDS RESEARCHin project documents - Do NOT invent placeholder slipnotes
- Update integration tracking
- When project documents change, verify slipnote links still relevant
- Remove links that no longer fit
- Update tracking document to reflect current state
Critical Rules
Rule 1: Never Claim False Existence
NEVER suggest or link a slipnote without verifying it exists in SLIPBOX-INDEX.md.
This rule is ABSOLUTE. The previous failure violated this principle and destroyed trust.
Verification workflow:
- Identify candidate note by keyword/concept
- Check SLIPBOX-INDEX.md for exact ID and title
- Only if found → suggest for integration
- If not found → mark as research gap, do NOT invent
Rule 2: Structure Only, Never Prose
ONLY link slipnotes into:
- Outlines
- Plans
- Chapter structure documents
- Research notes
- Integration tracking documents
NEVER link slipnotes into:
- Final narrative prose
- Draft narrative paragraphs
- Reader-facing text
Rule 3: Explain the Connection
NEVER just dump wikilinks. Always explain WHY each note is relevant.
Bad:
Relevant notes:
- [[1100.b Extended Mind]]
- [[2560.c Writing restructures consciousness]]Good:
Relevant notes:
- [[1100.b Extended Mind Thesis]]
→ Provides theoretical foundation for your argument that
AI tools become part of cognitive system
- [[2560.c Writing restructures consciousness]]
→ Ong's historical precedent: writing transformed thought,
just as you argue AI-assisted reading does nowRule 4: Track Everything
ALWAYS maintain SLIPNOTE-INTEGRATION.md showing:
- Which notes are integrated
- Where they're integrated
- Why they're relevant
- When they were added
This tracking serves multiple purposes:
- Prevents duplicate suggestions
- Shows integration coverage
- Aids later review/revision
- Documents research foundation
Rule 5: Respect User Decisions
If user rejects a suggestion:
- Don't suggest that same note again for same context
- Note the rejection in tracking (optional)
- Learn from pattern of acceptances/rejections
Integration Patterns
Pattern 1: Chapter Structure Enrichment
When user has chapter structure document with beats/sections:
- Analyze each beat for themes/arguments
- Find slipnotes matching those themes
- Add wikilinks in relevant sections with explanations
- Update tracking document
Example:
## Beat 3: The Cognitive Transformation
[User's original content...]
**Relevant slipnotes:**
- [[1100.b.a.b More than any technology, writing transforms consciousness]]
→ Historical parallel: Ong on writing's cognitive impact
- [[1100.b.4 Arguments for meaningful transformation?]]
→ Theoretical grounding for transformation claimsPattern 2: Argument Thread Discovery
When user develops argument that has slipbox precedent:
- Identify the argument's core claim
- Search slipbox for related argument threads
- Surface notes that develop/support/challenge that argument
- Show argumentative relationships
Example:
You're arguing that AI serves as "threshold guardian" - testing
readiness for cognitive transformation.
Related argument threads in slipbox:
- [[2610.e Campbell's threshold guardian archetype]]
→ Mythic pattern matches your metaphor
- [[6300.a.4 Key benefit of slipbox is slowing down]]
→ Parallel: gatekeeping as beneficial frictionPattern 3: Research Gap Identification
When user needs concept/argument without slipbox coverage:
- Recognize the gap
- Mark in project document as
⚠️ NEEDS RESEARCH - Do NOT create placeholder slipnote
- Track in integration document's "Research Gaps" section
Example:
## Research Gaps
- **Verification practices in academic writing**: No slipnotes yet
on scholarly verification standards. Need to research for Chapter 8.
- **Community knowledge practices**: Some coverage in 6000 series
but needs expansion for Chapter 11 community section.Environment Requirements
Required:
$SLIPBOX_DIRenvironment variable set to slipbox location$SLIPBOX_DIR/SLIPBOX-INDEX.mdexists and is current- PROJECT-INDEX.md exists in current project
Optional but recommended:
- SLIPNOTE-INTEGRATION.md in project (skill will create if missing)
- Regular updates to SLIPBOX-INDEX.md as slipbox grows
Vault Operations
This skill does NOT perform vault operations directly.
For all file operations (reading, writing, searching), use the obsidian skill:
- Reading SLIPBOX-INDEX.md →
obsidianskill - Searching for keywords →
obsidianskill - Reading slipnotes →
obsidianskill - Writing SLIPNOTE-INTEGRATION.md →
obsidianskill - Updating PROJECT-INDEX.md →
obsidianskill
This skill provides guidance and strategy for integration. The obsidian skill provides the file operations.
Success Criteria
This skill succeeds when:
✅ Relevant slipnotes surface at natural moments during writing ✅ Integration happens proactively, not reactively ✅ All suggested notes actually exist (verified in index) ✅ Links appear only in structural documents, never in prose ✅ Each link has clear explanation of relevance ✅ Integration tracking stays current ✅ Research gaps identified, not papered over with invented notes
This skill fails when:
❌ Suggesting notes that don't exist ❌ Linking into prose/narrative drafts ❌ Dumping links without explanation ❌ Failing to track what's integrated where ❌ Creating placeholder slipnotes to fill gaps ❌ Reactive searching instead of index consultation
Example Session
Context: User is working on Chapter 7 structure document about syntopical reading.
Skill activates:
- Reads PROJECT-INDEX.md → identifies this is narrative project
- Reads current document → sees "syntopical reading" theme
- Reads SLIPBOX-INDEX.md → searches keywords: "reading", "synthesis", "multiple sources"
- Finds candidates:
- 6200 series (reading methods)
- 2560 series (literacy transformation)
- 6300 series (PKM/zettelkasten)
Skill suggests:
"Working on syntopical reading section. Found 4 relevant slipnotes:
High relevance:
- [[6200.b.1 Adler's syntopical reading method]] → Direct precedent for your framework
Medium relevance:
- [[6300.a.b Slip-box as world building]] → Parallel: building understanding from multiple sources
- [[2560.c Writing restructures consciousness]] → Foundation: literacy as cognitive transformation
Should I add these to the chapter structure?"
User approves → Skill:
- Adds wikilinks to appropriate sections in chapter doc
- Updates SLIPNOTE-INTEGRATION.md
- Updates PROJECT-INDEX.md integration stats
Result: Chapter structure now references relevant research, user can click through to read notes, integration is tracked for later review.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

