.claude/skills/doc/SKILL.md
Process a document from Raw-Materials/Docs queue
npx skillsauth add dcurlewis/ai-context-system .claude/skills/docInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Process documents from the queue:
Raw-Materials/Docs/When the source file is a PDF, use both text extraction and page-image rendering to ensure diagrams, charts, tables, and visual layout are captured alongside the text content.
Steps:
/tmp/ai-context-pdf-pages/pdftoppm -png -r 200 "<source>.pdf" /tmp/ai-context-pdf-pages/page (poppler-utils)pymupdf (fitz) if pdftoppm is unavailable:
import fitz
doc = fitz.open("<source>.pdf")
for i, page in enumerate(doc):
pix = page.get_pixmap(dpi=200)
pix.save(f"/tmp/ai-context-pdf-pages/page-{i+1}.png")
/tmp/ai-context-pdf-pages/ after processing is complete.Install dependency if needed: pip install pymupdf or brew install poppler (for pdftoppm).
Before summarising, scan recent documents and meeting summaries from past 2 weeks in Curated-Context/ for:
Apply Obsidian wikilinks to the output file per Guidelines/wikilink-guidelines.md.
After writing the summary, update entity stubs for any new facts discovered in the document (per Guidelines/wikilink-guidelines.md § Stub Creation Rules, rule 6):
Use the document's date for timeline entries. Only update for confirmed facts, not proposals or speculation.
Create summary file using naming format [YYYYMMDD]-Document-Title.md. Route to the appropriate directory based on content type:
| Content type | Directory | Examples |
|---|---|---|
| Time-bound: decisions, project docs, strategic docs | Insights/YYYYMM/ | Strategy reviews, planning docs, proposals |
| Evergreen: reference material, technical docs | Knowledge/YYYYMM/ | Architecture docs, team knowledge, org context |
| Career/performance content | Growth/YYYYMM/ | Feedback, development plans, review materials |
Extract year and month from the document date for the YYYYMM/ path; create the subdirectory if it does not exist. Include YAML frontmatter with authorship: ai (see Guidelines/wikilink-guidelines.md § Authorship).
Archive the processed document: move from Raw-Materials/Docs/ to Archive/Raw-Materials/Docs/
Inform the user to run the command again if there are more files to process
development
Add article/book to Professional Philosophies library
business
Process a Slack export from Raw-Materials/Slack queue
tools
Fetch Slack messages via MCP tools and write raw exports for /slack processing
data-ai
Interactive end-of-day reflection; surfaces carryover items for next /morning; appends to daily journal