Skip to content
alyn
sanjay3290

Outline skill

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).

$npx skills add sanjay3290/ai-skills --skill outline
View this skill on GitHubsanjay3290/ai-skills/skills/outline/SKILL.md
Pack stars
454
Pack installs
10k
Alyn Score
56/99
Updated
8 days ago
License
Apache-2.0
– views – installs via Alyn

sanjay3290

Outline

Install Outline

Pick your agent. Every command is ready to paste.

$npx skills add sanjay3290/ai-skills --skill outline

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads outline when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the outline skill”. In Codex, type $outline.

The skill itself

SKILL.md

FolderGitHub

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:

    cp .env.example .env
    # Edit .env with your API key
    
  3. Set the environment variables:

    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

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

python3 scripts/outline.py read <document-id>
python3 scripts/outline.py read <document-id> --json

List collections

python3 scripts/outline.py list-collections
python3 scripts/outline.py list-collections --limit 50

List documents in a collection

python3 scripts/outline.py list-documents --collection-id <id>

Get collection details

python3 scripts/outline.py get-collection <collection-id>

Create a document

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

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

python3 scripts/outline.py export <document-id>
python3 scripts/outline.py export <document-id> --output doc.md

Test authentication

python3 scripts/outline.py auth-info

JSON Output

Add --json flag to any command for machine-readable output:

python3 scripts/outline.py search "query" --json
python3 scripts/outline.py read <id> --json

Operations Reference

Command Description Required Args
search Full-text search query
read Get document content document_id
list-collections List all collections -
list-documents List docs (optionally in collection) -
get-collection Get collection details collection_id
create Create new document --title, --collection-id
update Update existing document document_id
export Export as markdown document_id
auth-info Test API connection -

Environment Variables

Variable Required Default Description
OUTLINE_API_KEY Yes - Your Outline API token
OUTLINE_API_URL No https://app.getoutline.com/api API URL
OUTLINE_TIMEOUT No 30 Request timeout (seconds)
OUTLINE_VERIFY_SSL No true Set to false to skip SSL verification (for self-hosted instances with self-signed certs)

Troubleshooting

Error Solution
API key not configured Set OUTLINE_API_KEY environment variable
Authentication failed Verify API key is valid and not expired
Connection timeout Check OUTLINE_API_URL and network connectivity
SSL certificate error Set OUTLINE_VERIFY_SSL=false for self-signed certs
Document not found Verify document ID is correct
Permission denied Check API token has required permissions

Exit Codes

  • 0: Success
  • 1: Error (auth failed, not found, invalid request)

Workflow

  1. Run auth-info to verify connection
  2. Run list-collections to see available collections
  3. Run search or list-documents to find content
  4. Run read to get full document content
  5. Use create/update to modify wiki content

Tips for Outline

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It is part of a pack with 25 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Outline

What does the Outline skill do?

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).

How do I install Outline?

Run "npx skills add sanjay3290/ai-skills --skill outline" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Outline work in Cursor and Codex?

Yes. Outline uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Outline free?

Outline is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Outline?

Outline is published by sanjay3290 in the sanjay3290/ai-skills repository, together with 24 other skills.

Similar skills. From other creators.