Search, read, and manage Outline wiki documents. Use when: (1) searching wiki for documentation, (2) reading wiki pages or articles, (3) listing wiki collections or documents, (4) creating or updating wiki content, (5) exporting documents as markdown. Works with any Outline wiki instance (self-hosted or cloud).
View on GitHubSelect agents to install to:
npx add-skill https://github.com/sanjay3290/ai-skills/blob/main/skills/outline/SKILL.md -a claude-code --skill outlineInstallation paths:
.claude/skills/outline/# Outline Wiki Skill Search, read, create, and manage documents in any Outline wiki instance. Works with all AI clients supporting the Agent Skills Standard. ## Requirements - Python 3.8+ - Dependencies: `pip install -r requirements.txt` ## Setup 1. Get your API key from your Outline wiki: - Go to **Settings > API Tokens** - Create a new token with appropriate permissions 2. Configure the environment: ```bash cp .env.example .env # Edit .env with your API key ``` 3. Set the environment variables: ```bash export OUTLINE_API_KEY=your-api-key-here # Optional: for self-hosted instances export OUTLINE_API_URL=https://your-wiki.example.com/api ``` ## Usage ### Search documents ```bash python3 scripts/outline.py search "deployment guide" python3 scripts/outline.py search "API documentation" --limit 10 python3 scripts/outline.py search "onboarding" --collection-id <id> ``` ### Read a document ```bash python3 scripts/outline.py read <document-id> python3 scripts/outline.py read <document-id> --json ``` ### List collections ```bash python3 scripts/outline.py list-collections python3 scripts/outline.py list-collections --limit 50 ``` ### List documents in a collection ```bash python3 scripts/outline.py list-documents --collection-id <id> ``` ### Get collection details ```bash python3 scripts/outline.py get-collection <collection-id> ``` ### Create a document ```bash python3 scripts/outline.py create --title "New Guide" --collection-id <id> python3 scripts/outline.py create --title "Guide" --collection-id <id> --text "# Content here" python3 scripts/outline.py create --title "Draft" --collection-id <id> --draft ``` ### Update a document ```bash python3 scripts/outline.py update <document-id> --title "Updated Title" python3 scripts/outline.py update <document-id> --text "New content" python3 scripts/outline.py update <document-id> --publish ``` ### Export document as markdown ```bash python3 scripts/outline.py export <document-id>