A Python client and CLI for Outline knowledge bases
Project description
Outline Skills
Agent skill plus Python CLI for interacting with Outline knowledge bases through the Outline API.
Features
- Cross-agent support for Claude Code, Codex, Cursor, Windsurf, and similar tools
- Standalone CLI published as
outline-kb-cli - Coverage for documents, collections, search, users, groups, comments, attachments, shares, stars, revisions, events, views, and file operations
- Includes membership/permission workflows (document, collection, and group user/group assignments)
- Config via CLI flags, environment variables, or config files
- Works on Windows, Linux, and macOS
Installation
CLI
pip install outline-kb-cli
From source
git clone https://github.com/visualdust/outline-skills.git
cd outline-skills
pip install -e .
Agent skill
- Claude Code:
/plugin marketplace add visualdust/outline-skillsthen/plugin install outline-skills - Other agents:
npx skills add visualdust/outline-skills -a codex -a cursor -a windsurf
Quick Start
Authentication
export OUTLINE_API_KEY="ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export OUTLINE_BASE_URL="https://app.getoutline.com/api" # optional
Or create .outline-skills/config.json:
{
"api_key": "ol_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"base_url": "https://app.getoutline.com/api"
}
Configuration priority:
- CLI flags (
--api-key,--base-url,--timeout) - Environment variables
- Project config (
.outline-skills/config.json) - User config (
~/.outline-skills/config.json)
CLI examples
outline-cli search "API documentation"
outline-cli collections list
outline-cli documents info --id "document-id"
outline-cli documents create --title "My Document" --text "Hello" --collection-id "collection-id"
Aliases:
outline-cli docs/outline-cli doc->outline-cli documentsoutline-cli colls/outline-cli coll->outline-cli collections
AI Agent Usage
Examples:
Use $outline-skills to search Outline for onboarding docs
Create a new Outline document in the Engineering collection
List all collections in my Outline workspace
Documentation
- skills/outline-skills/SKILL.md - complete agent-facing guide
- AGENTS.md - root agent instructions
Development
Project structure
outline-skills/
├── outline_cli/ # Python package
│ ├── cli.py # Unified CLI implementation
│ ├── client.py # Outline API client
│ ├── config.py # Configuration loading
├── skills/outline-skills/ # Skill docs
├── agents/ # Agent-specific metadata
├── tests/ # Test suite
├── AGENTS.md # Root agent instructions
└── README.md # Human-facing overview
Validation
python -m ruff check .
python -m mypy outline_cli
python -m pytest
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.0.tar.gz
(22.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file outline_kb_cli-0.1.0.tar.gz.
File metadata
- Download URL: outline_kb_cli-0.1.0.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c65a6a87db1033ed5d3c468edbb76fed1e0a962872b8bce5486487dba4502cc1
|
|
| MD5 |
d79369274684274ade6ed6b9ad79932c
|
|
| BLAKE2b-256 |
47e3d761c84c4f056ecf5e9c0456c653875c0a73ede1a21f1e0cafa431e92366
|
File details
Details for the file outline_kb_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: outline_kb_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d99f262d16832f112a2fe39ca21f60eb41a37eedfab5a9c8d80f288d6313e70
|
|
| MD5 |
1326c182d7982a76e325f36a2db9d39a
|
|
| BLAKE2b-256 |
b6c2059592e66de023545cf245b095e13f4abb4bea36692047a396e047f06956
|