Skip to main content

A Python client and CLI for Outline knowledge bases

Project description

Outline Skills

AI agent skill for interacting with Outline knowledge bases. Enables your AI assistant to manage documents, collections, search content, and handle team collaboration workflows.

Features

  • Full Outline API coverage: documents, collections, search, users, groups, comments, attachments, shares, stars, revisions, events, views, and file operations
  • Membership and permission workflows for documents, collections, and groups
  • Markdown comment creation with rich-text rendering and automatic long-reply splitting for Outline comments
  • Works with Claude Code, Codex, Cursor, Windsurf, and other AI agents
  • Cross-platform: Windows, Linux, and macOS

Installation

Claude Code

/plugin marketplace add visualdust/outline-skills
/plugin install outline-skills

Other AI Agents

Using vercel-labs/skills:

npx skills add visualdust/outline-skills -a codex    # Codex
npx skills add visualdust/outline-skills -a cursor   # Cursor
npx skills add visualdust/outline-skills -a windsurf # Windsurf

Prerequisites

Install the CLI tool (required by the skill):

pip install outline-kb-cli

Quick Start

1. Get Your API Key

Create an API key in your Outline workspace settings:

Create API key in Outline

2. Configure Authentication

Set environment variables:

export OUTLINE_API_KEY="ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export OUTLINE_BASE_URL="https://app.getoutline.com/api"  # Must include /api suffix

Or create .outline-skills/config.json:

{
  "api_key": "ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "base_url": "https://app.getoutline.com/api"
}

3. Use with Your AI Agent

Once installed, your AI agent can interact with Outline:

Search Outline for onboarding documentation
Create a new document in the Engineering collection
List all collections in my workspace
Add a comment to the API documentation

The agent will automatically use the configured credentials to perform these operations.

Documentation

Standalone CLI Usage

While this repo is designed for AI agent integration, the underlying outline-kb-cli package can also be used as a standalone CLI tool. See skills/outline-skills/SKILL.md for detailed command reference.

Development

Project Structure

outline-skills/
├── outline_cli/             # Python CLI package
│   ├── cli.py               # CLI implementation
│   ├── client.py            # Outline API client
│   └── config.py            # Configuration loading
├── skills/outline-skills/   # Agent skill documentation
├── .claude-plugin/          # Plugin manifest
│   ├── plugin.json
│   └── marketplace.json
├── tests/                   # Test suite
└── docs/                    # Documentation assets

Testing

python -m ruff check .
python -m mypy outline_cli
python -m pytest

Security Note

Keep your Outline API key secure:

  • Never commit API keys to version control
  • Use environment variables or gitignored config files
  • Rotate keys regularly if exposed

License

MIT License - see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

outline_kb_cli-0.1.3.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outline_kb_cli-0.1.3-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file outline_kb_cli-0.1.3.tar.gz.

File metadata

  • Download URL: outline_kb_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 30.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for outline_kb_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 fcfd95b2d6f8ac176968f6b4681990d49c3413d0a333c90303681bfccf27fae1
MD5 aa84f9a308605c148bbf20b5a5822b90
BLAKE2b-256 8d864927020897b33145cc0eb187102f4ef44eb18a6f74a2aba857cb0b86e8cf

See more details on using hashes here.

File details

Details for the file outline_kb_cli-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: outline_kb_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for outline_kb_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7f1e0696c2ab1124ee79b9429b07b7c9f92212b20b328b305e97d82b1a4baad
MD5 6c3d400d39f355b94ba9e2b6d6931164
BLAKE2b-256 718d46db1baa4644e6aa0cc7d56f8be93de57942efa5678d29192086b825cb65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page