craft-docs
About
This skill enables Claude to create and manage documents in Craft using Playwright MCP for browser automation. It's ideal for developers who want to automate document creation, organization, and collaboration directly from their IDE. Key features include block-based editing and secure authentication via manual browser login or environment variables.
Quick Install
Claude Code
Recommended/plugin add https://github.com/majiayu000/claude-skill-registrygit clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/craft-docsCopy and paste this command in Claude Code to install this skill
Documentation
Craft Docs Skill
Overview
Claude can manage your Craft documents to create beautiful documents, organize content, and collaborate with others. A native document editor with powerful block-based editing.
Quick Install
curl -sSL https://canifi.com/skills/craft-docs/install.sh | bash
Or manually:
cp -r skills/craft-docs ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set CRAFT_EMAIL "your-email@example.com"
Privacy & Authentication
Your credentials, your choice. Canifi LifeOS respects your privacy.
Option 1: Manual Browser Login (Recommended)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
Option 2: Environment Variables
If you're comfortable sharing credentials, you can store them locally:
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
Capabilities
- Create and edit documents
- Organize with folders and spaces
- Apply block styling
- Add images and media
- Create links between documents
- Share and collaborate
- Export in multiple formats
- Use templates
- Create tables and cards
- Toggle blocks for organization
- Add code blocks
- Create backlinks
Usage Examples
Example 1: Create Document
User: "Create a new Craft doc for meeting notes"
Claude: Creates document "Meeting Notes" with date.
Confirms: "Document created in default space"
Example 2: Organize Content
User: "Move my project docs to the Work folder"
Claude: Finds project documents, moves to Work folder.
Confirms: "Moved 6 documents to Work folder"
Example 3: Share Document
User: "Share the proposal document with the team"
Claude: Opens sharing settings, generates share link.
Returns: "Share link created: [link]"
Example 4: Search Docs
User: "Find my docs about the marketing campaign"
Claude: Searches for "marketing campaign".
Reports: "Found 3 documents: Campaign Strategy, Q4 Plan..."
Authentication Flow
- Claude navigates to craft.do via Playwright MCP
- Enters CRAFT_EMAIL for authentication
- Handles 2FA if required (notifies user via iMessage)
- Maintains session for document operations
Selectors Reference
// Document list
'.documents-list'
// Document item
'.document-item'
// Editor
'.craft-editor'
// Block
'.block-container'
// Title
'.document-title'
// Folder sidebar
'.folders-sidebar'
// New document
'.new-document-button'
// Share button
'.share-button'
// Export menu
'.export-menu'
// Search
'.search-input'
Error Handling
- Login Failed: Retry 3 times, notify user via iMessage
- Session Expired: Re-authenticate automatically
- Document Not Found: Search with variations, ask user
- Share Failed: Check permissions, retry
- Export Failed: Try alternative format
- Sync Failed: Wait and retry
Self-Improvement Instructions
When you learn a better way to accomplish a task with Craft:
- Document the improvement in your response
- Suggest updating this skill file with the new approach
- Include specific document organization strategies
- Note useful block types
Notes
- Native Apple experience
- Block-based editing
- Beautiful typography
- Markdown import/export
- Real-time collaboration
- Offline support
- Backlinks for connections
- Spaces for organization
- Web version available
GitHub Repository
Related Skills
content-collections
MetaThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
sglang
MetaSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
evaluating-llms-harness
TestingThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
langchain
MetaLangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.
